java.lang.Object
org.apache.pdfbox.pdmodel.interactive.action.type.PDAction
org.apache.pdfbox.pdmodel.interactive.action.type.PDActionGoTo
All Implemented Interfaces:
COSObjectable, PDDestinationOrAction

public class PDActionGoTo extends PDAction
This represents a go-to action that can be executed in a PDF document.
Version:
$Revision: 1.2 $
Author:
Ben Litchfield, Panagiotis Toumasis (ptoumasis@mail.gr)
  • Field Details

  • Constructor Details

    • PDActionGoTo

      public PDActionGoTo()
      Default constructor.
    • PDActionGoTo

      public PDActionGoTo(COSDictionary a)
      Constructor.
      Parameters:
      a - The action dictionary.
  • Method Details

    • getDestination

      public PDDestination getDestination() throws IOException
      This will get the destination to jump to.
      Returns:
      The D entry of the specific go-to action dictionary.
      Throws:
      IOException - If there is an error creating the destination.
    • setDestination

      public void setDestination(PDDestination d)
      This will set the destination to jump to.
      Parameters:
      d - The destination.