Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Append PDF using Itext

 
palanisamy subramani
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf. I thought appending is possible in a same page by using ITEXT. Thanks for clarifying me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic