The following ODT when rendered to PDF includes a blank last page when none is present in the original document.
It is a 2 page document with a table on the last page. Turning on non-printing characters indicates that the only thing after the table is a terminating paragraph mark that cannot be removed.
This is demonstrated in the attached zip: Test Chart 2.zip (129.3 KB)
- Test Chart 2.odt is the original ODT file
- Test Chart 2 - OpenOffice.pdf is the ODT file exported to PDF using OpenOffice
- Test Chart 2 - Aspose.pdf is the ODT file exported to PDF using Apose Words for Java
To reproduce, upload Test Chart 2.odt to the online converter at https://products.aspose.app/words/conversion
How can we avoid the blank page being generated?
NOTE: the table has been shrunk and the styles changed to avoid ODT to PDF conversion renders table row heights incorrectly
This causes the row heights to be too small when rendered using OpenOffice