PageInsertFlags
Namespace: datalogics_interface
Description
Insertion flags used by InsertPages().
Values
- None = 0
No insertion flags set; default behavior.
- Bookmarks = 0x0001
Insert bookmarks as well as pages.
- Threads = 0x0002
Insert articles as well.
- DoNotMergeFonts = 0x0008
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
- DoNotResolveInvalidStructureParentReferences = 0x0010
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.
- DoNotRemovePageInheritance = 0x0020
Do not remove page inheritance. This can slow down the performance when document has very large page tree.
- All = 0x1000
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.