Skip to main content

Import and export PDF files with attachments

ABBYY FlexiCapture can import PDF files with attachments. For instance, a PDF/A-3 file may contain a document image and an attached XML file containing standard field values. When the PDF file is imported, the attached file is imported as an attachment. You can export PDF files with attachments by using a script with the IExportImageSavingOptions object. The following types of PDF files can be exported:
  • PDF
  • PDF/A-3a
  • PDF/A-3b
  • PDF/A-3u
The following script exports a PDF/A-3 file with an attachment:

Creating searchable PDF files

To create searchable PDF files, enable the Create searchable PDF option in export settings. For a searchable PDF, search runs throughout the whole text of the document: the text layer is formed both from verified field values and from document areas outside those fields. For areas outside fields, full-text recognition is performed. In the Search text field, specify where to search: on all pages, on sections pages, or on annexes pages. The recognition language depends on the type of content:
  • For fields, the recognition language is specified on the Data type tab of the field properties.
  • For full-text recognition, the Document Definition language is used.
  • For annexes pages, you can select one or more languages (for multi-language documents) different from the language specified in the Document Definition. Click Select… to the right of the Language field and select the languages. By default, the language of the Document Definition is used.