Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 682

Previous Page 681   Index   Next Page 683

Function Reference
Page 682 of 766
#define ifSearchIndex
0x00001000 // External search index
#define ifJavaScript
0x00002000 // Global JavaScripts
#define ifJSActions
0x00004000 // JavaScript actions
#define ifDocInfo
0x00008000 // Document info entries
#define ifEmbeddedFiles
0x00200000 // File attachments
#define ifFileCollections
0x00400000 // File collections (PDF 1.7)
#define ifAllAnnots
0x009F0000 // All annotations
#define ifFreeText
0x00010000 // FreeText annotations
#define ifTextAnnot
0x00020000 // Text annotations
#define ifLink
0x00040000 // Link annotations
#define ifStamp
0x00080000 // Stamp annotations
#define if3DAnnot
0x00100000 // 3D annotations
#define ifOtherAnnots
0x00800000 // Other annotations
#define ifFormFields
0x01000000 // Interactive form fields
#define ifPieceInfo
0x02000000 // Private data. See description.
/* -------------------- Special flags -------------------- */
#define ifPrepareForPDFA
0x10000000 // See description
#define ifEnumFonts
0x20000000 // Import fonts for EnumDocFonts()
#define ifAllPageObjects
0x40000000 // Import links with ImportPageEx()
The function sets optional flags to control the import of external PDF files. The flags are ignored by
the function ImportPage(). ImportPageEx() ignores the flags too if the page is imported outside of an
open page (see ImportPageEx() for further information). The flags are defined as a bit-mask; multiple
flags can be combined by using a bitwise or operator.
A second set of flags can be set with SetImportFlags2().
This function cannot fail; the return value is always 1.
Flag
Description
ifImportAll
If set, all objects of an external PDF file are imported.
ifContentOnly
If set, interactive objects are excluded from import.
ifNoContent
If set, the visual contents of external pages will not be imported. This
flag can be used to copy interactive objects from one file to another.
ifImportAsPage
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 since overlapping pages can cause resource conflicts.
ifCatalogAction
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.
 

Previous topic: SetImportFlags

Next topic: SetImportFlags2