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
public class RtfGenerator extends RtfElement
The RtfGenerator creates the (\*\generator ...} element.- Since:
- 2.0.8
- Version:
- $Id: RtfGenerator.java 3580 2008-08-06 15:52:00Z howard_s $
- Author:
- Howard Shank (hgshank@yahoo.com)
-
-
Field Summary
-
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
Constructors Constructor Description RtfGenerator(RtfDocument doc)Constructs aRtfGeneratorbelonging to a RtfDocument
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteContent(java.io.OutputStream result)Writes the RTF generator group.-
Methods inherited from class com.lowagie.text.rtf.RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
-
-
-
-
Constructor Detail
-
RtfGenerator
public RtfGenerator(RtfDocument doc)
Constructs aRtfGeneratorbelonging to a RtfDocument- Parameters:
doc- TheRtfDocumentthisRtfGeneratorbelongs to
-
-
Method Detail
-
writeContent
public void writeContent(java.io.OutputStream result) throws java.io.IOExceptionWrites the RTF generator group.- Specified by:
writeContentin interfaceRtfBasicElement- Specified by:
writeContentin classRtfElement- Parameters:
result- TheOutputStreamto write the content to- Throws:
java.io.IOException
-
-