Hi there,
I have found an issue when trying to convert a rtf-file to PDF using aspose.words for java version 20.9.
As you can see in the screenshots below, there is an extreme margin between the top of the page and the header, when converting with aspose.words.
Screenshot of the PDF converted in aspose: converted_in_aspose.png (27.0 KB)
Screenshot of the PDF converted in word: converted_in_word.png (26.8 KB)
This is the Code I’m using to convert the file:
Document tmpDoc = new Document(dir + "original.rtf");
com.aspose.words.PdfSaveOptions tmpSaveOptions = new com.aspose.words.PdfSaveOptions(){};
tmpDoc.save(dir + "original_converted_in_aspose.pdf", tmpSaveOptions);
When converting bigger documents, this space causes issues with page-numbering.
zip-archive with original rtf-file, and both PDFs: files.zip (187.7 KB)
Looking forward to your answers,
Clemens