>> My worry is that your plan doesn't easily allow someone to get all the >> different bits of information from the first list.
Do users really need this information? When editing a PPT file you don't care if you are overriding a master style or not. I think this information is low-level and makes sense only for developers, not for end-users, if only they are familiar with PPT format. Could you provide a use case when such information about could be useful? I mean a case when users wants to see what styles come from the master and what are overridden. >> Plus somewhere else: >> * What text styles does this master define? >> * Set this style on this master Of course there will be MainMaster object to provide such information. There is a master style per each type of text defined in TextHeaderAtom, i.e. to query master style you need to know type of the text: MainMaster master = slide.getMainMaster(); //get default character styles for titles Map props1 = master.getCharacterStyle(TextHeaderAtom.TITLE_TYPE); //get default character styles for body Map props2 = master.getCharacterStyle(TextHeaderAtom.BODY_TYPE); Yegor NB> On Thu, 13 Jul 2006, Yegor Kozlov wrote: >> So, I would like to hear you comments. >>From my perspective, I think we want to offer the following on a block of NB> text: NB> * "How will my text look" (what's the combined styles from the master, and NB> from the text) NB> * What text styles does my text set in addition to the master? NB> * What text styles does the master apply to my text? NB> * Set this style on this text NB> Plus somewhere else: NB> * What text styles does this master define? NB> * Set this style on this master NB> My worry is that your plan doesn't easily allow someone to get all the NB> different bits of information from the first list. NB> How did you anticipate your scheme differentiating master vs non master, NB> and exposing that? NB> Nick NB> --------------------------------------------------------------------- NB> To unsubscribe, e-mail: [EMAIL PROTECTED] NB> Mailing List: http://jakarta.apache.org/site/mail2.html#poi NB> The Apache Jakarta POI Project: http://jakarta.apache.org/poi/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta POI Project: http://jakarta.apache.org/poi/