On Thu, 6 Mar 2014, Perundevi wrote:
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");
What if you enumerate all the defined styles, is it there with another name?
so i need to predefined styles for word document. can u tell me how can i get this?
POI will only give you the values stored in the document. If something isn't there, we can't return it
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
