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

Free Support Forum - aspose.com

Header and footer lost after DOC/DOCX to PDF conversion using JAVA

Good afternoon!

When converting text from doc / docx to PDF, page footers disappear on some pages. Example in the screenshot below:

  1. On the previous page in PDF, headers are displayed correctly
  2. On the current page in PDF, the headers disappear
  3. There are headers on the current page in WORD (This is one header for the previous and current page)

Please help me figure out what this is related to.EXAMPLE.png (27.8 KB)


Could you please attach your input Word document here for testing? We will investigate the issue on our side and provide you more information.

The theme not actual


Unfortunately, it is difficult to say what the problem is without document and code example. Please share your document and code example for testing. Thanks for your cooperation.

Good afternoon!
The problem was resolved by updating Aspose.Words to version 20.1 (see Get Coordinates of Text Tables Pictures in Word Document & Convert DOC DOCX to PDF using Java)
Thank you for your response to my request.


It is nice to hear from you that your problem has been solved. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.