I have three PDF files. The first is a hand-craft marketing cover for a book, the second is rendered content from a DocBook --> XSLT --> FOP --> PDF process, and the third is some back cover content. Looking for the best way to concatenate these three PDFs into a single PDF. Anyone have any suggestions?
views:
344answers:
3
+1
A:
Here is a free JAVA library that supports concatenation of PDF files: http://www.lowagie.com/iText/
Gdeglin
2009-03-31 05:12:13
Thanks, so iText it is.
tobrien
2009-03-31 05:14:18
+1
A:
Merging in iText can be tricky. Especially if the PDF files contain form fields. My recommendation is to read the GPL'd source code from PDF Split and Merge aka pdfsam.
Specifically look at the execute() method in the PdfConcat class.
JonMR
2009-06-23 22:08:04