Package com.datalogics.PDFL
Enum Class PageInsertFlags
- All Implemented Interfaces:
Serializable,Comparable<PageInsertFlags>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInsert all Catalog and Info dictionary values as well as pages.Insert bookmarks as well as pages.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 fontsDo not remove page inheritance.Do not resolve invalid Parent References in the Structure Tree.Do not insert bookmarks, threads, or document data.Insert articles as well. -
Method Summary
Modifier and TypeMethodDescriptionstatic PageInsertFlagsReturns the enum constant of this class with the specified name.static PageInsertFlags[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
Do not insert bookmarks, threads, or document data. -
BOOKMARKS
Insert bookmarks as well as pages. -
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. -
THREADS
Insert articles as well. -
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_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. -
DO_NOT_REMOVE_PAGE_INHERITANCE
Do not remove page inheritance. This can slow down the performance when document has very large page tree.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-