Thank you Yegor for the valuable response.
Now I was confused with the flow for default style. now I confirmed that.

and I will go through  XSLFTextParagraph and XSLFTextRun classes for more
detail..

Thank you once again....

Regards,
Jebarlin.R

On Fri, Nov 25, 2011 at 4:33 PM, Yegor Kozlov <[email protected]> wrote:

>  The best advise I can give you is to study the XSLF code. Go wit ha
> debugger and see how XSLF walks the pptx document and fetches
> properties.
>
> The style inheritance rules are pretty complex and depend on the type of
> text.
>
> For a plain text box (not a placeholder) the rule is to first lookup
> in the shape element and then go to presentation.xml and read from the
> /p:presentation/p:defaultTextStyle element.
>
> For a placeholder shape the rule is to lookup in the shape, then in
> the slide layout, then in the slide master and if not found, take from
> either titleStyle or bodyStyle or otherStyle.
> titleStyle  is for titles, otherStyle is for footers, date and page
> number placeholders. Other types inherit from bodyStyle
>
> Yegor
>
> On Thu, Nov 24, 2011 at 4:11 PM, Jebarlin Robertson
> <[email protected]> wrote:
> > Hi,
> >
> > I am trying to get the text style properties of a slide. I am able to
> get,
> > If the style properties are present in the slide (within the shape
> element
> > (pPr, rPr)). If the styles are not present in the slide.xml, which one I
> > need to consider as the default style property?.
> >
> > SlideMaster.xml has txStyles element, and again  it has three types of
> > style inside that (titleStyle, bodyStyle and otherStyle).
> > How to get the proper default style from these three style types for the
> > particular slide's shape.
> >
> > Since I am not able get the proper information from the ECS 367 Open
> Office
> > File format specification document, can anybody help me to get the
> solution
> > for the above question?
> >
> > Thanks in Advance
> >
> > Thanks and Regards,
> > Jebarlin Robertson.R
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to