jPDFFields is a Java library to work with interactive PDF forms in both AcroForm and XFA formats. jPDFFields allows your application to get and set field values and can also import and export to FDF, XFDF, and XDP formats.
Additionally, jPDFFields can also “flatten” fields in a document. Flattening is the process of merging the fields into the PDF content layer so that the information is retained but as static PDF content.
Features:
Load PDF documents from files, network drives, URLs or input streams.
Work with PDF forms in both AcroForm or XFA formats.
Export fields data as FDF, XML (XFDF) or XDP files.
Import fields data from FDF, XML (XFDF) or XDP files.
Flatten form fields (paint the fields content directly in the page and remove fields themselves from the PDF document).
Reset fields to their default value.
Support for barcode fields.
Save updated PDF file as file, an OutputStream or a ServletOutputStream.
Works on Windows, Linux, Unix and Mac OS X (100% Java)
Full Specifications
What's new in version v2020R2
May include unspecified updates, enhancements, or bug fixes.