Class GoToEAction

java.lang.Object
org.openpdf.renderer.action.PDFAction
org.openpdf.renderer.action.GoToEAction

public class GoToEAction extends PDFAction
Action directing to a location within an embedded PDF document
Since:
07.07.2009
Author:
Katja Sondermann
  • Constructor Details

    • GoToEAction

      public GoToEAction(PDFObject obj, PDFObject root) throws IOException
      Creates a new instance of GoToEAction from an object
      Parameters:
      obj - the PDFObject with the action information
      Throws:
      IOException - - in case the action can not be parsed
    • GoToEAction

      public GoToEAction(PDFDestination dest, String file, boolean newWindow)
      Create a new GoToEAction from the given attributes
      Parameters:
      dest -
      file -
      newWindow -
  • Method Details

    • getDestination

      public PDFDestination getDestination()
      Get the destination this action refers to
      Returns:
      PDFDestination
    • getFile

      public String getFile()
      Get the file this action refers to
      Returns:
      PDFDestination
    • isNewWindow

      public boolean isNewWindow()
      Should the remote file be opened in a new window?
      Returns:
      boolean
    • getTarget

      public GoToEAction.GoToETarget getTarget()
      Get the target dictionary
      Returns:
      GoToETarget