StampType

The type of stamp a StampAnnotation has. The type influences how the the annotation is rendered and how other PDF applications handle editing it.

Constructors

Link copied to clipboard
constructor(@NonNull name: String)
Creates a StampType for the given name.

Properties

Link copied to clipboard
Rendered as a Tick.
Link copied to clipboard
Standard "Approved" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "As Is" stamp type as defined in the PDF specification.
Link copied to clipboard
"Completed" stamp type supported by Adobe Acrobat.
Link copied to clipboard
Standard "Confidential" stamp type as defined in the PDF specification.
Link copied to clipboard
Parcelable CREATOR for deserializing StampType instances from a Parcel.
Link copied to clipboard
Standard "Departmental" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "Draft" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "Experimental" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "Expired" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "Final" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "For Comment" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "For Public Release" stamp type as defined in the PDF specification.
Link copied to clipboard
"Information Only" stamp type supported by Adobe Acrobat.
Link copied to clipboard
"Initial Here" signature stamp type for marking where initials should be placed.
Link copied to clipboard
@get:NonNull
open val name: String
The name of this stamp type.
Link copied to clipboard
Standard "Not Approved" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "Not For Public Release" stamp type as defined in the PDF specification.
Link copied to clipboard
"Preliminary Results" stamp type supported by Adobe Acrobat.
Link copied to clipboard
Rendered as a Cross.
Link copied to clipboard
"Revised" stamp type supported by Adobe Acrobat.
Link copied to clipboard
"Sign Here" signature stamp type for marking where signatures should be placed.
Link copied to clipboard
Standard "Sold" stamp type as defined in the PDF specification.
Link copied to clipboard
Standard "Top Secret" stamp type as defined in the PDF specification.
Link copied to clipboard
"Void" stamp type supported by Adobe Acrobat.
Link copied to clipboard
"Witness" signature stamp type for marking witness signature locations.

Functions

Link copied to clipboard
open fun describeContents(): Int
Describes the kinds of special objects contained in this Parcelable instance.
Link copied to clipboard
open fun equals(o: Any): Boolean
Compares this stamp type to another object for equality based on the stamp name.
Link copied to clipboard
open fun hashCode(): Int
Returns a hash code value for this stamp type based on its name.
Link copied to clipboard
open fun isStandard(): Boolean
Checks whether this is a standard stamp type known to PSPDFKit, in which case the title and subtitle are supplied automatically based on the type.
Link copied to clipboard
open fun toString(): String
Returns a string representation of this stamp type.
Link copied to clipboard
open fun writeToParcel(parcel: Parcel, i: Int)
Flattens this stamp type into a Parcel.