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| Constructor and Description |
|---|
PdfPopupAnnotation(PdfDictionary pdfObject)
Deprecated.
Use
PdfAnnotation.makeAnnotation(PdfObject) instead. Will be made protected in 7.1 |
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) |
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, setTitleensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleaseprotected PdfAnnotation parent
public PdfPopupAnnotation(Rectangle rect)
@Deprecated public PdfPopupAnnotation(PdfDictionary pdfObject)
PdfAnnotation.makeAnnotation(PdfObject) instead. Will be made protected in 7.1pdfObject - object representing this annotationpublic PdfName getSubtype()
PdfAnnotationPdfName 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 PdfAnnotationpublic PdfDictionary getParentObject()
public PdfAnnotation getParent()
public PdfPopupAnnotation setParent(PdfAnnotation parent)
public boolean getOpen()
getOpen in class PdfAnnotationpublic PdfPopupAnnotation setOpen(boolean open)
setOpen in class PdfAnnotationopen - true if annotation shall initially be open, false - if closed.PdfPopupAnnotation instance.Copyright © 1998–2018 iText Group NV. All rights reserved.