We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Paging lost in convertion docx -> pdf


I want to know how to keep the formated paging I've got in a docx document when I convert it to pdf. I havent done much research, but I guess I see it as one of those basic things that really should work...


Can you please provide us with the word document so that we can suggest a more accurate solution.


this is an example of a file with page numbers that does not show on the pdf


I was able to reproduce the error. I found that page numbers are not set in the intermediate xml file which is genereated by Aspose.Words when converting docx to pdf. From xml to pdf part, it seems work fine. I have reported it to our coopertor Aspose.Words team. They will give you a reply soon.

Best regards.

Hello!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

This was suggested to be a defect in Aspose.Words and logged as #4391 in our defect database. We’ll investigate it and notify you here in the thread when it is fixed or some information is available.

As a workaround you can try re-saving your document in MS Word with different name as DOCX or as DOC. I’m attaching such a re-saved document which doesn’t loose page numbering after conversion.



We have released a new version of Aspose.Words that contains a fix for your issue.

Issue # 4391 - Page numbers are lost when loading DOCX

The new version of Aspose.Words is available for download from [here](http://www.aspose.com/http://www.aspose.com/Community/Files/51/aspose.words/entry113796.aspx).

Best regards.