File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Java code to handle PDF with Forms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Java code to handle PDF with Forms" Watch "Java code to handle PDF with Forms" New topic

Java code to handle PDF with Forms

Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 502

Hi folks,

I have been looking for a pure Java program that looks like a PDF Viewer which allows user to fill a form and re-save it.
I already have the viewer but it cannot handle forms, so I am looking for someone that can give me some hints or I can purchase for the solution.

Have a good day!

PM Me If You Want to get Urgent Help on Java Programming
Shahzad Latif

Joined: Apr 28, 2011
Posts: 28

Are you looking for a visual control to view and edit PDF files or for some API? For example, you can use an API to open a PDF file, fill its form fields, and then save the output file, however it will not provide any UI. So, one idea could be that you provide your own UI i.e. input fields to get values from your users and then use the API in your code to take those values from the input fields and then update the form fields inside the PDF file. If you think such an API can help in your scenario then you may try Aspose.Pdf.Kit for Java. However, if you want some visual control then may be someone else might suggest you something similar.

Developer Evangelist @ Aspose. I love to explore and learn new technologies and help other developers along the way.
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 502

Thanks Shahzad Latif for your reply.

Yes, I am looking for a visual viewer that allows user to enter text into the fields. I have the viewer already but it cannot handle forms.
I appreciate your idea and I will play with some PDF APIs.
I agree. Here's the link:
subject: Java code to handle PDF with Forms
It's not a secret anymore!