This is what I need to do - 

1. Create a pdf file from given data (Easy using iText)


2. At a later point, reopen this pdf and add some more data to it 
I am not quite sure how to do this. Is there a way to get all the data in
the pdf into a byte array, add more data to the byte array and recreate a
pdf?



Bruno Lowagie (iText) wrote:
> 
> javaiTextUser wrote:
>> I just started using iText and had a question.
> 
> Please subscribe to the mailing list if you want answers.
> 
>> I need to take an 
>> existing pdf and add some more data to it. If there is space to add data 
>> to the last page of the existing pdf, the new data needs to be appended 
>> there. If not, then I need to add a new page to the pdf and put the data 
>> in there. Is there a way to do this using iText. Thanks.
> 
> Add data to an existing PDF: that's easy.
> It's explained on different places on the net and in the book.
> 
> Find out the available white space on a page: that's difficult
> (I'd say impossible) with iText.
> 
> Summarized: it's possible, but only if you know the coordinates
> of the white space (and that may be impossible).
> 
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Add-data-to-an-exisiting-pdf-tp17267169p17282144.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to