PDF Adapter

The PDF Adapter works with Acrobat forms and templates to generate a PDF document or extract data from all or part of an input PDF document.

In Link, use the Generate button when configuring a PDF action, or card to generate an XSD schema and an associated name-lookup file from the Acrobat form (AcroForm) of a PDF document. The generated name-lookup file will have the same name as the PDF document, except it will have the .names extension. The file reference for it will automatically be created in Link, and can be accessed from the Files menu. If the file reference is not immediately visible in the list after importing the schema, you might need to refresh the list by exiting the project and entering it again. the name-lookup file is required to generate formatted PDF output. The name-lookup file maps each type in the schema to the corresponding AcroForm field name, as follows:

schema_type_name=AcroForm_field_name

You can use the native XML schema for mapping, but do not edit the names in the schema. To change schema field names, edit the AcroForm and import the native schema (.xsd) from the PDF document again. On output, the PDF Adapter can generate a formatted PDF file from an Acrobat form, or AcroForm template. Without a template, the adapter can create a PDF file that contains unformatted text.