public class GFPDAnnot extends GFPDObject implements PDAnnot
| Modifier and Type | Field and Description |
|---|---|
static String |
A |
static String |
ADDITIONAL_ACTION |
static String |
ANNOTATION_TYPE |
static String |
APPEARANCE |
static String |
C |
static String |
DICT |
static String |
IC |
static int |
MAX_COUNT_OF_ACTIONS |
static String |
STREAM |
static int |
X_AXIS |
static int |
Y_AXIS |
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObjectcontextDependent| Constructor and Description |
|---|
GFPDAnnot(PDAnnotation annot,
PDResourcesHandler pageResources) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAP()
SPACE-separated list of all keys in the annotation's appearance dictionary (AP key)
|
Double |
getCA()
annotation opacity (CA key)
|
Boolean |
getcontainsA()
true if the annotation dictionary contains the A entry
|
Boolean |
getcontainsAA()
true if the annotation dictionary contains the AA entry
|
Long |
getF()
annotation flags
|
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
|
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
|
List<? extends Object> |
getLinkedObjects(String link) |
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
|
String |
getSubtype()
annotation subtype
|
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
|
addAction, getIDgetExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String ANNOTATION_TYPE
public static final String DICT
public static final String STREAM
public static final String APPEARANCE
public static final String C
public static final String IC
public static final String A
public static final String ADDITIONAL_ACTION
public static final int MAX_COUNT_OF_ACTIONS
public static final int X_AXIS
public static final int Y_AXIS
public GFPDAnnot(PDAnnotation annot, PDResourcesHandler pageResources)
public String getSubtype()
PDAnnotgetSubtype in interface PDAnnotpublic String getAP()
PDAnnotpublic String getN_type()
PDAnnotpublic String getFT()
PDAnnotpublic Double getwidth()
PDAnnotpublic Double getheight()
PDAnnotpublic Boolean getcontainsAA()
PDAnnotgetcontainsAA in interface PDAnnotpublic Boolean getcontainsA()
PDAnnotgetcontainsA in interface PDAnnotpublic List<? extends Object> getLinkedObjects(String link)
getLinkedObjects in interface ObjectgetLinkedObjects in class GenericModelObjectlink - - the name of a linkCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.