|Mac & Win
The function sets optional flags to control the import of external PDF files.
|The PDF reference returned from DynaPDF.New.
|The new flags value.
Returns OK or error.
DescriptionThe function sets optional flags to control the import of external PDF files.
By default the plugin uses ifImportAll combined with ifImportAsPage.
|If set, all objects of an external PDF file are imported.
|If set, interactive objects such as annotations, bookmarks or form fields are excluded from import.
|If set, the visual contents of external pages will not be imported. This flag can be used to copy interactive objects from one file into another, such as interactive form fields.
|If set, pages are not converted to templates. This flag is useful if an imported page must not be used multiple times. Conversion to templates is recommended if multiple imported pages should appear on the same page; such overlapping pages can cause resource conflicts which produces unpredictable output.
|If set, catalog actions will be imported if any. The documents catalog is the root object of a PDF file, which can trigger actions when the file will be opened, closed, or printed. See AddActionToObj() for further information.
|If set, page actions are imported if any. A page action is an action that was added to the page itself, not an object of a page.
|If set, bookmarks are imported if any.
|If set, Articles are imported if any.
|If set, page labels are imported if any. If multiple files are imported, DynaPDF imports the page labels of the first file only.
|If set, thumb nail images are imported if any. Thumb nails can be dynamically created by Acrobat since Acrobat 5. The thumb nail images can be removed to reduce disk space.
|If set, transparency groups are imported if any. If transparency groups are removed the objects appear then opaque.
|If set, the separation information dictionary will be imported if any.
|If set, the bounding boxes artbox, bleedbox and trimbox are shown in user defined color. Note that the cropbox represents the current page; the page is already cropped if a cropbox was defined.
|If set, structure trees are imported if any. A structure tree contains information about the logical structure of a document. This information can be used by screen readers and other accessibility plug-ins to enable certain features. The information of a structure tree is not required to view or print a PDF document.
|If set, transition settings are import. A transition dictionary contains information about how a presentation should be displayed. These settings can be removed if the document should not be used in presentation mode.
|If set, the file path to an external search index will be imported if any.
|If set, document info entries are imported if any. Already existing entries are not overridden.
|If set, embedded files are imported.
|If set, the global definition of a collection is imported. The file attachments are still imported if the flag ifEmbeddedFiles is set. The PDF file is simply not longer marked as portable collection, also known as PDF Package. See also DynaPDF.CreateCollection.
|If set, all types of annotations are imported.
|This flag is meaningful only if the flag ifAllAnnots is clear. If set, FreeText annotations are imported if any.
|This flag is meaningful only if the flag ifAllAnnots is clear. If set, text annotations are imported if any.
|This flag is meaningful only if the flag ifAllAnnots is clear. If set, link annotations are imported if any. This annotation type is used for weblinks, page links, and file links.
|This flag is meaningful only if the flag ifAllAnnots is clear. If set, stamp annotations are imported if any.
|This flag is meaningful only if the flag ifAllAnnots is clear. If set, 3D annotations are imported if any.
|This flag is meaningful only if the flag ifAllAnnots is clear. If set, other annotation types as the ones listed above are imported if any.
|If set, interactive form fields are imported if any (also called AcroForm). Form fields are also annotations, but this type is handled separately.
|If set, LZW compressed streams are recompressed with Flate, the Interpolate key of images is deleted if set, embedded files are not imported.
|If set, only font objects are imported to enable high performance enumeration of the fonts used in a PDF file. The PDF file must be deleted with FreePDF() after the fonts were enumerated. See DynaPDF.EnumDocFonts for further information.
|If set, all types of link annotations are imported when importing a page within an open page with ImportPageEx(). The entire document should be imported in this case.
See also SetImportFlags function in DynaPDF manual.
Set import flags:
Set import flags with names:
Import and Export PDF:
- Version 13.4
- Added SkipDPartData option for DynaPDF.SetImportFlags2 function.
- DynaPDF/Add Page Numbers
- DynaPDF/Add Weblinks
- DynaPDF/Convert to PDFA
- DynaPDF/List ColorSpaces
- DynaPDF/PDF Library
- DynaPDF/Personalized PDFs
- DynaPDF/ZUGFeRD/ZUGFeRD Invoice
- DynaPDF/ZUGFeRD 2.0/ZUGFeRD 2.0 Invoice
- Example Script for DynaPDF.FindText and DynaPDF.WebLink
- FileMaker with ZUGFeRD 2.0 and Factur-X
- How to Convert a PDF document to a PDF/A
- Creating PDF/A in FileMaker with ZUGFeRD standard
- Creating PDF/A in FileMaker with ZUGFeRD standard
- MBS FileMaker Plugin, version 6.1pr2
- MBS Filemaker Plugin, version 4.1pr4
This function checks for a license.
Created 18th August 2014, last changed 27th May 2017