Package 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
,com.lowagie.text.RtfElementInterface
The RtfChapter wraps a Chapter element.
INTERNAL CLASS
- Version:
- $Id: RtfChapter.java 3580 2008-08-06 15:52:00Z howard_s $
-
Field Summary
Fields inherited from class com.lowagie.text.rtf.text.RtfSection
items, title
Fields inherited from class com.lowagie.text.rtf.RtfElement
document, inHeader, inTable
Fields inherited from interface com.lowagie.text.rtf.RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
-
Constructor Summary
ConstructorsConstructorDescriptionRtfChapter
(RtfDocument doc, com.lowagie.text.Chapter chapter) Constructs a RtfChapter for a given Chapter -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeContent
(OutputStream result) Writes the RtfChapter and its contentsMethods inherited from class com.lowagie.text.rtf.text.RtfSection
setInHeader, setInTable
Methods inherited from class com.lowagie.text.rtf.RtfElement
intToByteArray, isInTable, setRtfDocument
-
Constructor Details
-
RtfChapter
Constructs a RtfChapter for a given Chapter- Parameters:
doc
- The RtfDocument this RtfChapter belongs tochapter
- The Chapter this RtfChapter is based on
-
-
Method Details
-
writeContent
Writes the RtfChapter and its contents- Specified by:
writeContent
in interfaceRtfBasicElement
- Overrides:
writeContent
in classRtfSection
- Parameters:
result
- TheOutputStream
to write the content to- Throws:
IOException
-