fop 0.95

org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfListItem.RtfListItemLabel

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.RtfTextrun
              extended by org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListItem.RtfListItemLabel
All Implemented Interfaces:
IRtfTextrunContainer
Enclosing class:
RtfListItem

public class RtfListItem.RtfListItemLabel
extends RtfTextrun
implements IRtfTextrunContainer

special RtfTextrun that is used as list item label


Field Summary
 
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
 
Constructor Summary
RtfListItem.RtfListItemLabel(RtfListItem item)
          Constructs the RtfListItemLabel
 
Method Summary
 void addString(java.lang.String s)
          Sets the content of the list item label.
 RtfTextrun getTextrun()
          Returns the current RtfTextrun object.
 
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun
addBookmark, addFootnote, addHyperlink, addLeader, addPageNumber, addPageNumberCitation, addParagraphBreak, getRtfListItem, getTextrun, newImage, popBlockAttributes, popInlineAttributes, pushBlockAttributes, pushInlineAttributes, setRtfListItem, setSuppressLastPar, writeRtfContent
 
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
 

Constructor Detail

RtfListItem.RtfListItemLabel

public RtfListItem.RtfListItemLabel(RtfListItem item)
                             throws java.io.IOException
Constructs the RtfListItemLabel

Parameters:
item - The RtfListItem the label belongs to
Throws:
java.io.IOException - Thrown when an IO-problem occurs
Method Detail

getTextrun

public RtfTextrun getTextrun()
                      throws java.io.IOException
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

addString

public void addString(java.lang.String s)
               throws java.io.IOException
Sets the content of the list item label.

Overrides:
addString in class RtfTextrun
Parameters:
s - Content of the list item label.
Throws:
java.io.IOException - Thrown when an IO-problem occurs

fop 0.95

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