Skip to main content
Skip table of contents

Operation: Flatten XFDF

The Flatten XFDF operation writes XFDF data (ISO 19444-1) to a PDF form document. The form fields are converted to text and cannot be edited.

Input

The structure of an XFDF document is described in ISO 19444-1.

For the Flatten XFDF operation, the adapter expects an XFDF document which specifies the absolute path to the associated PDF form in the <f> element.

XML
<?xml version="1.0" encoding="UTF-8"?>
<xfdf xmlns:math="java.lang.Math" xmlns:cal="java.util.Calendar"
	xmlns:sdf="java.text.SimpleDateFormat" xmlns="http://ns.adobe.com/xfdf/">
	<fields>
		<field name="Firma">
			<value>SoftProject GmbH</value>
		</field>
		<field name="KDNr">
			<value>123567234</value>
		</field>
		<field name="Ort">
			<value>Ettlingen</value>
		</field>
		<field name="PLZ">
			<value>76275</value>
		</field>
		<field name="Strasse">
			<value>Am Erlengraben 3</value>
		</field>
	</fields>
	<f
    href="X4DB/1/Project/Resources/FormDocument.pdf" />
</xfdf>

Output

The output is a copy of the PDF form document referenced in the input with flat text.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.