All Implemented Interfaces:
COSObjectable

public final class PDDocumentOutline extends PDOutlineNode
This represents an outline in a pdf document.
Author:
Ben Litchfield
  • Constructor Details

    • PDDocumentOutline

      public PDDocumentOutline()
      Default Constructor.
    • PDDocumentOutline

      public PDDocumentOutline(COSDictionary dic)
      Constructor for an existing document outline.
      Parameters:
      dic - The storage dictionary.
  • Method Details

    • isNodeOpen

      public boolean isNodeOpen()
      Overrides:
      isNodeOpen in class PDOutlineNode
      Returns:
      true if this node count is greater than zero, false otherwise.
    • openNode

      public void openNode()
      Description copied from class: PDOutlineNode
      This will set this node to be open when it is shown in the viewer. By default, when a new node is created it will be closed. This will do nothing if the node is already open.
      Overrides:
      openNode in class PDOutlineNode
    • closeNode

      public void closeNode()
      Description copied from class: PDOutlineNode
      Close this node.
      Overrides:
      closeNode in class PDOutlineNode