Welcome to jPDFFields


jPDFFields is a Java library that can import and export interactive pdf fields. jPDFFields is built on top of Qoppa Software's proprietary PDF technology so there is no need for any third party software or drivers.


This program demonstrates how easy it is to use jPDFFields from your Java application.


- Load PDF documents from files, network drives, URLs or input streams.

- Work with PDF forms in both AcroForm or XFA formats.

- Support for Javascript for field formatting, validation and calculation.

- Export field data as FDF, XML (XFDF) or XDP files.

- Import field data from FDF, XML (XFDF) or XDP files.

- Flatten form fields, i.e. paint the fields directly in the content.

- Reset fields to their default value.

- Support for barcode fields.

- Save updated PDF file as file, an OutputStream or a ServletOutputStream.

- Written entirely in Java™ - allows your application to remain platform independent.


Once you download the demo version, the sample code for this program will be installed on your computer. You can take a look at the importFDF, importXFDF, exportFDF, exportXFDF, flattenFields, savePDF methods in the PDFFieldsPanel class.


Jar files - There are a number of jar files that are included in the installation of this evaluation program. Only the jPDFFields.jar file is always required for deployment, the remaining jar files are used to work with specific features in some PDF documents:


jPDFFields.jar - This is the main jar file for the component, it is always required.


bcmail.jar and bcprov.jar - These files contain the Bouncycastle security libraries, they are only used to verify digital signatures, when present.


cmaps.jar - This jar file contains CMaps, used to read and display character encodings used with CJK (Chinese, Japanese, Korean) content.


rhino.jar - This is the rhino jar file required to run JavaScript. If the jar file is not present, JavaScript will not give any error but simply not run.