Hi,
We have resolved this problem, you can try the hotfix in the attachment.
Your code can also be written like this:
...
HeaderFooter footer = new HeaderFooter(sec1);
footer.getTextInfo().setFontSize(7);
Text footText = new Text(
footer, "Page: ");
footer.getParagraphs().add(footText);
footer.setIsPageNumber(true);
...
Thank you for your beneficial advice.
Sandy.Zhang
Product Developer
Aspose Changsha Team
About UsContact Us