Hello,
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:
doc.save(“MyDocument.pdf”)
For docx format, I am saving the document as:
doc.save(“MyDocument.docx”)
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.