Package org.verapdf.model.pdlayer
Interface PDAnnot
- All Known Subinterfaces:
PD3DAnnot,PDFileAttachmentAnnot,PDInkAnnot,PDLinkAnnot,PDMarkupAnnot,PDMovieAnnot,PDPopupAnnot,PDPrinterMarkAnnot,PDRichMediaAnnot,PDRubberStampAnnot,PDScreenAnnot,PDSoundAnnot,PDTrapNetAnnot,PDWatermarkAnnot,PDWidgetAnnot
- All Known Implementing Classes:
GFPD3DAnnot,GFPDAnnot,GFPDFileAttachmentAnnot,GFPDInkAnnot,GFPDLinkAnnot,GFPDMarkupAnnot,GFPDMovieAnnot,GFPDPopupAnnot,GFPDPrinterMarkAnnot,GFPDRichMediaAnnot,GFPDRubberStampAnnot,GFPDScreenAnnot,GFPDSoundAnnot,GFPDTrapNetAnnot,GFPDWatermarkAnnot,GFPDWidgetAnnot
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 entrytrue if the annotation dictionary contains the C entrytrue if the annotation dictionary contains the IC 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 this annotation is contained in an Artifact structure element (directly or indirectly)true, 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 presentindirect object number and generation number of the parent struct element of the annotationstruct parent element standard typestruct 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, getobjectKey
-
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 -
getcontainsC
Boolean getcontainsC()true if the annotation dictionary contains the C entry -
getcontainsIC
Boolean getcontainsIC()true if the annotation dictionary contains the IC entry -
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 -
getstructParentStandardType
String getstructParentStandardType()struct parent element standard type -
getstructParentObjectKey
String getstructParentObjectKey()indirect object number and generation number of the parent struct element of the annotation -
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 -
getisArtifact
Boolean getisArtifact()true if this annotation is contained in an Artifact structure element (directly or indirectly)
-