DynaPDF Manual - Page 546

Previous Page 545   Index   Next Page 547

Function Reference
Page 546 of 874
Return values:
If the function succeeds the return value is the number of imported bookmarks. If the function fails
the return value is a negative error code.
ImportCatalogObjects
Syntax:
LBOOL pdfImportCatalogObjects(
const PPDF* IPDF) // Instance pointer
The function imports global objects of the currently open import file such as bookmarks, JavaScripts,
embedded files, open actions, invisible page templates, rendering intents, the document info entries,
and certain other global properties such as the page mode or page layout.
These objects are normally imported by ImportPDFFile(). However, in cases where this function
cannot be used, it is possible to import the global objects manually if necessary.
Remarks:
The function considers the current import flags. If certain objects are not imported, check whether
the right import flags are set. See also SetImportFlags().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
ImportDocInfo
Syntax:
LBOOL pdfImportDocInfo(
const PPDF* IPDF) // Instance pointer
The function imports the document info entries from the currently opened import file. Already
existing entries are not overridden.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: HighlightAnnot, ImportBookmarks

Next topic: ImportEncryptionSettings, ImportOCProperties