Questions tagged [xfdf]

XFDF is the XML version of the "Forms Data Format (FDF)" specification. It is designed to representing form data and annotations that are contained in a PDF form.

XFDF is the XML version of the "Forms Data Format (FDF)" specification. It is designed to representing form data and annotations that are contained in a PDF form.

XFDF stands for "XML Forms Data Format". Where the original FDF uses syntax and file structure similar to a PDF document, XFDF uses XML. This makes it easier to build many XFDF structures than their FDF counterparts. However, XFDF does not implement most features of the original FDF, including: Status, Encoding, JavaScript, Pages keys, EmbeddedFDFs, Differences and Target.

The correct MIME Type to use for .xfdf files is application/vnd.adobe.xfdf.

XFDF was introduced in 2003 in PDF version 1.5, the full XFDF 2.0 specification is available from Adobe as a separate document.

54 questions
1
vote
1 answer

How can I show a PDF in a browser when it has XFDF data?

I need to show a PDF file with data, this data is a XFDF file. So the process works in my machine I open the XFDF and automatically the PDF appears with a data. The problem is when I make this process in a web environment, the HTML page does not…
Aaron Luna
  • 39
  • 5
1
vote
0 answers

acrobat pdf submit button for forms - fields order in xfdf

My solution: User opens PDF file on web server in browser. User is entering form fields and pushing submit button. Submit button sends XFDF data through POST to my PHP script. When I get POST data, form fields are in random order. I'm creating XFDF…
met
  • 23
  • 4
0
votes
1 answer

PDF Annotation property not changing properly

I've manually created a PDF fillable form file and filled it out using an existing xfdf file. When I try to do this programatically (creating the PDF fillable form on the fly to be filled out by existing xfdf), I notice that the properties of the…
dirtyw0lf
  • 1,899
  • 5
  • 35
  • 63
0
votes
0 answers

Import annotations from one file to another using VBA exportAsFDF

I am trying to import annotations from one file to another using VBA through adobe Javascript object interface. So I want to export the fdf file of the pdf, so I am using exportAsFDF method. However, it is exporting an FDF file without the…
user9559590
  • 103
  • 1
  • 8
0
votes
1 answer

Submit PDF to server as XFDF. What exactly is getting passed?

Ok so I followed this tutorial to get the PDF submitting to HTML but it seems like a backwards way to do it. http://koivi.com/fill-pdf-form-fields/tutorial.php I would like to submit the data as XML so I can then easily map it to a model. The Adobe…
Drew H
  • 4,699
  • 9
  • 57
  • 90
0
votes
1 answer

XFDF pdf opening in same window in IE

I'm working on a project that collects data from the project then displays it using xfdf to populate a .pdf file. Now when I use Chrome or Firefox it opens in a new tab which is exactly what I want, but some of my clients will be using IE, which…
TheLifeOfSteve
  • 3,208
  • 6
  • 37
  • 53
0
votes
1 answer

Acrobat pdf importAnXFDF from external sources

I have created a pdf form using acrobat with below script. Below the script: function importXFDF() { var url = "https:///first-form_data.xfdf"; this.importAnXFDF(url); } importXFDF(); If any users download and open the form i am…
sathish
  • 6,705
  • 3
  • 30
  • 35
0
votes
1 answer

How to access specific value in imported XML with VBA

I have a completed .pdf form (XFDF, XML) that I am importing into excel. The goal is to get a "Field Name" and a "Value" for that field from the XML. Currently I am able to get the "Value" (Blue accent in picture below) by using a simple command…
PDT352
  • 25
  • 4
0
votes
1 answer

How to set the font color for PDAnnotationFreeText with using pdfbox 2.0.16

After imported XFDF to FDFAnnotation and converted to PDAnnotation, I find that the font color of PDAnnotationFreeText is missing.
b7184756
  • 45
  • 4
0
votes
2 answers

Can form field data be saved in PDF?

I am learning the basics of form pdfs now. After entering the field values, I can save the pdf with data as a pdf file. With Acrobat pro, I am able to export data in FDF and XFDF files. we need to develop a website that will allow users to fill a…
Saranya
  • 201
  • 3
  • 12
0
votes
2 answers

Receiving PDF form data into PHP

So I have been looking online for several hours for what I think is a very simple answer but I can't seem to find it. I am trying to understand how PDF form data submitting works. My goal is to read form data submitted from a PDF form that I set up…
user3053446
  • 124
  • 2
  • 13
0
votes
1 answer

XSLT for each (group?) with sorted two elements named as Code and Value

i need to transfer file xml to xfdf. And I have group with two element types code and value. Code is defining name of field and value is value of field. XML source is like this:
0
votes
3 answers

How to create XFDF annotation with an image

I would like to generate in Java a XFDF Stamp Annotation that would have a transparent image inside. I have serious trouble recognizing the format in which the image is stored and how to transform my input image to that form. So far I know The…
Javo
  • 435
  • 1
  • 5
  • 16
0
votes
2 answers

Add barcode to PDF

How can I add PDF417 2-D barcode (as an image) to a Acroform PDF? I have a process in place where I populate a PDF "templates" with data using a XFDF file that I build server side. Staying in the same workflow, I'd like to either use XFDF or FDF…
Aaron
  • 3,068
  • 2
  • 21
  • 44
0
votes
1 answer

How to import an XFDF into an PDF with Apache pdfbox 2.0

In pdfbox 1.8 there was a class "ImportXFDF", as you can see here: pdfbox API 1.8.11 for ImportXFDF. It was very easy to import the data from an XFDF File into the PDF fields with the importFDF-Method. With the new version 2.0 the class was removed,…