public class RtfListTable extends RtfElement implements RtfExtendedElement
| Modifier and Type | Field and Description |
|---|---|
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 java.util.ArrayList |
lists
The RtfList lists managed by this RtfListTable
|
private java.util.ArrayList |
picturelists
The RtfPictureList lists 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 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.
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetInHeader, setInTable, setRtfDocumentprivate static final byte[] LIST_TABLE
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
private java.util.ArrayList picturelists
public RtfListTable(RtfDocument doc)
doc - The RtfDocument this RtfListTable belongs topublic void writeContent(java.io.OutputStream out)
throws java.io.IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementout - The OutputStream to write the content tojava.io.IOExceptionpublic void writeDefinition(java.io.OutputStream result)
throws java.io.IOException
writeDefinition in interface RtfExtendedElementresult - The OutputStream to write the element definition tojava.io.IOExceptionpublic int getListNumber(RtfList list)
list - The RtfList for which to get the id.public void freeListNumber(RtfList list)
list - The RtfList to remove.