Class RtfHeader
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfHeader
RTF file header, contains style, font and other document-level information.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch), Andreas Putz (a.putz@skynamics.com), and Marc Wilhelm Kuester.
-
Field Summary
FieldsFields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
write directly to our Writer TODO should check that this done at the right point, or even better, store what is written here to render it in writeRtfContent.private void
write properties for footnote handlingprotected void
Overridden to write our own data before our children's data(package private) void
writeRtfString
(String toWrite) write to our Writer using an RtfStringConverterprivate void
write user properties if anyMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, containsText, dump, findChildren, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Field Details
-
CHARSET
- See Also:
-
userProperties
-
-
Constructor Details
-
RtfHeader
RtfHeader(RtfFile f, Writer w) throws IOException Create an RTF header- Throws:
IOException
-
-
Method Details
-
writeRtfContent
Overridden to write our own data before our children's data- Overrides:
writeRtfContent
in classRtfContainer
- Throws:
IOException
- for I/O problems
-
writeUserProperties
write user properties if any- Throws:
IOException
-
write
write directly to our Writer TODO should check that this done at the right point, or even better, store what is written here to render it in writeRtfContent. invalid input: '<'-- it is for the color table- Throws:
IOException
-
writeRtfString
write to our Writer using an RtfStringConverter- Throws:
IOException
-
writeFootnoteProperties
write properties for footnote handling- Throws:
IOException
-