Team,
I am using Aspose latest version for document conversion. I am trying to get document default Normal style, heading [1-6] through Asopse. In MSWord ( i am using MSWord 2010) by default Heading1 font color is blue and Heading2 font is different.
Here is my code
Document doc = new Document("./input.docx");
String fontColorH1 = doc.getStyles().getByStyleIdentifier(StyleIdentifier.HEADING_1).getFont().getColor() + “”;
String fontColorH2 = doc.getStyles().getByStyleIdentifier(StyleIdentifier.HEADING_2).getFont().getColor() + “”;
result for fontColorH1 and fontColorH2 is black. How to get default font and paragraph format.
Help me
Thanks,
Anbu