Package com.lowagie.text.rtf.document
Class RtfGenerator
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.document.RtfGenerator
- All Implemented Interfaces:
RtfBasicElement
,com.lowagie.text.RtfElementInterface
The RtfGenerator creates the (\*\generator ...} element.
- Since:
- 2.0.8
- Version:
- $Id: RtfGenerator.java 3580 2008-08-06 15:52:00Z howard_s $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]
Generator group starting tagFields 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
ConstructorsConstructorDescriptionRtfGenerator
(RtfDocument doc) Constructs aRtfGenerator
belonging to a RtfDocument -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeContent
(OutputStream result) Writes the RTF generator group.Methods inherited from class com.lowagie.text.rtf.RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
-
Field Details
-
GENERATOR
private static final byte[] GENERATORGenerator group starting tag
-
-
Constructor Details
-
RtfGenerator
Constructs aRtfGenerator
belonging to a RtfDocument- Parameters:
doc
- TheRtfDocument
thisRtfGenerator
belongs to
-
-
Method Details
-
writeContent
Writes the RTF generator group.- Specified by:
writeContent
in interfaceRtfBasicElement
- Specified by:
writeContent
in classRtfElement
- Parameters:
result
- TheOutputStream
to write the content to- Throws:
IOException
-