public class PBoxPDAnnot extends PBoxPDObject 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 String |
LANG |
static String |
LINK |
static int |
MAX_COUNT_OF_ACTIONS |
static String |
PRINTER_MARK |
static String |
STREAM |
static String |
TRAP_NET |
static String |
TYPE_3D |
static String |
WIDGET |
static int |
X_AXIS |
static int |
Y_AXIS |
cMap, contentStream, MAX_NUMBER_OF_ELEMENTS, pdFontLike, simplePDObjectcontextDependent| Constructor and Description |
|---|
PBoxPDAnnot(PDAnnotation annot,
PDResources pageResources,
PDDocument document,
PDFAFlavour flavour) |
PBoxPDAnnot(PDAnnotation annot,
PDResources pageResources,
PDDocument document,
PDFAFlavour flavour,
String type) |
| Modifier and Type | Method and Description |
|---|---|
static PBoxPDAnnot |
createAnnot(PDAnnotation annot,
PDResources pageResources,
PDDocument document,
PDFAFlavour flavour) |
String |
getAlt()
the Alt entry of parent structure element
|
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
|
String |
getContents()
the value of the /Contents 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
|
Boolean |
getisOutsideCropBox()
true, if annotation rectangle is outside page CropBox
|
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 |
getstructParentType()
struct parent element type
|
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, getIDgetContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getExtraContext, 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 String LANG
public static final String LINK
public static final String PRINTER_MARK
public static final String WIDGET
public static final String TRAP_NET
public static final String TYPE_3D
public static final int MAX_COUNT_OF_ACTIONS
public static final int X_AXIS
public static final int Y_AXIS
public PBoxPDAnnot(PDAnnotation annot, PDResources pageResources, PDDocument document, PDFAFlavour flavour, String type)
public PBoxPDAnnot(PDAnnotation annot, PDResources pageResources, PDDocument document, PDFAFlavour flavour)
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 String getstructParentType()
PDAnnotgetstructParentType in interface PDAnnotpublic String getContents()
PDAnnotgetContents in interface PDAnnotpublic String getAlt()
PDAnnotpublic Boolean getisOutsideCropBox()
PDAnnotgetisOutsideCropBox 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 linkpublic static PBoxPDAnnot createAnnot(PDAnnotation annot, PDResources pageResources, PDDocument document, PDFAFlavour flavour)
Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.