|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfor.jfor.rtflib.rtfdoc.RtfElement
org.jfor.jfor.rtflib.rtfdoc.RtfContainer
org.jfor.jfor.rtflib.rtfdoc.RtfSection
Models a section in an RTF document
| Field Summary |
| Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement |
m_attrib, m_parent, m_writer |
| Constructor Summary | |
(package private) |
RtfSection(RtfDocumentArea parent,
java.io.Writer w)
Create an RTF container as a child of given container |
| Method Summary | |
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 |
| Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer |
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent |
| Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement |
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
RtfSection(RtfDocumentArea parent,
java.io.Writer w)
throws java.io.IOException
| Method Detail |
public RtfExternalGraphic newImage()
throws java.io.IOException
newImage in interface IRtfExternalGraphicContainerjava.io.IOException - On error
public RtfParagraph newParagraph(RtfAttributes attrs)
throws java.io.IOException
newParagraph in interface IRtfParagraphContainerjava.io.IOException
public RtfParagraph newParagraph()
throws java.io.IOException
newParagraph in interface IRtfParagraphContainerjava.io.IOException
public RtfParagraphKeepTogether newParagraphKeepTogether()
throws java.io.IOException
newParagraphKeepTogether in interface IRtfParagraphKeepTogetherContainerjava.io.IOException
public 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.IOException
public 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.IOException
public RtfList newList(RtfAttributes attrs)
throws java.io.IOException
newList in interface IRtfListContainerjava.io.IOException
public RtfBefore newBefore(RtfAttributes attrs)
throws java.io.IOException
newBefore in interface IRtfBeforeContainerjava.io.IOException
public RtfAfter newAfter(RtfAttributes attrs)
throws java.io.IOException
newAfter in interface IRtfAfterContainerjava.io.IOException
public RtfJforCmd newJforCmd(RtfAttributes attrs)
throws java.io.IOException
newJforCmd in interface IRtfJforCmdContainerjava.io.IOException
protected void writeRtfPrefix()
throws java.io.IOException
writeRtfPrefix in class RtfElementjava.io.IOException
protected void writeRtfSuffix()
throws java.io.IOException
writeRtfSuffix in class RtfElementjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||