DynaPDF Manual - Page 517

Previous Page 516   Index   Next Page 518

Function Reference
Page 517 of 839
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