com.lowagie.text.rtf.list
Class RtfListTable

java.lang.Object
  extended by com.lowagie.text.rtf.RtfElement
      extended by com.lowagie.text.rtf.list.RtfListTable
All Implemented Interfaces:
RtfBasicElement, RtfExtendedElement, RtfElementInterface

public class RtfListTable
extends RtfElement
implements RtfExtendedElement

The RtfListTable manages all RtfList objects and list override table in one RtfDocument.

Version:
$Id: RtfListTable.java 3580 2008-08-06 15:52:00Z howard_s $
Author:
Mark Hall (Mark.Hall@mail.room3b.eu), Howard Shank (hgshank@yahoo.com)

Field Summary
 
Fields inherited from class com.lowagie.text.rtf.RtfElement
document, inHeader, inTable
 
Fields inherited from interface com.lowagie.text.rtf.RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
 
Constructor Summary
RtfListTable(RtfDocument doc)
          Constructs a RtfListTable for a RtfDocument
 
Method Summary
 void freeListNumber(RtfList list)
          Remove a RtfList from the list of RtfList
 int getListNumber(RtfList list)
          Gets the id of the specified RtfList.
 void writeContent(java.io.OutputStream out)
          unused
 void writeDefinition(java.io.OutputStream result)
          Writes the list and list override tables.
 
Methods inherited from class com.lowagie.text.rtf.RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.lowagie.text.rtf.RtfBasicElement
setInHeader, setInTable, setRtfDocument
 

Constructor Detail

RtfListTable

public RtfListTable(RtfDocument doc)
Constructs a RtfListTable for a RtfDocument

Parameters:
doc - The RtfDocument this RtfListTable belongs to
Method Detail

writeContent

public void writeContent(java.io.OutputStream out)
                  throws java.io.IOException
unused

Specified by:
writeContent in interface RtfBasicElement
Specified by:
writeContent in class RtfElement
Parameters:
out - The OutputStream to write the content to
Throws:
java.io.IOException

writeDefinition

public void writeDefinition(java.io.OutputStream result)
                     throws java.io.IOException
Writes the list and list override tables.

Specified by:
writeDefinition in interface RtfExtendedElement
Parameters:
result - The OutputStream to write the element definition to
Throws:
java.io.IOException

getListNumber

public int getListNumber(RtfList list)
Gets the id of the specified RtfList. If the RtfList is not yet in the list of RtfList, then it is added.

Parameters:
list - The RtfList for which to get the id.
Returns:
The id of the RtfList.

freeListNumber

public void freeListNumber(RtfList list)
Remove a RtfList from the list of RtfList

Parameters:
list - The RtfList to remove.


iText 2.1.7