Class LinkAnnotation

java.lang.Object
org.loboevolution.pdfview.annotation.PDFAnnotation
org.loboevolution.pdfview.annotation.LinkAnnotation

public class LinkAnnotation extends PDFAnnotation
************************************************************************** PDF annotation describing a link to either a location within the current document, a location in another PDF file, an application/file to be opened or a web site. In the PDF structure a link can be a destination ("DEST") or an action ("A"). Both ways are handled as actions internally, i.e. for getting the links destination, you should get the action from this annotation object. It can be one of the following actions:

GotoAction - for a file internal destination

GoToRAction - for a destination in a remote PDF file

GoToEAction - for a destination in an embedded PDF file

UriAction - for a web link

LaunchAction - for launching an application/opening a file

Author Katja Sondermann

Since:
06.07.2009 **************************************************************************
  • Constructor Details

    • LinkAnnotation

      public LinkAnnotation(PDFObject annotObject) throws IOException
      ********************************************************************** Constructor
      Parameters:
      annotObject - a PDFObject object.
      Throws:
      IOException - if any.