com.lowagie.text.rtf.text

Class RtfChapter

public class RtfChapter extends RtfSection

The RtfChapter wraps a Chapter element. INTERNAL CLASS

Version: $Revision: 1.18 $

Author: Mark Hall (mhall@edu.uni-klu.ac.at)

Constructor Summary
RtfChapter(RtfDocument doc, Chapter chapter)
Constructs a RtfChapter for a given Chapter
Method Summary
byte[]write()
Writes the RtfChapter and its contents

Constructor Detail

RtfChapter

public RtfChapter(RtfDocument doc, Chapter chapter)
Constructs a RtfChapter for a given Chapter

Parameters: doc The RtfDocument this RtfChapter belongs to chapter The Chapter this RtfChapter is based on

Method Detail

write

public byte[] write()
Writes the RtfChapter and its contents

Returns: A byte array containing the RtfChapter and its contents