XFA stands for XML Forms Architecture, a family of proprietary XML specifications that was suggested and developed by JetForm to enhance the processing of web forms. It can be also used in PDF files starting with PDF 1.5 specification. XML Forms Architecture was not standardized as an ISO standard
Questions tagged [xfa]
171 questions
1
vote
0 answers
Change XFA field font size without breaking usage rights
I am trying to fill data in a XFA document and also change the font size of the data filled in the text box. I have managed to fill data in the XFA doc using PdfStamper in Append mode and using the FillXfaForm method on the XfaForm object. This…

ravi kumar
- 1,548
- 1
- 13
- 47
1
vote
0 answers
AcroField changes made using itext7 in C# do not commit/are not visable due to hybrid AcroForm-XFA issues
Project is to fill existing forms programmatically from a database/datagridview and allow the user to edit the forms afterwards as the database does not hold all values needed.
I am able to get the values, and put them into the form…

Talldave
- 11
- 4
1
vote
2 answers
RegEx/XPath to match certain Adobe LiveCycle Designer fields in XML
I am using the following RegEx to match elements in XML view of Adobe LiveCycle Designer XFA form.
Check the RegEx (?i)<(field)[\s\S]*?<\/\1> and sample XML here: https://regex101.com/r/80gkRp/1
The above RegEx is working fine, and I could…

tarekahf
- 738
- 1
- 16
- 42
1
vote
1 answer
Dynamic XFA PDF issue with chrome ("Please wait...")
I am having issue to view XFA PDF in Google chrome. I am able to open the same PDF in Acrobat reader but when I view in chrome I get “Please wait...” message.
Can you please let me know if there is any solution to fix this issue?

Prashant P
- 21
- 2
1
vote
0 answers
Accessibly check on dynamic XFA form
We're maintaining a legacy application written in jsf 1.2 for the federal government. The application has downloadable pdf sections of dynamic pdf XFA templates. These templates were developed in adobe designer live cycle. States users download/fill…

sumit
- 11
- 1
1
vote
1 answer
Xpath display correct results in XMLSpy but null in Java
I am trying to display all text within text nodes only, within an XFA XML document while ignoring namespaces.
I came up with an Xpath that returns the desired results within XMLSpy with xpath 1.0 but the same Xpath in Java returns null for some…

Bryan
- 149
- 1
- 11
1
vote
1 answer
iText 7 trial licence
I would like to try iText7 PDF Flattening with trial licence.
When Flatten method is called, it throws exception "Method not found: Boolean iText.Licence.LicenceKey.IsTrial()."
Does it mean that Flatten method cannot be used with trial licence or I…

Lukas
- 38
- 4
1
vote
0 answers
Execute JavaScript using IText
I have a dynamic pdf file which needs to be filled programmatically. I am using itext libraries to do so. Below are the steps I followed.
Extract the dynamic pdf and get the data xml file.
Fill the xml data file.
Call the itext apis to generate new…

Ann
- 31
- 1
- 5
1
vote
1 answer
PDFBox 2.0.7 Unable to set XFA
I'm trying to set the values in a pdf form that has dynamic input fields but I keep getting an error with a stream writer.
I have researched the steps to fill the form (http://mail-archives.apache.org/mod_mbox/pdfbox-users/201510.mbox/browser) and…

moyez
- 59
- 8
1
vote
0 answers
How to get values and the keys of all the controls in a dynamic pdf using iText?
I've tried to extract all the fields out of a dynamic form. But I've observed that the code worked for some forms while not for others. Worst, the code worked differently for the same form but two different downloaded files. But after digging a lot,…

mark42inbound
- 364
- 1
- 4
- 19
1
vote
2 answers
Using C# iText 7 to flatten an XFA PDF
Is it possible to use iText 7 to flatten an XFA PDF? I'm only seeing Java documentation about it (http://developers.itextpdf.com/content/itext-7-examples/itext-7-form-examples/flatten-xfa-using-pdfxfa).
It seems like you can use iTextSharp, however…

KSib
- 893
- 1
- 7
- 24
1
vote
1 answer
XFA building in PDFBox 1.8.12, not in 2.0.4
I have tried to extract XFA from a file and it's worked fine for me till I updated the PDFBox from 1.8.12 to 2.0.4.
I have a file that I can extract XFA from using 1.8.12 but not using 2.0.4.
When I extract this using PDFBox using 2.0.4, I get the…

Mayank
- 1,364
- 1
- 15
- 29
1
vote
1 answer
Flattening an XFA PDF with iText --> New Pages, Barcodes Split
Setting
a) I have a reader extended XFA form (that contains 2 barcodes)
b) I have prepopulation XML
Intended Solution
- Prepopulate the XFA form with XML and then flatten the PDF (so that it is view-able in browsers, etc)
What's working
-…

Luigi D'Amico
- 665
- 7
- 11
1
vote
0 answers
How to keep source fonts while flattening PDF
I'm trying to flatten this interactive PDF that is based on the XML Forms Architecture (XFA):
http://www.finanse.mf.gov.pl/documents/766655/1481810/PIT-11(23)_v1-0E_2016.pdf
It contains Arial font with polish encoding.
After flattening it with the…

AStraks
- 11
- 1
1
vote
0 answers
Livecycle - Convert PDF (XFA) to HTML
I have created a few PDF (XFA) forms using the Adobe Livecycle ES4 Forms Designer.
I want to convert those forms into HTML and after reading a few posts, Livecycle server gives that option.
But I could not find a way to install the Livecycle…

ElevatedLyf
- 116
- 1
- 2
- 8