I haven't used pdfbox for that but maybe org.apache.pdfbox.util.LayerUtility.java or org.apache.pdfbox.Overlay.java could be a good starting point for that.
Kind regards Maruan Am 29.02.2012 um 11:24 schrieb Ismael Hasan: > Hello, > > I have been searching in the PDFBox API and forums some funcionality > that allows me to merge 2 pages of a document into just 1 page, but I > haven't had any success. To be clear, I don't need to merge 2 > different PDF documents, instead I need to transform a PDF with 10 > pages in a PDF with 5 pages, just by merging some of the pages into > double pages. > > Is there any functionality that I missed and allows me to do this? Or, > as I suspect, a complex processing is needed to do this? > > Thanks in advance.

