Enum Class PageMode

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

public enum PageMode extends Enum<PageMode>
An enumerated data type used to describe the page view mode of a Document.
  • Enum Constant Details

    • NO_PREFERENCE

      public static final PageMode NO_PREFERENCE
      Leave the PageMode as is (default for a new Document)
    • DOCUMENT_ONLY

      public static final PageMode DOCUMENT_ONLY
      Display the Document without Bookmarks or Thumbnails (appears in the Document structure as "UseNone")
    • BOOKMARKS

      public static final PageMode BOOKMARKS
      Display the Document with the Bookmarks panel open (appears in the Document structure as "UseOutlines")
    • THUMBNAILS

      public static final PageMode THUMBNAILS
      Display the Document with the Thumbnails panel open
    • FULLSCREEN

      public static final PageMode FULLSCREEN
      Display the Document in full-screen mode
    • OPTIONAL_CONTENT

      public static final PageMode OPTIONAL_CONTENT
      Display the Document with the Layers panel open
    • ATTACHMENTS

      public static final PageMode ATTACHMENTS
      Display the Document with its attachments
  • Method Details

    • values

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