This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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.
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.
posted 13 years ago
is there a Java API which works with existing PDF ?
Water proof donuts! Eat them while reading this tiny ad: