|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface representing a Text Markup annotation in a PDF document. Text markup annotations are a way to mark text in a document by highlighting, crossing out, or underlining.
| Field Summary | |
static int |
TYPE_HIGHLIGHT
|
static int |
TYPE_INSERT
|
static int |
TYPE_REPLACEMENT
|
static int |
TYPE_SQUIGGLY
|
static int |
TYPE_STRIKEOUT
|
static int |
TYPE_UNDERLINE
|
| Fields inherited from interface com.qoppa.pdf.annotations.Annotation |
BORDERSTYLE_BEVELED, BORDERSTYLE_DASHED, BORDERSTYLE_INSETS, BORDERSTYLE_SOLID, BORDERSTYLE_UNDERLINE, FLAGS_HIDDEN, FLAGS_INVISIBLE, FLAGS_LOCKED, FLAGS_NOROTATE, FLAGS_NOVIEW, FLAGS_NOZOOM, FLAGS_PRINTABLE, FLAGS_READONLY |
| Method Summary | |
String |
getIntent()
returns intent for this annotation |
int |
getMarkupType()
Gets the type of markup that this annotation represents. |
Vector |
getQuadList()
Returns a list of the quadrilaterals that compose this annotation. |
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. |
| Methods inherited from interface com.qoppa.pdf.annotations.Annotation |
getActions, getBorderStyle, getBorderWidth, getColor, getComponent, getContents, getCreationDate, getCreator, getFlags, getName, getOpacity, getRectangle, getSubtype, getTriggerActions, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrintable, isReadOnly, paint, paint, print, revalidate, setActions, setBorderStyle, setBorderWidth, setColor, setComponent, setComponentVisible, setCreationDate, setCreator, setFlags, setHidden, setInvisible, setLayer, setLocked, setName, setNoRotate, setNoView, setNoZoom, setOpacity, setPrintable, setReadOnly, setRectangle, setSubtype, setTriggerActions, shiftRectangle |
| Field Detail |
public static final int TYPE_HIGHLIGHT
public static final int TYPE_UNDERLINE
public static final int TYPE_SQUIGGLY
public static final int TYPE_STRIKEOUT
public static final int TYPE_REPLACEMENT
public static final int TYPE_INSERT
| Method Detail |
public int getMarkupType()
public void setContents(String contents)
contents - the new comment.public Vector getQuadList()
public void setQuadList(Vector quadList)
quadList - The new list of quadrilaterals.public void setRectangleFromQuads()
public String getIntent()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||