fop 0.95

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

java.lang.Object
  extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
      extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
          extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFootnote
All Implemented Interfaces:
IRtfListContainer, IRtfTextrunContainer

public class RtfFootnote
extends RtfContainer
implements IRtfTextrunContainer, IRtfListContainer

Model of an RTF footnote

Author:
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
 
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTextrun

public RtfTextrun getTextrun()
                      throws java.io.IOException
Description copied from interface: IRtfTextrunContainer
Returns the current RtfTextrun object. Opens a new one if necessary.

Specified by:
getTextrun in interface IRtfTextrunContainer
Returns:
The RtfTextrun object
Throws:
java.io.IOException - Thrown when an IO-problem occurs

writeRtfContent

protected void writeRtfContent()
                        throws java.io.IOException
write RTF code of all our children

Overrides:
writeRtfContent in class RtfContainer
Throws:
java.io.IOException - for I/O problems

newList

public RtfList newList(RtfAttributes attrs)
                throws java.io.IOException
Description copied from interface: IRtfListContainer
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
Throws:
java.io.IOException - for I/O problems

startBody

public void startBody()

endBody

public void endBody()

fop 0.95

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