public final class PopupAnnotation extends Annotation
Represents the pop-up annotation that displays text in a pop-up window for entry and editing.
_disableUpdateAppearance
Constructor and Description |
---|
PopupAnnotation(IDocument document)
Constructor. for using in Generator.
|
PopupAnnotation(Page page,
Rectangle rect)
Creates new Popup annotation on the specified page.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
|
int |
getAnnotationType()
Gets type of annotation.
|
boolean |
getOpen()
Gets a flag specifying whether the pop-up annotation should initially be displayed open.
|
Annotation |
getParent()
Gets the parent annotation with which this pop-up annotation shall be associated.
|
void |
setOpen(boolean value)
Sets a flag specifying whether the pop-up annotation should initially be displayed open.
|
void |
setParent(MarkupAnnotation value)
Sets the parent annotation with which this pop-up annotation shall be associated.
|
createAnnotation, flatten, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPageIndex, getPdfActions, getRect, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setRect, setStructParent, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public PopupAnnotation(IDocument document)
Constructor. for using in Generator.
document
- Document where new popup annotation will be created.public boolean getOpen()
Gets a flag specifying whether the pop-up annotation should initially be displayed open.
public void setOpen(boolean value)
Sets a flag specifying whether the pop-up annotation should initially be displayed open.
value
- boolean valuepublic Annotation getParent()
Gets the parent annotation with which this pop-up annotation shall be associated. If this entry is present, the parent annotation's Contents, M, C, and T entries shall override those of the pop-up annotation itself.
public void setParent(MarkupAnnotation value)
Sets the parent annotation with which this pop-up annotation shall be associated. If this entry is present, the parent annotation's Contents, M, C, and T entries shall override those of the pop-up annotation itself.
value
- MarkupAnnotation objectpublic int getAnnotationType()
Gets type of annotation.
getAnnotationType
in class Annotation
AnnotationType
public void accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
accept
in class Annotation
visitor
- Visitor object.