Package com.reportmill.pdf
Class PDFAnnotation
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.pdf.PDFAnnotation
- All Implemented Interfaces:
- RMArchiver.Archiving,- Cloneable
- Direct Known Subclasses:
- PDFAnnotation.Link
This class represents a PDF annotation (like a hyperlink).
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classAn inner class (and annotation subclass) to support hyperlinks.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Mapstatic final charstatic final charstatic final charstatic final char
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidresolvePageReferences(PDFPagesTree pages, PDFXTable xref, PDFPage thisPage) Tells the annotation to resolve page references.voidsetHasBorder(boolean b) Sets whether the annotation has a border.voidsetHighlightMode(char h) Sets the highlight mode of the annotaiton.voidSets the type of the annotation.voidWrites the annotation to the given PDF file.Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Field Details- 
_map
- 
HighlightNonepublic static final char HighlightNone- See Also:
 
- 
HighlightInvertpublic static final char HighlightInvert- See Also:
 
- 
HighlightOutlinepublic static final char HighlightOutline- See Also:
 
- 
HighlightPushpublic static final char HighlightPush- See Also:
 
 
- 
- 
Constructor Details- 
PDFAnnotationCreates a new annotation for the given rect.
 
- 
- 
Method Details- 
setTypeSets the type of the annotation.
- 
setHighlightModepublic void setHighlightMode(char h) Sets the highlight mode of the annotaiton.
- 
setHasBorderpublic void setHasBorder(boolean b) Sets whether the annotation has a border.
- 
resolvePageReferencesTells the annotation to resolve page references.
- 
writePDFWrites the annotation to the given PDF file.
 
-