James Green created PDFBOX-1596:
-----------------------------------
Summary: OverlayPDF logic should be moved into a library class
Key: PDFBOX-1596
URL: https://issues.apache.org/jira/browse/PDFBOX-1596
Project: PDFBox
Issue Type: Improvement
Components: Utilities
Affects Versions: 1.8.1
Reporter: James Green
Priority: Minor
We're finding that OverlayPDF fixes problems observed when using Overlay.
However, with Overlay we can operate it as a library call but OverlayPDF can't
be particularly given we work with PDDocuments.
I've just had someone copy the entire OverlayPDF class into one of our own and
modify it to accept pre-loaded PDDocuments instead of filenames. It would be
far more constructive to extract the core logic into a library class and have
the CLI class drive it.
If we had a proper clone method it would be good to create a completely new
PDDocument to serve as the new returned document instead of mutating the inputs
too...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira