class RtfHeader extends RtfContainer
m_attrib, m_parent, m_writer
Constructor and Description |
---|
RtfHeader(RtfFile f,
java.io.Writer w)
Create an RTF header
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
write(java.lang.String toWrite)
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.
|
protected void |
writeRtfContent()
Overridden to write our own data before our children's data
|
(package private) void |
writeRtfString(java.lang.String toWrite)
write to our Writer using an RtfStringConverter
|
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
RtfHeader(RtfFile f, java.io.Writer w) throws java.io.IOException
java.io.IOException
protected void writeRtfContent() throws java.io.IOException
writeRtfContent
in class RtfContainer
java.io.IOException
void write(java.lang.String toWrite) throws java.io.IOException
java.io.IOException
void writeRtfString(java.lang.String toWrite) throws java.io.IOException
java.io.IOException