my dog learned polymorphism
The moose likes Other Open Source Projects and the fly likes Append PDF using Itext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Append PDF using Itext" Watch "Append PDF using Itext" New topic

Append PDF using Itext

palanisamy subramani

Joined: Aug 30, 2010
Posts: 29
I am new to the Itext. can any one help me how to append text to the existing PDF files.

Thanks in Advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
PDFs aren't really meant for changing after they've been created. Adding text, in particular, isn't something that's easy, or possible at all, given libraries such as iText.

Using iText (or other libraries such as PDFBox) you can append pages to a PDF, though. So if the new content is all on its own page in a second PDF, you can append that to the first file.
palanisamy subramani

Joined: Aug 30, 2010
Posts: 29
Thanks Ulf. I thought appending is possible in a same page by using ITEXT. Thanks for clarifying me.
It is sorta covered in the JavaRanch Style Guide.
subject: Append PDF using Itext
It's not a secret anymore!