public class RtfSection extends RtfContainer implements IRtfParagraphContainer, IRtfTableContainer, IRtfListContainer, IRtfExternalGraphicContainer, IRtfBeforeContainer, IRtfParagraphKeepTogetherContainer, IRtfAfterContainer, IRtfJforCmdContainer
m_attrib, m_parent, m_writer| Constructor and Description |
|---|
RtfSection(RtfDocumentArea parent,
java.io.Writer w)
Create an RTF container as a child of given container
|
| Modifier and Type | Method and Description |
|---|---|
RtfAfter |
newAfter(RtfAttributes attrs)
IRtfAfterContainer
|
RtfBefore |
newBefore(RtfAttributes attrs)
IRtfBeforeContainer
|
RtfExternalGraphic |
newImage()
start a new external graphic after closing current paragraph, list and table
|
RtfJforCmd |
newJforCmd(RtfAttributes attrs) |
RtfList |
newList(RtfAttributes attrs)
start a new list after closing current paragraph, list and table
|
RtfParagraph |
newParagraph()
close current paragraph if any and start a new one with default attributes
|
RtfParagraph |
newParagraph(RtfAttributes attrs)
start a new paragraph after closing current paragraph, list and table
|
RtfParagraphKeepTogether |
newParagraphKeepTogether()
close current paragraph if any and start a new one
|
RtfTable |
newTable(ITableColumnsInfo tc)
start a new table after closing current paragraph, list and table
|
RtfTable |
newTable(RtfAttributes attrs,
ITableColumnsInfo tc)
start a new table after closing current paragraph, list and table
|
protected void |
writeRtfPrefix()
can be overridden to write RTF prefix code, what comes before our children
|
protected void |
writeRtfSuffix()
can be overridden to write RTF suffix code, what comes after our children
|
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, writeStarControlWordNSRtfSection(RtfDocumentArea parent, java.io.Writer w) throws java.io.IOException
java.io.IOExceptionpublic RtfExternalGraphic newImage() throws java.io.IOException
newImage in interface IRtfExternalGraphicContainerjava.io.IOException - On errorpublic RtfParagraph newParagraph(RtfAttributes attrs) throws java.io.IOException
newParagraph in interface IRtfParagraphContainerjava.io.IOExceptionpublic RtfParagraph newParagraph() throws java.io.IOException
newParagraph in interface IRtfParagraphContainerjava.io.IOExceptionpublic RtfParagraphKeepTogether newParagraphKeepTogether() throws java.io.IOException
newParagraphKeepTogether in interface IRtfParagraphKeepTogetherContainerjava.io.IOExceptionpublic RtfTable newTable(ITableColumnsInfo tc) throws java.io.IOException
newTable in interface IRtfTableContainertc - Table context used for number-columns-spanned attribute (added by Boris Poud?rous on july 2002)java.io.IOExceptionpublic RtfTable newTable(RtfAttributes attrs, ITableColumnsInfo tc) throws java.io.IOException
newTable in interface IRtfTableContainertc - Table context used for number-columns-spanned attribute (added by Boris Poud?rous on july 2002)java.io.IOExceptionpublic RtfList newList(RtfAttributes attrs) throws java.io.IOException
newList in interface IRtfListContainerjava.io.IOExceptionpublic RtfBefore newBefore(RtfAttributes attrs) throws java.io.IOException
newBefore in interface IRtfBeforeContainerjava.io.IOExceptionpublic RtfAfter newAfter(RtfAttributes attrs) throws java.io.IOException
newAfter in interface IRtfAfterContainerjava.io.IOExceptionpublic RtfJforCmd newJforCmd(RtfAttributes attrs) throws java.io.IOException
newJforCmd in interface IRtfJforCmdContainerjava.io.IOExceptionprotected void writeRtfPrefix()
throws java.io.IOException
writeRtfPrefix in class RtfElementjava.io.IOExceptionprotected void writeRtfSuffix()
throws java.io.IOException
writeRtfSuffix in class RtfElementjava.io.IOException