On 26.09.2023 11:49, Morten Stulen wrote:

If the PDFBox 3 validation is correct, what is required to fix the validation for XRef?


save your file like this:


doc.save(file, CompressParameters.NO_COMPRESSION);

I have added this to the migration page, it will be in the next website update. (It's already in the sample code)

Thanks for bringing this to our attention.

Tilman




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to