org.apache.fop.render.rtf.rtflib.rtfdoc

Class RtfFootnote

Implemented Interfaces:
IRtfListContainer, IRtfTextrunContainer

public class RtfFootnote
extends RtfContainer
implements IRtfTextrunContainer, IRtfListContainer

Model of an RTF footnote
Authors:
Peter Herweg, pherweg@web.de
Marc Wilhelm Kuester

Field Summary

Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement

attrib, parent, writer

Method Summary

void
endBody()
RtfTextrun
getTextrun()
Returns the current RtfTextrun object.
RtfList
newList(RtfAttributes attrs)
Close the current list, if any, and starts a new one
void
startBody()
protected void
writeRtfContent()
write RTF code of all 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, isEmpty, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfContent, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS

Method Details

endBody

public void endBody()

getTextrun

public RtfTextrun getTextrun()
            throws IOException
Returns the current RtfTextrun object. Opens a new one if necessary.
Specified by:
getTextrun in interface IRtfTextrunContainer
Returns:
The RtfTextrun object

newList

public RtfList newList(RtfAttributes attrs)
            throws IOException
Close the current list, if any, and starts a new one
Specified by:
newList in interface IRtfListContainer
Parameters:
attrs - attributes of new List
Returns:
new List object

startBody

public void startBody()

writeRtfContent

protected void writeRtfContent()
            throws IOException
write RTF code of all our children
Overrides:
writeRtfContent in interface RtfContainer

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.