Class RtfGenerator
- java.lang.Object
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfGenerator
-
public class RtfGenerator extends RtfElement
Represents a generator element which says who generated the RTF document.
-
-
Field Summary
-
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
-
Constructor Summary
Constructors Constructor Description RtfGenerator(RtfHeader h, java.io.Writer w)
Default constructor for the generator element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
protected void
writeRtfContent()
Must be implemented to write RTF content to m_writer-
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, dump, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
-
-
-
Constructor Detail
-
RtfGenerator
public RtfGenerator(RtfHeader h, java.io.Writer w) throws java.io.IOException
Default constructor for the generator element.- Parameters:
h
- a headerw
- a writer- Throws:
java.io.IOException
- if not caught
-
-
Method Detail
-
writeRtfContent
protected void writeRtfContent() throws java.io.IOException
Must be implemented to write RTF content to m_writer- Specified by:
writeRtfContent
in classRtfElement
- Throws:
java.io.IOException
- for I/O problems
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in classRtfElement
- Returns:
- true if this element would generate no "useful" RTF content
-
-