|
![]() |
||||||||
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 RtfList objects and list override table in one RtfDocument.
Field Summary | |
---|---|
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 ArrayList |
lists
The RtfList lists managed by this RtfListTable |
private ArrayList |
picturelists
The RtfPictureList lists 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 RtfList |
int |
getListNumber(RtfList list)
Gets the id of the specified RtfList. |
void |
writeContent(OutputStream out)
unused |
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 |
---|
private 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 ArrayList lists
private ArrayList picturelists
Constructor Detail |
---|
public RtfListTable(RtfDocument doc)
doc
- The RtfDocument this RtfListTable belongs toMethod Detail |
---|
public void writeContent(OutputStream out) throws IOException
writeContent
in interface RtfBasicElement
writeContent
in class RtfElement
out
- The OutputStream
to write the content to
IOException
public void writeDefinition(OutputStream result) throws IOException
writeDefinition
in interface RtfExtendedElement
result
- The OutputStream
to write the element definition to
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.
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |