These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Read the fields of PDF file using java/xml

anilhk
Registered: May 16 2010
Posts: 2

Hi,

trying to develop/design an application where in, an user would upload a PDF file. User then fills up a HTML/JSP form. Once the form has been submitted the user is given an option of printing the form fields to the PDF which has been uploaded.

The problem I am facing is with the mapping of the form fields to the PDF fields. Once I know how this is to be done, I could create a mapping page where in I can ask the user to map the corresponding fields to the form.

I am not sure of a way by which I can read all the pdf fields using either java/xml ? Can any one share some light on that ?

thanks !
Anil

NK-INC.COM
Registered: Apr 17 2010
Posts: 93
This is definately possible using free iText products.

iText products can parse PDF/FDF form field data. iText comes in different flavors, iText for JAVA and iTextSharp for Microsoft .net. iText component is completely free upfront, but, you will still need to invest your time and resources into research and development. If you need support, and are willing to use a Microsoft .net solution, please check out www.FDFToolkit.net.

FDFToolkit.net can parse XML, XDP (LiveCycle), FDF (Acrobat) and XFDF form data formats. If you need support, FDFToolkit.net provides 1 year of free updates and technical support. FDFToolkit.net can also, e-mail, and merge PDF forms and form data formats. Best of all, FDFToolkit.net uses iText components.

Useful links:
http://www.fdftoolkit.net
http://www.pdfemail.net
http://www.nk-inc.com

I hope this information helps you find a solution.