|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.snowtide.pdf.annot.BaseAnnotation
com.snowtide.pdf.annot.FreeTextAnnotation
public class FreeTextAnnotation
An Annotation
implementation that represents
a PDF annotation of type FreeText
.
FreeTextAnnotation
s differ from TextAnnotation
s in
the following ways:
getRichContent()
and getRichContentStyle()
functions, respectively.
FreeTextAnnotations should also contain a plain-text representation of their content
suitable for indexing, etc., accessible using the getContents()
function.
Constructor Summary | |
---|---|
FreeTextAnnotation()
|
Method Summary | |
---|---|
int |
getJustificationInd()
Returns an int indicating how the text content of this annotation should be justified. |
java.lang.String |
getRichContent()
Returns the rich text content held by this annotation. |
java.lang.String |
getRichContentStyle()
Returns the CSS style information held by this annotation that should be applied to the rich text content returned by the getRichContent() function when that content is displayed. |
Methods inherited from class com.snowtide.pdf.annot.BaseAnnotation |
---|
getContents, getModificationDate, getName, getPageNumber, getRect, getTypeCd, readPageAnnotations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FreeTextAnnotation()
Method Detail |
---|
public int getJustificationInd()
public java.lang.String getRichContent()
getContents()
function.
public java.lang.String getRichContentStyle()
getRichContent()
function when that content is displayed.
This style information should conform to the CSS recommendations presented in the PDF document
reference, Section 8.6, subsection 'Rich Text Strings'.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |