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

Free Support Forum - aspose.com

Problem converting 2-Column-Layout Word-Doc to PDF

Hallo,
we have a problem when converting a Word-Docx to PDF. Some text is hidden. This also results in a page-break that does not match the original word doc.
Please find attached the word doc and the resulting pdf.

The java code is essentially like the following:

doc = new Document(toConvert.getAbsolutePath());
String outFileName = toConvert.getAbsolutePath() + ".pdf";
com.aspose.words.PdfSaveOptions options = new PdfSaveOptions();
doc.save(outFileName, options);

Is there a possibility to set more options for a better result, or is it a bug in the library?

Also the resulting PDF is about 9 times bigger than the Word Doc. Should we add some optimization-options here?

Best regards, Gerd

LOS-News-Mayen-Koblenz-20210302.docx (275.3 KB)
LOS-News-Mayen-Koblenz-20210302.docx.pdf (2.0 MB)

@GRein Thank you for reporting this problem to us. I have logged it as WORDSNET-23303. We will keep you informed and let you know once it is resolved.
It seems the reason of the problem is incorrect handling of section break continuous at the end of the header “Das Jobcenter Mayen-Koblenz meistert Home-Office-Arbeit mit digitalen Akten”.