com.lowagie.text.rtf.text
Class RtfAnnotation
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfAnnotation
- All Implemented Interfaces:
- RtfBasicElement
public class RtfAnnotation
- extends RtfElement
The RtfAnnotation provides support for adding Annotations to the rtf document.
Only simple Annotations with Title / Content are supported.
- Version:
- $Version:$
- Author:
- Mark Hall (mhall@edu.uni-klu.ac.at)
Method Summary |
byte[] |
write()
Writes the content of the RtfAnnotation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtfAnnotation
public RtfAnnotation(RtfDocument doc,
Annotation annotation)
- Constructs a RtfAnnotation based on an Annotation.
- Parameters:
doc
- The RtfDocument this RtfAnnotation belongs toannotation
- The Annotation this RtfAnnotation is based off
write
public byte[] write()
- Writes the content of the RtfAnnotation
- Specified by:
write
in interface RtfBasicElement
- Overrides:
write
in class RtfElement
- Returns:
- The content of this RtfAnnotation
Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.