com.lowagie.text.rtf.list
Class RtfListTable
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.list.RtfListTable
- All Implemented Interfaces:
- RtfBasicElement, RtfExtendedElement
public class RtfListTable
- extends RtfElement
- implements RtfExtendedElement
The RtfListTable manages all RtfLists in one RtfDocument. It also generates
the list and list override tables in the document header.
- Version:
- $Version:$
- Author:
- Mark Hall (mhall@edu.uni-klu.ac.at)
Field Summary |
protected static byte[] |
LIST_NUMBER
Constant for the list number |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIST_NUMBER
protected static final byte[] LIST_NUMBER
- Constant for the list number
RtfListTable
public RtfListTable(RtfDocument doc)
- Constructs a RtfListTable for a RtfDocument
- Parameters:
doc
- The RtfDocument this RtfListTable belongs to
writeDefinition
public byte[] writeDefinition()
- Writes the list and list override tables.
- Specified by:
writeDefinition
in interface RtfExtendedElement
- Returns:
- A byte array with the list and list override tables.
getListNumber
public int getListNumber(RtfList list)
- Gets the id of the specified RtfList. If the RtfList is not yet in the
list of RtfLists, 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 RtfLists
- Parameters:
list
- The RtfList to remove.
Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.