public class RtfListTable extends RtfElement implements RtfExtendedElement
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
LIST
Constant for the list
|
private static byte[] |
LIST_HYBRID
Constant for the hybrid list
|
private static byte[] |
LIST_ID
Constant for the list id
|
protected static byte[] |
LIST_NUMBER
Constant for the list number
|
private static byte[] |
LIST_OVERRIDE
Constant for the list override
|
private static byte[] |
LIST_OVERRIDE_COUNT
Constant for the list override count
|
private static byte[] |
LIST_OVERRIDE_TABLE
Constant for the list override table
|
private static byte[] |
LIST_TABLE
Constant for the list table
|
private static byte[] |
LIST_TEMPLATE_ID
Constant for the list template id
|
private java.util.ArrayList |
lists
The RtfLists managed by this RtfListTable
|
document, inHeader, inTableCLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR| Constructor and Description |
|---|
RtfListTable(RtfDocument doc)
Constructs a RtfListTable for a RtfDocument
|
| Modifier and Type | Method and Description |
|---|---|
void |
freeListNumber(RtfList list)
Remove a RtfList from the list of RtfLists
|
int |
getListNumber(RtfList list)
Gets the id of the specified RtfList.
|
byte[] |
writeDefinition()
Writes the list and list override tables.
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetInHeader, setInTable, setRtfDocument, writeprotected static final byte[] LIST_NUMBER
private static final byte[] LIST_TABLE
private static final byte[] LIST
private static final byte[] LIST_TEMPLATE_ID
private static final byte[] LIST_HYBRID
private static final byte[] LIST_ID
private static final byte[] LIST_OVERRIDE_TABLE
private static final byte[] LIST_OVERRIDE
private static final byte[] LIST_OVERRIDE_COUNT
private java.util.ArrayList lists
public RtfListTable(RtfDocument doc)
doc - The RtfDocument this RtfListTable belongs topublic byte[] writeDefinition()
writeDefinition in interface RtfExtendedElementpublic int getListNumber(RtfList list)
list - The RtfList for which to get the id.public void freeListNumber(RtfList list)
list - The RtfList to remove.