Enum Class PageInsertFlags

java.lang.Object
java.lang.Enum<PageInsertFlags>
com.datalogics.PDFL.PageInsertFlags
All Implemented Interfaces:
Serializable, Comparable<PageInsertFlags>, Constable

public enum PageInsertFlags extends Enum<PageInsertFlags>
  • Enum Constant Details

    • NONE

      public static final PageInsertFlags NONE
      Do not insert bookmarks, threads, or document data.
    • BOOKMARKS

      public static final PageInsertFlags BOOKMARKS
      Insert bookmarks as well as pages.
    • ALL

      public static final PageInsertFlags 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

      public static final PageInsertFlags THREADS
      Insert articles as well.
    • DO_NOT_MERGE_FONTS

      public static final PageInsertFlags 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

      public static final PageInsertFlags 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

      public static final PageInsertFlags 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

      public static PageInsertFlags[] 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

      public static PageInsertFlags valueOf(String name)
      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 name
      NullPointerException - if the argument is null