our customer pointed out a PDF rendition issue related to the positioning of the PDF bookmark converted from the Word index.
We found that the issue is due to the Appose words to PDF transformation positioning the bookmark link to a coordinate in the middle or top of the bookmark.
This only happens when the heading is in the same paragraph as the pagebreak. (position of header accessed by Ctrl+Enter, then arrokey left).
apose_DS-647.png (46.6 KB)
The bookmark position seems correct when exporting the doc from word as pdf, or when using another PDF printer.
Our guess is that either the other PDF printers point to the bottom of the bookmark position, or do not interpret the pagebreak and page whitespace as part of the bookmark,
in the attached zip you will find a sample test document and resulting PDFs for Aspose and pdfPrinter,
PS: we are using Aspose Words for java 17.6
DS-647.zip (436.0 KB)