DynaPDF Manual - Page 747

Previous Page 746   Index   Next Page 748

Function Reference
Page 747 of 839
information about how a presentation should be displayed. These
settings can be removed if the document should not be used in
presentation mode.
ifSearchIndex
If set, the file path to an external search index will be imported if any.
ifJavaScript
If set, global JavaScripts are imported if any. Note that JavaScript
actions can use the functions defined in global JavaScripts. If these
scripts are removed, JavaScript actions must normally also removed to
avoid errors. However, it is often useful to remove the scripts for certain
debug operations.
ifJSActions
If set, JavaScript actions are imported if any. This flag is useful if an
imported form contains JavaScripts which produces errors or warnings.
For instance, a document can define certain scripts which may require
specific settings such as a document info string and so on. It is then
often difficult to determine which object produces the error or warning
because it can be a JavaScript action or a global JavaScript. In such
cases, JavaScript actions can be excluded temporarily to check whether
the error still occurs.
ifDocInfo
If set, document info entries are imported if any. Already existing
entries are not overridden.
ifEmbeddedFiles
If set, embedded files are imported.
ifFileCollections
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 CreateCollection().
ifAllAnnots
If set, all types of annotations are imported.
ifFreeText
This flag is meaningful only if the flag ifAllAnnots is clear. If set,
FreeText annotations are imported if any.
ifTextAnnot
This flag is meaningful only if the flag ifAllAnnots is clear. If set, text
annotations are imported if any.
ifLink
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.
 

Previous topic: SetImportFlags

Next topic: SetImportFlags2