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

Free Support Forum - aspose.com

Losing data on conversion to PDF

I am using a Java Project for document generation using Aspose.Words.
Using the same project, I am generating a word as well as a PDF document.

doc -> object of class Document (com.aspose.words.Document)

For pdf format, I am saving the document as:

For docx format, I am saving the document as:

I have two separate classes for PDF and Word generation respectively, but all the internal code is the same except for the doc.save function.

However, in the PDF document generated, there seems to be 2 pages missing. It seems that images are getting overlapped or are not printed because of time taken to render. Please help me with a solution to this.

@simikadampatta Could you please attach your output DOCX and PDF documents or provide a code that will allow us to reproduce the problem? We will check the issue and provide you more information.