If i use any styles within the word document other than normal, then i can
get the xwpfstyle from the xwpfdocument. Otherwise i can't get, it returns
null. I am using the following code,
XWPFStyle style = document.getStyles().getStyle("Heading1");
There is no separate paragraph with heading1 style in my document. so it
returns null.
so i need to predefined styles for word document. can u tell me how can i
get this?
--
View this message in context:
http://apache-poi.1045710.n5.nabble.com/Read-predefined-styles-in-xwpf-tp5715095p5715098.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]