public abstract class MarkupAnnotation extends Annotation
| Modifier and Type | Field and Description |
|---|---|
static Name |
CA_KEY
(Optional; PDF 1.4) The constant opacity value that shall be used in
painting the annotation (see Sections 11.2, “Overview of Transparency,”
and 11.3.7, “Shape and Opacity Computations”).
|
static Name |
CREATION_DATE_KEY
(Optional; PDF 1.5) The date and time (7.9.4, “Dates”) when the
annotation was created.
|
protected PDate |
creationDate |
static Name |
EX_DATA_KEY
(Optional; PDF 1.7) An external data dictionary specifying data that shall
be associated with the annotation.
|
protected MarkupAnnotation |
inReplyToAnnotation |
protected Name |
intent |
static Name |
IRT_KEY
(Required if an RT entry is present, otherwise optional; PDF 1.5) A
reference to the annotation that this annotation is “in reply to.” Both
annotations shall be on the same page of the document.
|
static Name |
IT_KEY
(Optional; PDF 1.6) A name describing the intent of the markup annotation.
|
protected float |
opacity |
static Name |
POPUP_KEY
(Optional; PDF 1.3) An indirect reference to a pop-up annotation for
entering or editing the text associated with this annotation.
|
protected PopupAnnotation |
popupAnnotation |
static Name |
RC_KEY
(Optional; PDF 1.5) A rich text string (see 12.7.3.4, “Rich Text Strings”)
that shall be displayed in the pop-up window when the annotation is opened.
|
protected Name |
replyToRelation |
protected java.lang.String |
richText |
static Name |
RT_KEY
Optional; meaningful only if IRT is present; PDF 1.6) A name specifying
the relationship (the “reply type”) between this annotation and one
specified by IRT.
|
static Name |
SUBJ_KEY
(Optional; PDF 1.5) Text representing a short description of the subject
being addressed by the annotation.
|
protected java.lang.String |
subject |
static Name |
T_KEY
Optional; PDF 1.1) The text label that shall be displayed in the title bar
of the annotation’s pop-up window when open and active.
|
protected java.lang.String |
titleText |
ACTION_KEY, APPEARANCE_STATE_KEY, APPEARANCE_STREAM_DOWN_KEY, APPEARANCE_STREAM_KEY, APPEARANCE_STREAM_NORMAL_KEY, APPEARANCE_STREAM_ROLLOVER_KEY, appearances, BBOX_VALUE, border, BORDER_DASH, BORDER_HORIZONTAL_CORNER_RADIUS, BORDER_KEY, BORDER_STYLE_KEY, BORDER_VERTICAL_CORNER_RADIUS, BORDER_WIDTH, borderStyle, canDrawBorder, changeSupport, color, COLOR_KEY, compressAppearanceStream, content, CONTENTS_KEY, currentAppearance, FLAG_HIDDEN, FLAG_INVISIBLE, FLAG_KEY, FLAG_LOCKED, FLAG_LOCKED_CONTENTS, FLAG_NO_ROTATE, FLAG_NO_VIEW, FLAG_NO_ZOOM, FLAG_PRINT, FLAG_READ_ONLY, FLAG_TOGGLE_NO_VIEW, hasBlendingMode, INVISIBLE_RECTANGLE, M_KEY, modifiedDate, NM_KEY, PARENT_KEY, PARENT_PAGE_KEY, RECTANGLE_KEY, RESOURCES_VALUE, securityManager, subtype, SUBTYPE_CIRCLE, SUBTYPE_FREE_TEXT, SUBTYPE_HIGHLIGHT, SUBTYPE_INK, SUBTYPE_LINE, SUBTYPE_LINK, SUBTYPE_POLYGON, SUBTYPE_POLYLINE, SUBTYPE_POPUP, SUBTYPE_SQUARE, SUBTYPE_TEXT, SUBTYPE_WIDGET, TYPE, TYPE_VALUE, userSpaceRectangle, VISIBLE_RECTANGLEentries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
MarkupAnnotation(Library l,
java.util.HashMap h) |
| Modifier and Type | Method and Description |
|---|---|
PDate |
getCreationDate() |
MarkupAnnotation |
getInReplyToAnnotation() |
Name |
getIntent() |
float |
getOpacity() |
PopupAnnotation |
getPopupAnnotation() |
Name |
getReplyToRelation() |
java.lang.String |
getRichText() |
java.lang.String |
getSubject() |
java.lang.String |
getTitleText() |
void |
init()
Initiate the Dictionary.
|
void |
setCreationDate(java.lang.String creationDate) |
void |
setInReplyToAnnotation(MarkupAnnotation inReplyToAnnotation) |
void |
setPopupAnnotation(PopupAnnotation popupAnnotation) |
void |
setRichText(java.lang.String richText) |
void |
setSubject(java.lang.String subject) |
void |
setTitleText(java.lang.String titleText) |
java.lang.String |
toString()
Returns a summary of the dictionary entries.
|
addAction, addPropertyChangeListener, allowAlterProperties, allowPrintNormalMode, allowScreenDownMode, allowScreenNormalMode, allowScreenOrPrintRenderingOrInteraction, allowScreenRolloverMode, buildAnnotation, deleteAction, deriveDrawingRectangle, getAction, getAppearances, getAppearanceStream, getBbox, getBorder, getBorderStyle, getBorderStyleStroke, getBorderType, getColor, getContents, getCurrentAppearance, getFlagHidden, getFlagInvisible, getFlagLocked, getFlagLockedContents, getFlagNoRotate, getFlagNoView, getFlagNoZoom, getFlagPrint, getFlagReadOnly, getFlagToggleNoView, getLineStyle, getLineThickness, getOrGenerateAppearanceForm, getPage, getParentAnnotation, getShapes, getSubType, getUserSpaceRectangle, hasAppearanceStream, isBorder, isSupportedAnnotationType, render, renderAppearanceStream, renderBorder, renderBorderTabSelected, resetAppearanceStream, resetAppearanceStream, resetNullAppearanceStream, setBBox, setBorderStyle, setColor, setCompressAppearanceStream, setContents, setCurrentAppearance, setFlag, setModifiedDate, setSubtype, setUserSpaceRectangle, syncBBoxToUserSpaceRectangle, updateActiongetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReferencepublic static final Name T_KEY
public static final Name CA_KEY
public static final Name RC_KEY
public static final Name CREATION_DATE_KEY
public static final Name IRT_KEY
public static final Name SUBJ_KEY
public static final Name POPUP_KEY
public static final Name RT_KEY
public static final Name IT_KEY
public static final Name EX_DATA_KEY
protected java.lang.String titleText
protected PopupAnnotation popupAnnotation
protected float opacity
protected java.lang.String richText
protected PDate creationDate
protected MarkupAnnotation inReplyToAnnotation
protected java.lang.String subject
protected Name replyToRelation
protected Name intent
public MarkupAnnotation(Library l, java.util.HashMap h)
public void init()
Dictionaryinit in class Annotationpublic java.lang.String getTitleText()
public PopupAnnotation getPopupAnnotation()
public float getOpacity()
public java.lang.String getRichText()
public PDate getCreationDate()
public MarkupAnnotation getInReplyToAnnotation()
public java.lang.String getSubject()
public Name getReplyToRelation()
public Name getIntent()
public void setTitleText(java.lang.String titleText)
public void setPopupAnnotation(PopupAnnotation popupAnnotation)
public void setRichText(java.lang.String richText)
public void setCreationDate(java.lang.String creationDate)
public void setInReplyToAnnotation(MarkupAnnotation inReplyToAnnotation)
public void setSubject(java.lang.String subject)
public java.lang.String toString()
DictionarytoString in class Annotation