Enum document

PageInsertFlags

Namespace: com::datalogics::PDFL

Values

ALL

Insert all Catalog and Info dictionary values as well as pages. The bookmark tree of the inserted document is merged into the bookmark tree of the target document by copying it as a new first-level subtree of that document's bookmark tree root, of which it becomes the last child. If the target document has no bookmark tree, it acquires one identical to the bookmark tree from the source document.

BOOKMARKS

Insert bookmarks as well as pages.

DO_NOT_MERGE_FONTS

Do not merge duplicate fonts on merge: may result in larger files when saved, but can show performance benefits when inserting a page that uses a large number of fonts

DO_NOT_REMOVE_PAGE_INHERITANCE

Do not remove page inheritance. This can slow down the performance when document has very large page tree.

DO_NOT_RESOLVE_INVALID_STRUCTURE_PARENT_REFERENCES

Do not resolve invalid Parent References in the Structure Tree. This is not necessary in most cases and can show performance benefits for a document with a complicated Structure Tree.

NONE

Do not insert bookmarks, threads, or document data.

THREADS

Insert articles as well.