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, RtfElementInterface
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:
- $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)
| 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
writeContent
public void writeContent(OutputStream result)
throws IOException
- Writes the content of the RtfAnnotation
- Specified by:
writeContent in interface RtfBasicElement- Specified by:
writeContent in class RtfElement
- Parameters:
result - The OutputStream to write the content to
- Throws:
IOException
Copyright © 2012. All Rights Reserved.