public class PdfTextAnnotation extends PdfMarkupAnnotation
inReplyTo, popup
Accepted, Canceled, Completed, HIDDEN, HIGHLIGHT_INVERT, HIGHLIGHT_NONE, HIGHLIGHT_OUTLINE, HIGHLIGHT_PUSH, HIGHLIGHT_TOGGLE, INVISIBLE, LOCKED, LOCKED_CONTENTS, Marked, MarkedModel, NO_ROTATE, NO_VIEW, NO_ZOOM, None, page, PRINT, READ_ONLY, Rejected, ReviewModel, STYLE_BEVELED, STYLE_DASHED, STYLE_INSET, STYLE_SOLID, STYLE_UNDERLINE, TOGGLE_NO_VIEW, Unmarked
Constructor and Description |
---|
PdfTextAnnotation(PdfDictionary pdfObject)
Deprecated.
Use
PdfAnnotation.makeAnnotation(PdfObject) instead. Will be made protected in 7.1
|
PdfTextAnnotation(Rectangle rect) |
Modifier and Type | Method and Description |
---|---|
PdfName |
getIconName()
The name of an icon that is used in displaying the annotation.
|
boolean |
getOpen()
A flag specifying whether the annotation shall initially be displayed open.
|
PdfString |
getState() |
PdfString |
getStateModel() |
PdfName |
getSubtype()
Gets a PdfName which value is a subtype of this annotation.
|
PdfTextAnnotation |
setIconName(PdfName name)
The name of an icon that is used in displaying the annotation.
|
PdfTextAnnotation |
setOpen(boolean open)
Sets a flag specifying whether the annotation shall initially be displayed open.
|
PdfTextAnnotation |
setState(PdfString state) |
PdfTextAnnotation |
setStateModel(PdfString stateModel) |
getBorderEffect, getCreationDate, getDefaultAppearance, getExternalData, getInReplyTo, getInReplyToObject, getIntent, getInteriorColor, getJustification, getOpacity, getPopup, getPopupObject, getRectangleDifferences, getReplyType, getRichText, getSubject, getText, setBorderEffect, setCreationDate, setDefaultAppearance, setExternalData, setInReplyTo, setIntent, setInteriorColor, setInteriorColor, setJustification, setOpacity, setPopup, setRectangleDifferences, setReplyType, setRichText, setSubject, setText
flush, getAction, getAdditionalAction, getAppearanceCharacteristics, getAppearanceDictionary, getAppearanceObject, getAppearanceState, getBorder, getBorderStyle, getColorObject, getContents, getDate, getDownAppearanceObject, getFlags, getName, getNormalAppearanceObject, getPage, getPageObject, getQuadPoints, getRectangle, getRolloverAppearanceObject, getStructParentIndex, getTitle, hasFlag, isWrappedObjectMustBeIndirect, makeAnnotation, makeAnnotation, put, remove, resetFlag, setAction, setAdditionalAction, setAppearance, setAppearance, setAppearanceCharacteristics, setAppearanceState, setBorder, setBorderStyle, setBorderStyle, setColor, setColor, setColor, setContents, setContents, setDashPattern, setDate, setDownAppearance, setDownAppearance, setFlag, setFlags, setLayer, setName, setNormalAppearance, setNormalAppearance, setPage, setQuadPoints, setRectangle, setRolloverAppearance, setRolloverAppearance, setStructParentIndex, setTitle
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public PdfTextAnnotation(Rectangle rect)
@Deprecated public PdfTextAnnotation(PdfDictionary pdfObject)
PdfAnnotation.makeAnnotation(PdfObject)
instead. Will be made protected in 7.1
pdfObject
- object representing this annotation
public PdfName getSubtype()
PdfAnnotation
PdfName
which value is a subtype of this annotation. See ISO-320001 12.5.6, "Annotation Types" for the reference to the possible types.
getSubtype
in class PdfAnnotation
public PdfString getState()
public PdfTextAnnotation setState(PdfString state)
public PdfString getStateModel()
public PdfTextAnnotation setStateModel(PdfString stateModel)
public boolean getOpen()
getOpen
in class PdfAnnotation
public PdfTextAnnotation setOpen(boolean open)
setOpen
in class PdfAnnotation
open
- true if annotation shall initially be open, false - if closed.
PdfTextAnnotation
instance.
public PdfName getIconName()
setIconName(PdfName)
.
getIconName
in class PdfMarkupAnnotation
PdfName
that specifies the icon for displaying annotation, or null if icon name is not specified.
public PdfTextAnnotation setIconName(PdfName name)
setIconName
in class PdfMarkupAnnotation
name
- a PdfName
that specifies the icon for displaying annotation. Possible values are:
PdfTextAnnotation
instance.
Copyright © 1998–2018 iText Group NV. All rights reserved.