Page 1 of 1

Style of paragraph

PostPosted: Tue Aug 23, 2011 4:53 am
by naked11
Hi,
how I get style from paragraph? Through PropertyResolver?
I have P (paragraph), im able to get RPr, PPr via their IDs, but I need StyleID to get Style from style map. How I get style or StyleID from paragraph? Thak you.

Re: Style of paragraph

PostPosted: Tue Aug 23, 2011 9:14 am
by naked11
Similar question.
When the paragraph has default paragraph/character style, how I can got for example font (or font size) of this paragraph? When I use methods somePar.getRPr().getSz().getVal() it gave me wrong font size... How can I solve this? Than you.