|
fop 2.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.RtfAfter
public class RtfAfter
RtfContainer that encloses footers
Field Summary | |
---|---|
static java.lang.String |
FOOTER
RtfBefore attributes |
static java.lang.String[] |
FOOTER_ATTR
String array of footer attributes |
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
attrib, parent, writer |
Method Summary | |
---|---|
void |
closeAll()
|
RtfAttributes |
getAttributes()
|
RtfTextrun |
getTextrun()
Returns the current RtfTextrun object. |
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 void |
writeMyAttributes()
must be implemented to write the header or footer attributes |
protected void |
writeRtfPrefix()
Called before writeRtfContent() |
protected void |
writeRtfSuffix()
Called after writeRtfContent() |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer |
---|
addChild, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
close, getParentOfClass, 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 |
Field Detail |
---|
public static final java.lang.String FOOTER
public static final java.lang.String[] FOOTER_ATTR
Method Detail |
---|
protected void writeMyAttributes() throws java.io.IOException
java.io.IOException
- for I/O problemspublic RtfParagraph newParagraph() throws java.io.IOException
IRtfParagraphContainer
newParagraph
in interface IRtfParagraphContainer
java.io.IOException
- for I/O problems.public RtfParagraph newParagraph(RtfAttributes attrs) throws java.io.IOException
IRtfParagraphContainer
newParagraph
in interface IRtfParagraphContainer
attrs
- attributes for new paragraph
java.io.IOException
- for I/O problems.public RtfExternalGraphic newImage() throws java.io.IOException
IRtfExternalGraphicContainer
newImage
in interface IRtfExternalGraphicContainer
java.io.IOException
- On errorprotected void writeRtfPrefix() throws java.io.IOException
RtfElement
writeRtfPrefix
in class RtfElement
java.io.IOException
- for I/O problemsprotected void writeRtfSuffix() throws java.io.IOException
RtfElement
writeRtfSuffix
in class RtfElement
java.io.IOException
- for I/O problemspublic RtfAttributes getAttributes()
public void closeAll() throws java.io.IOException
java.io.IOException
public RtfTable newTable(RtfAttributes attrs, ITableColumnsInfo tc) throws java.io.IOException
newTable
in interface IRtfTableContainer
tc
- added by Boris Poudérous on july 2002 in order to process
number-columns-spanned attributeattrs
- for the Table attributes
java.io.IOException
- for I/O problemspublic RtfTable newTable(ITableColumnsInfo tc) throws java.io.IOException
newTable
in interface IRtfTableContainer
tc
- Table Columns Info
java.io.IOException
- for I/O problemspublic RtfTextrun getTextrun() throws java.io.IOException
IRtfTextrunContainer
getTextrun
in interface IRtfTextrunContainer
java.io.IOException
- Thrown when an IO-problem occurs
|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |