I am attempting to concatenate two pdfs. The first pdf is a set of notes. the second pdf is a set of images. I need to get page numbers on all the pages. So far I am only able to get page numbers on the first (due to it being done in the previous method makePDF()). I am including my source code, the two PDFs I am combining and the final merged pdf. What am I missing? My class extends PdfPageEventHelper and I added the line " writer.setPageEvent(new ROIBuildPDFCopy()); ", but at this point the writer is a new PDFCopy. I can see with my System.out.println statements the onOpenDocument, onCloseDocument methods are called, but not the onEndPage method. Please let me know how can accomplish this. Thank you - Dawn
http://www.nabble.com/file/p24358406/ROIBuildPDFCopy.java ROIBuildPDFCopy.java http://www.nabble.com/file/p24358406/123456_1246896417993_ROIMERGED.pdf 123456_1246896417993_ROIMERGED.pdf http://www.nabble.com/file/p24358406/000009835752_1246457405852_ROIDI.pdf 000009835752_1246457405852_ROIDI.pdf http://www.nabble.com/file/p24358406/123456_1246568430192_ROI.pdf 123456_1246568430192_ROI.pdf -- View this message in context: http://www.nabble.com/Concatenate-PDFs-and-Page-Numbering-tp24358406p24358406.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
