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 ?

I don't see why this demands a different answer.
You say you want to create a one-page cover,
well do so. What's keeping you?

Then you say you want to concat the one-page
cover with another PDF, then by all means, go ahead!
If you want to add the page as an incremental update,
my original answer still applies.

Honestly, I don't see the problem.
br,
Bruno

-------------------------------------------------------------------------
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/

Reply via email to