Class StampAnnotation

java.lang.Object
org.loboevolution.pdfview.annotation.PDFAnnotation
org.loboevolution.pdfview.annotation.StampAnnotation
Direct Known Subclasses:
FreetextAnnotation

public class StampAnnotation extends PDFAnnotation
************************************************************************** PDF annotation describing a stamp

Author Katja Sondermann

Since:
26.03.2012 **************************************************************************
  • Constructor Details

    • StampAnnotation

      public StampAnnotation(PDFObject annotObject, PDFAnnotation.ANNOTATION_TYPE type) throws IOException
      ********************************************************************** Constructor
      Parameters:
      annotObject - a PDFObject object.
      type - a ANNOTATION_TYPE object.
      Throws:
      IOException - if any.
    • StampAnnotation

      public StampAnnotation(PDFObject annotObject) throws IOException
      ********************************************************************** Constructor
      Parameters:
      annotObject - a PDFObject object.
      Throws:
      IOException - if any.
  • Method Details

    • switchAppearance

      public void switchAppearance()

      switchAppearance.

    • getCurrentAppearance

      public PDFObject getCurrentAppearance()

      getCurrentAppearance.

      Returns:
      a PDFObject object.
    • getCurrentCommand

      public List<PDFCmd> getCurrentCommand()

      getCurrentCommand.

      Returns:
      a List object.
    • getPageCommandsForAnnotation

      public List<PDFCmd> getPageCommandsForAnnotation()
      Get list of pdf commands for this annotation
      Overrides:
      getPageCommandsForAnnotation in class PDFAnnotation
      Returns:
      a List object.