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

Free Support Forum - aspose.com

Saving file as PDF changes page outline � a table is moved to the second page

Hi,

Please use the attached document file and the following code. All I do is saving the file as a PDF. The resulting PDF file will have an extra blank page inserted between the two tables. This will not happen if I save the file as Word – resulting Word file would look like original one.

Here is the code:

Document doc = new Document( "src/data/worddocs/testPDF1.docx");
doc.save( "src/data/worddocs/ouputPdf.pdf", SaveFormat.PDF );

Any help in this matter would be appreciated.

Thank you very much,


Natasa

Hi Natasa,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15107. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.