|
|
||||||||
| 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 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. As of iText 2.0.6 or earlier, replaced by writeContent(OutputStream), scheduled for removal at or after 2.1.0 |
void |
writeContent(OutputStream out)
unused |
byte[] |
writeDefinition()
Deprecated. As of iText 2.0.6 or earlier, replaced by writeDefinition(OutputStream), scheduled for removal at or after 2.1.0 |
void |
writeDefinition(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 ArrayList lists
| Constructor Detail |
|---|
public RtfListTable(RtfDocument doc)
doc - The RtfDocument this RtfListTable belongs to| Method Detail |
|---|
public byte[] write()
writeContent(OutputStream), scheduled for removal at or after 2.1.0
write in interface RtfBasicElementwrite in class RtfElement
public void writeContent(OutputStream out)
throws IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementIOExceptionpublic byte[] writeDefinition()
writeDefinition(OutputStream), scheduled for removal at or after 2.1.0
writeDefinition in interface RtfExtendedElement
public void writeDefinition(OutputStream result)
throws IOException
writeDefinition in interface RtfExtendedElementIOExceptionpublic 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 | ||||||||