Hi, Is it possible to open a PDF document and append some text (or update field) to the original PDF document. I see that there is loads of examples of writing new PDF document using PdfWriter and adding a document using a new Paragraph object.


I have tried to use;

PdfWriter.getInstance(document,
                        new FileOutputStream("HelloWorld.pdf", true));

using the append option in FileOutputStream (ie. append )

FileOutputStream( File file, boolean append)

but the api seems to ignore this.

I know I could create another pdf and then delete the previous one, and then rename the new one to the original file name but this will take some time which I'm not sure I will have in very big PDF documents.

Any help will be appreciated,
Thanks Karl


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to