Package org.verapdf.model.pdlayer
Interface PDAnnot
- All Known Subinterfaces:
PD3DAnnot,PDLinkAnnot,PDPrinterMarkAnnot,PDTrapNetAnnot,PDWidgetAnnot
annotation object
-
Method Summary
Modifier and TypeMethodDescriptiongetAlt()the Alt entry of parent structure elementgetAP()ampersand-separated list of all keys in the annotation's appearance dictionary (AP key)getCA()annotation opacity (CA key)true if the annotation dictionary contains the A entrytrue if the annotation dictionary contains the AA entrythe value of the /Contents entrygetF()annotation flagsgetFT()the value of the /FT entry (Field type), in case this is the widget annotation representing the form field, or null, if this entry is not presentthe height of the annotation computed as an absolute value of the difference of value 2 and value 4 of the Rect entrytrue, if annotation rectangle is outside page CropBoxthe type of the normal appearance entry (/N key) in the annotation appearance dictionary (/AP key) or null, if the normal appearance is not presentstruct parent element typeannotation subtypegetwidth()the width of the annotation computed as an absolute value of the difference of value 1 and value 3 of the Rect entryMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries
-
Method Details
-
getSubtype
String getSubtype()annotation subtype -
getCA
Double getCA()annotation opacity (CA key) -
getF
Long getF()annotation flags -
getAP
String getAP()ampersand-separated list of all keys in the annotation's appearance dictionary (AP key) -
getFT
String getFT()the value of the /FT entry (Field type), in case this is the widget annotation representing the form field, or null, if this entry is not present -
getN_type
String getN_type()the type of the normal appearance entry (/N key) in the annotation appearance dictionary (/AP key) or null, if the normal appearance is not present -
getwidth
Double getwidth()the width of the annotation computed as an absolute value of the difference of value 1 and value 3 of the Rect entry -
getheight
Double getheight()the height of the annotation computed as an absolute value of the difference of value 2 and value 4 of the Rect entry -
getcontainsA
Boolean getcontainsA()true if the annotation dictionary contains the A entry -
getcontainsAA
Boolean getcontainsAA()true if the annotation dictionary contains the AA entry -
getstructParentType
String getstructParentType()struct parent element type -
getContents
String getContents()the value of the /Contents entry -
getAlt
String getAlt()the Alt entry of parent structure element -
getisOutsideCropBox
Boolean getisOutsideCropBox()true, if annotation rectangle is outside page CropBox
-