Class PDAnnotationRubberStamp

All Implemented Interfaces:
COSObjectable

public class PDAnnotationRubberStamp extends PDAnnotationMarkup
This is the class that represents a rubber stamp annotation. Introduced in PDF 1.3 specification
Version:
$Revision: 1.2 $
Author:
Paul King
  • Field Details

  • Constructor Details

    • PDAnnotationRubberStamp

      public PDAnnotationRubberStamp()
      Constructor.
    • PDAnnotationRubberStamp

      public PDAnnotationRubberStamp(COSDictionary field)
      Creates a Rubber Stamp annotation from a COSDictionary, expected to be a correct object definition.
      Parameters:
      field - the PDF objet to represent as a field.
  • Method Details

    • setName

      public void setName(String name)
      This will set the name (and hence appearance, AP taking precedence) For this annotation. See the NAME_XXX constants for valid values.
      Parameters:
      name - The name of the rubber stamp.
    • getName

      public String getName()
      This will retrieve the name (and hence appearance, AP taking precedence) For this annotation. The default is DRAFT.
      Returns:
      The name of this rubber stamp, see the NAME_XXX constants.