Class RtfListTable
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.list.RtfListTable
- All Implemented Interfaces:
RtfBasicElement, 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 RtfElement
document, inHeader, inTableFields inherited from interface RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfreeListNumber(RtfList list) Remove a RtfList from the list of RtfListintgetListNumber(RtfList list) Gets the id of the specified RtfList.voidwriteContent(OutputStream out) unusedvoidwriteDefinition(OutputStream result) Writes the list and list override tables.Methods inherited from class RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocumentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RtfBasicElement
setInHeader, setInTable, setRtfDocument
-
Constructor Details
-
RtfListTable
Constructs a RtfListTable for a RtfDocument- Parameters:
doc- The RtfDocument this RtfListTable belongs to
-
-
Method Details
-
writeContent
unused- Specified by:
writeContentin interfaceRtfBasicElement- Specified by:
writeContentin classRtfElement- Parameters:
out- TheOutputStreamto write the content to- Throws:
IOException
-
writeDefinition
Writes the list and list override tables.- Specified by:
writeDefinitionin interfaceRtfExtendedElement- Parameters:
result- TheOutputStreamto write the element definition to- Throws:
IOException
-
getListNumber
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
Remove a RtfList from the list of RtfList- Parameters:
list- The RtfList to remove.
-