abstract class RtfAfterBeforeBase extends RtfContainer implements IRtfParagraphContainer, IRtfExternalGraphicContainer, IRtfTableContainer
| Modifier and Type | Field and Description |
|---|---|
protected RtfAttributes |
m_attrib |
m_parent, m_writer| Constructor and Description |
|---|
RtfAfterBeforeBase(RtfSection parent,
java.io.Writer w,
RtfAttributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeAll() |
RtfAttributes |
getAttributes() |
RtfExternalGraphic |
newImage()
Creates a new image on external graphic base.
|
RtfParagraph |
newParagraph()
close current paragraph if any and start a new one with default attributes
|
RtfParagraph |
newParagraph(RtfAttributes attrs)
close current paragraph if any and start a new one with specified attributes
|
RtfTable |
newTable(ITableColumnsInfo tc)
close current table if any and start a new one
|
RtfTable |
newTable(RtfAttributes attrs,
ITableColumnsInfo tc)
close current table if any and start a new one
|
protected abstract void |
writeMyAttributes()
must be implemented to write the header or footer attributes
|
protected void |
writeRtfPrefix()
called before writeRtfContent()
|
protected void |
writeRtfSuffix()
called after writeRtfContent()
|
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContentclose, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNSprotected RtfAttributes m_attrib
RtfAfterBeforeBase(RtfSection parent, java.io.Writer w, RtfAttributes attrs) throws java.io.IOException
java.io.IOExceptionpublic RtfParagraph newParagraph() throws java.io.IOException
IRtfParagraphContainernewParagraph in interface IRtfParagraphContainerjava.io.IOExceptionpublic RtfParagraph newParagraph(RtfAttributes attrs) throws java.io.IOException
IRtfParagraphContainernewParagraph in interface IRtfParagraphContainerjava.io.IOExceptionpublic RtfExternalGraphic newImage() throws java.io.IOException
IRtfExternalGraphicContainernewImage in interface IRtfExternalGraphicContainerjava.io.IOException - On errorprotected void writeRtfPrefix()
throws java.io.IOException
RtfElementwriteRtfPrefix in class RtfElementjava.io.IOExceptionprotected abstract void writeMyAttributes()
throws java.io.IOException
java.io.IOExceptionprotected void writeRtfSuffix()
throws java.io.IOException
RtfElementwriteRtfSuffix in class RtfElementjava.io.IOExceptionpublic RtfAttributes getAttributes()
public void closeAll()
throws java.io.IOException
java.io.IOExceptionpublic RtfTable newTable(RtfAttributes attrs, ITableColumnsInfo tc) throws java.io.IOException
newTable in interface IRtfTableContainertc - added by Boris Poud?rous on july 2002 in order to process number-columns-spanned attributejava.io.IOExceptionpublic RtfTable newTable(ITableColumnsInfo tc) throws java.io.IOException
newTable in interface IRtfTableContainerjava.io.IOException