I try to get the “Standard” style (the default text style, I think on English based machines called “Normal”), named on my local word “Standard”. My customer is in another country, so he has another Word Language setting. The “Standard” style is therefore named different (e.g “Normal”). So how can I identify this Style independent from hard coded String (“Standard” or “Normal”) ? I think the intern unique name that word is using is called “MsoNormal” but this does not work.
What I want to do is to create a new Style based on it:
Style style = builder.getDocument().getStyles().add(StyleType.PARAGRAPH, “StandardBold”);
Regards and Thanks!
This message was posted using Page2Forum from com.aspose.words (Aspose Words for Java) - Aspose.Words for Java