Hi Jason,
I have a need to set the "first page, all other pages" paper source properties in docx4j. I did some searching but didn't come up with much. Can you point me in the right direction on how to best do this?
Thanks,
Jeff
It is currently Tue Dec 02, 2025 8:33 am
News of docx4j wordMLPackage.getMainDocumentPart().getContent().addAll(
XHTMLImporter.convert( new File(inputfilepath + ".html"), null, wordMLPackage) );String str = "<w:p xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" ><w:r><w:rPr><w:b /></w:rPr><w:u>Bold text </w:u></w:t></w:r></w:p>";
Total posts 10213 • Total topics 2877 • Total members 2103