OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
Is your feature request related to a problem? Please describe.com.lowagie.text.pdf.PdfCopy extends PdfWriter, but it cannot actually be used for writing to a document. It just silently ignores calls that tries to add new pages.
Describe the solution you'd likePdfCopy should just add new pages if requested.
Describe alternatives you've considered
An alternative is to generate a temporary PDF file with the required new pages and then copy those into the new document with PdfCopy, but that is a bit wasteful.
Is your feature request related to a problem? Please describe.
com.lowagie.text.pdf.PdfCopy
extendsPdfWriter
, but it cannot actually be used for writing to a document. It just silently ignores calls that tries to add new pages.Describe the solution you'd like
PdfCopy
should just add new pages if requested.Describe alternatives you've considered An alternative is to generate a temporary PDF file with the required new pages and then copy those into the new document with PdfCopy, but that is a bit wasteful.
Your real name Rasmus Faber-Espensen
Additional context PR will follow shortly.