public class PdfPopupAnnotation extends PdfAnnotation
| Modifier and Type | Field and Description |
|---|---|
protected PdfAnnotation |
parent |
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| Modifier | Constructor and Description |
|---|---|
protected |
PdfPopupAnnotation(PdfDictionary pdfObject)
Instantiates a new PdfPopupAnnotation instance based on PdfDictionary instance, that represents existing annotation object in the document.
|
|
PdfPopupAnnotation(Rectangle rect) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getOpen()
A flag specifying whether the annotation shall initially be displayed open.
|
PdfAnnotation |
getParent() |
PdfDictionary |
getParentObject() |
PdfName |
getSubtype()
Gets a PdfName which value is a subtype of this annotation.
|
PdfPopupAnnotation |
setOpen(boolean open)
Sets a flag specifying whether the annotation shall initially be displayed open.
|
PdfPopupAnnotation |
setParent(PdfAnnotation parent) |
addAssociatedFile, flush, getAppearanceDictionary, getAppearanceObject, getAppearanceState, getAssociatedFiles, getBlendMode, getBorder, getColorObject, getContents, getDate, getDownAppearanceObject, getFlags, getLang, getName, getNonStrokingOpacity, getNormalAppearanceObject, getPage, getPageObject, getRectangle, getRolloverAppearanceObject, getStrokingOpacity, getStructParentIndex, getTitle, hasFlag, isWrappedObjectMustBeIndirect, makeAnnotation, put, remove, resetFlag, setAppearance, setAppearance, setAppearanceState, setBlendMode, setBorder, setBorder, setColor, setColor, setColor, setContents, setContents, setDate, setDownAppearance, setDownAppearance, setFlag, setFlags, setLang, setLayer, setName, setNonStrokingOpacity, setNormalAppearance, setNormalAppearance, setPage, setRectangle, setRolloverAppearance, setRolloverAppearance, setStrokingOpacity, setStructParentIndex, setTitleensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleaseprotected PdfAnnotation parent
public PdfPopupAnnotation(Rectangle rect)
protected PdfPopupAnnotation(PdfDictionary pdfObject)
PdfPopupAnnotation instance based on PdfDictionary instance, that represents existing annotation object in the document.
pdfObject - the PdfDictionary representing annotation object
PdfAnnotation.makeAnnotation(PdfObject)
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 PdfDictionary getParentObject()
public PdfAnnotation getParent()
public PdfPopupAnnotation setParent(PdfAnnotation parent)
public boolean getOpen()
public PdfPopupAnnotation setOpen(boolean open)
open - true if annotation shall initially be open, false - if closed.
PdfPopupAnnotation instance.
Copyright © 1998–2022 iText Group NV. All rights reserved.