There are two example codes focus on how to fill Adobe Designer Forms(XFA Forms, Interactive Forms) with iText written by Bruno Lowagie in answer to questions that were posted to the iText mailing list.
FillDynamicXfa and FillDynamicXfa2
From the java name, we can notice they only support dynamic PDF Forms created by Adobe designer.
btw, I have compiled FillDynamicXfa into native byte code, so they can run without jre installed, and only 1.72M, and will release lately.
P.S.
Adobe LiveCycle Forms
Livecycle forms are XML-based and can be either static or dynamic. They are deployed securely to a user’s browser over any platform and are viewed using Adobe Reader (version 7.0.5 is the minimum version for full functionality). The quality of submitted information is improved through instant data validation and calculations. Captured data can also be transferred directly into an organisation’s core systems, streamlining form-driven business processes as well as improving data accuracy.
More info about XFA from wikipedia
XFA (also known as XFA forms) stands for XML Forms Architecture, a family of XML specifications that was suggested and developed by JetForm to enhance the processing of web forms.
XFA’s main extension to XML are computationally active tags. In addition, all instances created from a given XFA form template keep the specification of data capture, rendering, and manipulation rules from the original. Another major advantage of XFA is that its data format allows compatibility with other systems, and with changes to other technology, applications and technology standards.
According to JetForm’s submission to the World Wide Web Consortium, “XFA addresses the needs of organizations to securely capture, present, move, process, output and print information associated with electronic forms.”[1] The XFA proposal was submitted to the W3C in May 1999.
In 2002, the JetForm Corporation was acquired by Adobe Systems, and the latter introduced XFA forms with PDF 1.5 and the subsequent Acrobat releases (6 and 7) in 2003.[2]
XFA forms are saved internally in PDF files or as .XDP files which can be opened in Adobe’s LiveCycle Designer software.
XFA forms are synonymous with SmartForms in the Australian government.
1 thought on “Using iText to Fill PDF Forms Created by Adobe Designer”