public interface TextMarkup extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_HIGHLIGHT
Deprecated.
|
static int |
TYPE_INSERT
Deprecated.
|
static int |
TYPE_REPLACEMENT
Deprecated.
|
static int |
TYPE_SQUIGGLY
Deprecated.
|
static int |
TYPE_STRIKEOUT
Deprecated.
|
static int |
TYPE_UNDERLINE
Deprecated.
|
BORDERSTYLE_BEVELED, BORDERSTYLE_CLOUD, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY
Modifier and Type | Method and Description |
---|---|
String |
getIntent()
returns intent for this annotation
|
int |
getMarkupType()
Deprecated.
Use Annotation.getSubtype() instead. Possible values are
Highlight, Underline, StrikeOut, Squiggly.
|
Vector |
getQuadList()
Returns a list of the quadrilaterals that compose this annotation.
|
String |
getText(IPDFPage page) |
void |
setContents(String contents)
Sets the text content for this annotation.
|
void |
setQuadList(Vector quadList)
Sets the list of quadrilaterals that compose this annotation.
|
void |
setRectangleFromQuads()
Convenience method to set the annotation rectangle from the quadrilaterals.
|
void |
setSubtype(String subtype)
Sets the annotation's subtype.
|
getActions, getBorderStyle, getBorderWidth, getCheckmarkStatus, getColor, getComponent, getContents, getCreator, getFlags, getModifiedDate, getName, getOpacity, getRectangle, getReviewHistory, getSubject, getSubtype, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreator, setFlags, setHidden, setInvisible, setLayer, setLocked, setModifiedDate, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPrintable, setReadOnly, setRectangle, setSubject, setTriggerActions, shiftRectangle
static final int TYPE_HIGHLIGHT
static final int TYPE_UNDERLINE
static final int TYPE_SQUIGGLY
static final int TYPE_STRIKEOUT
static final int TYPE_REPLACEMENT
static final int TYPE_INSERT
int getMarkupType()
void setContents(String contents)
contents
- the new comment.Vector getQuadList()
void setQuadList(Vector quadList)
quadList
- The new list of quadrilaterals.void setRectangleFromQuads()
String getIntent()
String getText(IPDFPage page) throws PDFPermissionException
page
- The page the annotation is located on.PDFPermissionException
void setSubtype(String subtype)
setSubtype
in interface Annotation
subtype
- The type of the markup annotation. Possible values are Highlight,
Underline, StrikeOut, Squiggly.