|
![]() |
||||||||
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
public class 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 java.util.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[] |
write()
Deprecated. replaced by writeContent(OutputStream) |
void |
writeContent(java.io.OutputStream out)
unused |
byte[] |
writeDefinition()
Deprecated. replaced by writeDefinition(OutputStream) |
void |
writeDefinition(java.io.OutputStream result)
Writes the list and list override tables. |
Methods inherited from class com.lowagie.text.rtf.RtfElement |
---|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument |
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 |
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 java.util.ArrayList lists
Constructor Detail |
---|
public RtfListTable(RtfDocument doc)
doc
- The RtfDocument this RtfListTable belongs toMethod Detail |
---|
public byte[] write()
writeContent(OutputStream)
write
in interface RtfBasicElement
write
in class RtfElement
public void writeContent(java.io.OutputStream out) throws java.io.IOException
writeContent
in interface RtfBasicElement
writeContent
in class RtfElement
java.io.IOException
public byte[] writeDefinition()
writeDefinition(OutputStream)
writeDefinition
in interface RtfExtendedElement
public void writeDefinition(java.io.OutputStream result) throws java.io.IOException
writeDefinition
in interface RtfExtendedElement
java.io.IOException
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 |