aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Appending to PDF form fields using iText APIs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Appending to PDF form fields using iText APIs" Watch "Appending to PDF form fields using iText APIs" New topic
Author

Appending to PDF form fields using iText APIs

Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
I have a PDf to which I need to append data at specific locations. The way the PDF is is that it has form fields. I need to fill those fields appending to an existing PDF and save the newly created PDF.
I am trying to using the iText API for Java to do that but I cant figure a way to use them for this purpose.
Has any one done that .Please post a small code snippet as to how I can go about doing this.
Please help me out.

Thanks
Dhiren
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Basically, you can't. iText is an API for creating PDF files, not for working with existing ones. There are very few operations iText (or other Java PDF libraries) can do with an existing PDF, and filling out forms is not one of them.


Ping & DNS - updated with new look and Ping home screen widget
Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
is there a Java API which works with existing PDF ?

Thanks
Dhiren
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Appending to PDF form fields using iText APIs
 
Similar Threads
Can IText Acheive this ?
Modifying pdf with itext
opening PDF from JSP
Div inner Html to PDF
iText for editable pdf