PDF "concatenation" doesn't work that way. You need to add specific objects to the end of the file - not just "append" the bytes from a given PDF.
Leonard On Jul 2, 2007, at 5:01 AM, dayvidpow wrote: > >> You have to use a special constructor for PdfStamper: >> public PdfStamper(PdfReader reader, >> OutputStream os, >> char pdfVersion, >> boolean append) >> with append = true, see: >> http://itext.ugent.be/library/api/com/lowagie/text/pdf/ >> PdfStamper.html > > Yes I have actually read about this PdfStamper constructor. > > However, what I am really trying to do is to incrementally add a > cover page > to an existing PDF. Therefore I would like to insert the new cover > page into > the existing PDF, but instead of saving the results to a final PDF, > I would > like to save ONLY the updated content (ie. only the new cover page > content) > to a separate update file (NB. I am not talking about another > standard PDF > file, but an update file), then later concat this update file to the > original PDF to get the final PDF. > > Is this possible and if so how can this be done ? > > > > > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > 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/ > > > > -- > View this message in context: http://www.nabble.com/How-to-Perform- > Incremental-Update-of-existing-PDF-tf4007726.html#a11392718 > Sent from the iText - General mailing list archive at Nabble.com. > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > 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/ > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/
