Skip to main content
New Participant
December 18, 2019
Question

Library or Script to read Adobe FDF form as PDF

  • December 18, 2019
  • 3 replies
  • 1166 views

I could convert PDF and extract data but for Form based Adobe PDF called as FDF my library which is used to extract data from PDf couldnt detect FDF and thus couldnt extract the data.

 

I got information that FDF can be converted to XML, is there any script which can detect and extract the FDF into xml.

 

Need immediate help

This topic has been closed for replies.

3 replies

try67
Community Expert
December 18, 2019

Your description is not very clear, but if you're trying to create a PDF from the FDF file, that's not possible. The FDF file contains a very limited set of data, namely just the form (and possibly comment) data.

Brainiac
December 18, 2019

FDF is a very simple format, and easy to parse. It’s format is described in a the PDF Reference. 

deepS85Author
New Participant
December 18, 2019

Can you help how it will be done over script.

Brainiac
December 18, 2019

I wrote "FDF is a very simple format, and easy to parse. It’s format is described in a the PDF Reference. "

You wrote "Can you help how it will be done over script."

You are missing my point. You need to study the PDF Reference (to learn the format of FDF). Study sample FDFs. Write code to read the FDF, to parse it, and get the data you need. There is no existing code for you to copy.

What scripting language are you using? In your first post you mentioned a library - which library?

Bernd Alheit
Community Expert
December 18, 2019

The fdf file contains values and names of form fields. What want you extract?

deepS85Author
New Participant
December 18, 2019

Yes, the FDF is a Form based file, i want to detect both form field and values in a form as identified and selected as per the type and so continuing this exercise over a script over and over again without anything manual.