Hi,
The documentation has this text for OPTIMIZE_RESOURCES_MODE: "Not all
document elements are merged". I suspect that the reasoning was to
minimize what gets merged.
It turns out that the tickets in which this was introduced are still open:
https://issues.apache.org/jira/browse/PDFBOX-4182
https://issues.apache.org/jira/browse/PDFBOX-4188
Tilman
On 23.10.2024 15:53, Jean-Hugues Gilbert wrote:
Hello there,
I’m currently migrating from PDFBox 2 to PDFBox 3, working like a charm so far.
But quite some time ago I’ve saw the PDFMergerUtility wasn’t setting
destinationDocumentInformation & destinationMetadata in the
optimizedMergeDocuments before saving the merge to a file, to the
contrary of the legacyMergeDocuments.
I was obligated to fix that on my side by duplicating the code and add
this behaviour, but since I’m upgrading to PDFBox 3 and the issue is
still around, I thought it would be better to contact you all so you
are aware.
I consider this as a bug, and not a deliberate choice. But I could be
wrong? Is this expected?
Thank you for your help!
- JH
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org