Class RtfGenerator
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfGenerator
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
ConstructorsConstructorDescriptionRtfGenerator(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader h, Writer w) Default constructor for the generator element. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()protected voidMust be implemented to write RTF content to m_writerMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Constructor Details
-
RtfGenerator
public RtfGenerator(org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader h, Writer w) throws IOException Default constructor for the generator element.- Parameters:
h- a headerw- a writer- Throws:
IOException- if not caught
-
-
Method Details
-
writeRtfContent
Must be implemented to write RTF content to m_writer- Specified by:
writeRtfContentin classRtfElement- Throws:
IOException- for I/O problems
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classRtfElement- Returns:
- true if this element would generate no "useful" RTF content
-