Hello JCortez I assume you simply want to add something on an existing pdf document and you don't know how. Correct?
On http://itext.ugent.be/library/api/ you'll find the PDfStamper, which is made for that. Take following constructor: PdfStamper(PdfReader reader, OutputStream os, char pdfVersion, boolean append) if you want use the stamp in append mode (append mode makes another section an pdf = with text-editor you can see data behind the %%EOF and another %%EOF). Hints: - For the PdfStamper input and output file must be different. - The PdfStamper in append mode makes an exception if pdf file is detected as corrupt (append flag false works) - "append" mode flag on constructor has mainly only to do, how the pdf file is written = pdf internal stuff (I'm not really sure, because I'm also only user and not guru) - "append mode": If you mean that you only want to "append" existing pdfs to others then use PdfCopy instead. By the way: The book "iText in action, Creating and Manipulating PDF", by Bruno Lowagie, describes the most basic stuff very well. ISBN: 1-932394-79-6 (delivery time!) Hope I could help you Sascha Fuchs -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von JCortez Gesendet: Dienstag, 27. März 2007 19:12 An: [email protected] Betreff: Re: [iText-questions] How to open a PDF in append mode How do i open an existing PDF file if open(String pathToPDFile); is not allowed... thanks. please understand im new with iText. -- View this message in context: http://www.nabble.com/How-to-open-a-PDF-in-append-mode-tf3455410.html#a9696901 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
