Is there any way to change any property of a paragraph after I added to the MainDocumentPart ?
- Code: Select all
WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.createPackage();
MainDocumentPart mdp = wordMLPackage.getMainDocumentPart();
mdp.addStyledParagraphOfText("NormalIndent", "The following PHP error occurs: "); // here i want preserve the whitespace with setSpace("preserve"), but how?
Thanks,
roncsak