Class PDAnnotationRubberStamp
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation
org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationMarkup
org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationRubberStamp
- All Implemented Interfaces:
COSObjectable
This is the class that represents a rubber stamp annotation. Introduced in PDF 1.3 specification
- Author:
- Paul King
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringConstant for the name of a rubber stamp.static final StringThe type of annotation.Fields inherited from class PDAnnotationMarkup
RT_GROUP, RT_REPLY -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Creates a Rubber Stamp annotation from a COSDictionary, expected to be a correct object definition. -
Method Summary
Methods inherited from class PDAnnotationMarkup
getBorderStyle, getConstantOpacity, getCreationDate, getExternalData, getInReplyTo, getIntent, getPopup, getReplyType, getRichContents, getSubject, getTitlePopup, setBorderStyle, setConstantOpacity, setCreationDate, setExternalData, setInReplyTo, setIntent, setPopup, setReplyType, setRichContents, setSubject, setTitlePopupMethods inherited from class PDAnnotation
constructAppearances, constructAppearances, createAnnotation, equals, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceState, getBorder, getColor, getColor, getContents, getCOSObject, getModifiedDate, getNormalAppearanceStream, getOptionalContent, getPage, getRectangle, getStructParent, getSubtype, hashCode, isHidden, isInvisible, isLocked, isLockedContents, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceState, setAppearanceState, setBorder, setColor, setContents, setHidden, setInvisible, setLocked, setLockedContents, setModifiedDate, setModifiedDate, setNoRotate, setNoView, setNoZoom, setOptionalContent, setPage, setPrinted, setReadOnly, setRectangle, setStructParent, setSubtype, setToggleNoView
-
Field Details
-
NAME_APPROVED
-
NAME_EXPERIMENTAL
-
NAME_NOT_APPROVED
-
NAME_AS_IS
-
NAME_EXPIRED
-
NAME_NOT_FOR_PUBLIC_RELEASE
Constant for the name of a rubber stamp.- See Also:
-
NAME_FOR_PUBLIC_RELEASE
Constant for the name of a rubber stamp.- See Also:
-
NAME_DRAFT
-
NAME_FOR_COMMENT
-
NAME_TOP_SECRET
-
NAME_DEPARTMENTAL
-
NAME_CONFIDENTIAL
-
NAME_FINAL
-
NAME_SOLD
-
SUB_TYPE
-
-
Constructor Details
-
PDAnnotationRubberStamp
public PDAnnotationRubberStamp()Constructor. -
PDAnnotationRubberStamp
Creates a Rubber Stamp annotation from a COSDictionary, expected to be a correct object definition.- Parameters:
field- the PDF object to represent as a field.
-
-
Method Details
-
setName
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
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.
-