Cristian Ferrero wrote: > Hi i explain with example : > > i have 3 pdf files , each one with 3 pages, last with 4 , i need > this pdf files in one (i can use concat_pdf) but in new pdf file , the > 3 pages imported from pdf 1 must have pagelabel 1, the next 3 pages > pagelabel 2, and the 4 pages imported from file 3 pagelabel 4....any > ideas ???
Have a look at the source code of concat_pdf. It uses PdfCopy. Instead of using concat_pdf, copy the concat_pdf code and set the page labels with PdfCopy.setPageLabels(). br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/