public class PDFAnnotation extends RMObject
Modifier and Type | Class and Description |
---|---|
static class |
PDFAnnotation.Link
An inner class (and annotation subclass) to support hyperlinks.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
_map |
static char |
HighlightInvert |
static char |
HighlightNone |
static char |
HighlightOutline |
static char |
HighlightPush |
Constructor and Description |
---|
PDFAnnotation(RMRect aRect)
Creates a new annotation for the given rect.
|
Modifier and Type | Method and Description |
---|---|
void |
resolvePageReferences(PDFPagesTree pages,
PDFXTable xref,
PDFPage thisPage)
Tells the annotation to resolve page references.
|
void |
setHasBorder(boolean b)
Sets whether the annotation has a border.
|
void |
setHighlightMode(char h)
Sets the highlight mode of the annotaiton.
|
void |
setType(java.lang.String s)
Sets the type of the annotation.
|
void |
writePDF(PDFFile pFile)
Writes the annotation to the given PDF file.
|
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
protected java.util.Map _map
public static final char HighlightNone
public static final char HighlightInvert
public static final char HighlightOutline
public static final char HighlightPush
public PDFAnnotation(RMRect aRect)
public void setType(java.lang.String s)
public void setHighlightMode(char h)
public void setHasBorder(boolean b)
public void resolvePageReferences(PDFPagesTree pages, PDFXTable xref, PDFPage thisPage)
public void writePDF(PDFFile pFile)