|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfSection
public class RtfSection
Models a section in an RTF document
Field Summary |
---|
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
attrib, parent, writer |
Method Summary | |
---|---|
RtfTextrun |
getTextrun()
Returns the current RtfTextrun. |
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.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer |
---|
addChild, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
close, getRtfAttributes, newLine, 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 |
Method Detail |
---|
public RtfExternalGraphic newImage() throws java.io.IOException
newImage
in interface IRtfExternalGraphicContainer
java.io.IOException
- for I/O problemspublic RtfParagraph newParagraph(RtfAttributes attrs) throws java.io.IOException
newParagraph
in interface IRtfParagraphContainer
attrs
- attributes for new RtfParagraph
java.io.IOException
- for I/O problemspublic RtfParagraph newParagraph() throws java.io.IOException
newParagraph
in interface IRtfParagraphContainer
java.io.IOException
- for I/O problemspublic RtfParagraphKeepTogether newParagraphKeepTogether() throws java.io.IOException
newParagraphKeepTogether
in interface IRtfParagraphKeepTogetherContainer
java.io.IOException
- for I/O problemspublic RtfTable newTable(ITableColumnsInfo tc) throws java.io.IOException
newTable
in interface IRtfTableContainer
tc
- Table context used for number-columns-spanned attribute (added by
Boris Poud??rous on july 2002)
java.io.IOException
- for I/O problemspublic RtfTable newTable(RtfAttributes attrs, ITableColumnsInfo tc) throws java.io.IOException
newTable
in interface IRtfTableContainer
attrs
- attributes of new RtfTabletc
- Table context used for number-columns-spanned attribute (added by
Boris Poud??rous on july 2002)
java.io.IOException
- for I/O problemspublic RtfList newList(RtfAttributes attrs) throws java.io.IOException
newList
in interface IRtfListContainer
attrs
- attributes of new RftList object
java.io.IOException
- for I/O problemspublic RtfBefore newBefore(RtfAttributes attrs) throws java.io.IOException
newBefore
in interface IRtfBeforeContainer
attrs
- attributes of new RtfBefore object
java.io.IOException
- for I/O problemspublic RtfAfter newAfter(RtfAttributes attrs) throws java.io.IOException
newAfter
in interface IRtfAfterContainer
attrs
- attributes of new RtfAfter object
java.io.IOException
- for I/O problemspublic RtfJforCmd newJforCmd(RtfAttributes attrs) throws java.io.IOException
newJforCmd
in interface IRtfJforCmdContainer
attrs
- attributes of new RtfJforCmd
java.io.IOException
- for I/O problemsprotected void writeRtfPrefix() throws java.io.IOException
writeRtfPrefix
in class RtfElement
java.io.IOException
- for I/O problemsprotected void writeRtfSuffix() throws java.io.IOException
writeRtfSuffix
in class RtfElement
java.io.IOException
- for I/O problemspublic RtfTextrun getTextrun() throws java.io.IOException
getTextrun
in interface IRtfTextrunContainer
java.io.IOException
- Thrown when an IO-problem occurs.
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |