|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.list.RtfListTable
The RtfListTable manages all RtfLists in one RtfDocument. It also generates the list and list override tables in the document header.
Field Summary | |
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 ArrayList |
lists
The RtfLists managed by this RtfListTable |
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 RtfLists |
int |
getListNumber(RtfList list)
Gets the id of the specified RtfList. |
byte[] |
writeDefinition()
Writes the list and list override tables. |
Methods inherited from class com.lowagie.text.rtf.RtfElement |
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument, write |
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, write |
Field Detail |
protected 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 ArrayList lists
Constructor Detail |
public RtfListTable(RtfDocument doc)
doc
- The RtfDocument this RtfListTable belongs toMethod Detail |
public byte[] writeDefinition()
writeDefinition
in interface RtfExtendedElement
public int getListNumber(RtfList list)
list
- The RtfList for which to get the id.
public void freeListNumber(RtfList list)
list
- The RtfList to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |