X4 Produktdokumentation

PDF Form

symbol_adapter-pdfformular.png

PDF Form: Creates a PDF document with or without form fields from FDF/XFDF form data, extracts an FDF file from a PDF form document, converts form field values, or converts a PDF form document to a flat PDF document.

Note:

The FDF/XFDF form data is stored in a text or XML document. This form data document must contain an absolute path to a PDF form document that serves as a template for the PDF document to be created (not relevant for the Export FDF and Flatten operations).

Properties

Operation

Defines the operation executed by the function adapter

Possible values:

  • Flatten XFDF: Write XFDF data to a PDF form document (convert form fields to text)

  • Flatten FDF: Write FDF data to a PDF form document (convert form fields to text)

  • Export FDF: Extract FDF data from a PDF form document

  • Import XFDF: Write XFDF data to a PDF form document (preserve form fields)

  • Import FDF: Write FDF data to a PDF form document (preserve form fields)

  • Set Fields: Set form field values and, if necessary, convert the form fields to text in the output PDF document

  • Flatten: Convert a PDF form document to a flat PDF document (convert form fields to text)

Parameters

PreserveExtendedAttributes

When using the Set Fields operation, preserve the extended attributes in the PDF document if flatten="false" has been defined for a form field in the input XML to ensure that form fields remain editable.

Possible values:

  • yes: Once the form fields have been filled in, preserve the extended attributes (default)

  • no: Do not preserve extended attributes for the form fields in the PDF document (this is the same behavior as in previous versions of this adapter and is only relevant for compatibility issues)

Status values

1

The operation was successful.

-1

The operation failed due to a technical error.