Class RtfAnnotation
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfAnnotation
- All Implemented Interfaces:
RtfBasicElement
The RtfAnnotation provides support for adding Annotations to the rtf document.
Only simple Annotations with Title / Content are supported.
- Version:
- $Id: RtfAnnotation.java 3580 2008-08-06 15:52:00Z howard_s $
- Author:
- Mark Hall (Mark.Hall@mail.room3b.eu), Thomas Bickel (tmb99@inode.at)
-
Field Summary
Fields inherited from class RtfElement
document, inHeader, inTableFields inherited from interface RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR -
Constructor Summary
ConstructorsConstructorDescriptionRtfAnnotation(RtfDocument doc, com.lowagie.text.Annotation annotation) Constructs a RtfAnnotation based on an Annotation. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteContent(OutputStream result) Writes the content of the RtfAnnotationMethods inherited from class RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
-
Constructor Details
-
RtfAnnotation
Constructs a RtfAnnotation based on an Annotation.- Parameters:
doc- The RtfDocument this RtfAnnotation belongs toannotation- The Annotation this RtfAnnotation is based off
-
-
Method Details
-
writeContent
Writes the content of the RtfAnnotation- Specified by:
writeContentin interfaceRtfBasicElement- Specified by:
writeContentin classRtfElement- Parameters:
result- TheOutputStreamto write the content to- Throws:
IOException
-