com.lowagie.text.rtf.text
Class RtfChapter
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfSection
com.lowagie.text.rtf.text.RtfChapter
- All Implemented Interfaces:
- RtfBasicElement, RtfElementInterface
public class RtfChapter
- extends RtfSection
The RtfChapter wraps a Chapter element.
INTERNAL CLASS
- Version:
- $Id: RtfChapter.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 |
RtfChapter
public RtfChapter(RtfDocument doc,
Chapter chapter)
- Constructs a RtfChapter for a given Chapter
- Parameters:
doc
- The RtfDocument this RtfChapter belongs tochapter
- The Chapter this RtfChapter is based on
writeContent
public void writeContent(OutputStream result)
throws IOException
- Writes the RtfChapter and its contents
- Specified by:
writeContent
in interface RtfBasicElement
- Overrides:
writeContent
in class RtfSection
- Parameters:
result
- The OutputStream
to write the content to
- Throws:
IOException