Sorry, I don't know. I searched on google and got this:
https://stackoverflow.com/questions/47778469/how-to-extract-xml-from-xfa-pdf-document-in-java-using-itext-7-or-other
https://developers.itextpdf.com/examples/itext-action-second-edition/chapter-8#331-xfamovies.java
https://developers.itextpdf.com/examples/form-examples/pdfxfa-examples

That one uses itext but you can get the XFA from us too, by calling getXFA() on the PDAcroForm object.

Qoppa can read AFX fields (jPDFFields) but that is commercial only AFAIK.

Tilman


Am 12.06.2018 um 06:07 schrieb Jason:
Hi Tilman,

Is there any java package that supports XFA form? Thanks.

Best Wishes,
Jason

On Jun 12, 2018, at 12:03 AM, Tilman Hausherr <[email protected]> wrote:

Am 12.06.2018 um 02:59 schrieb JZ Q:
Hi everyone,

I need to process the pdf provided in the link. But the api code below does
not return fieldList. Does that mean this PDF file does not define any
PDField? Thanks.
Indeed. Your file is an XFA form, which we don't support.

Tilman



PDAcroForm acroForm = docCatalog.getAcroForm();
// Get field names
List<PDField> fieldList = acroForm.getFields();


https://drive.google.com/file/d/1kLm8kio9LzGJ-jSL4FAQ_4J21kbGMThQ/view?usp=sharing



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to