| |
|
| java.lang.Object com.lowagie.text.rtf.RtfElement com.lowagie.text.rtf.list.RtfList
RtfList | public class RtfList extends RtfElement implements RtfExtendedElement(Code) | | The RtfList stores one List. It also provides the methods to write the
list declaration and the list data.
version: $Id: RtfList.java 2825 2007-06-04 09:15:21Z blowagie $ author: Mark Hall (mhall@edu.uni-klu.ac.at) author: Thomas Bickel (tmb99@inode.at) author: Felix Satyaputra (f_satyaputra@yahoo.co.uk) |
Constructor Summary | |
public | RtfList(RtfDocument doc, List list) Constructs a new RtfList for the specified List. |
RtfList | public RtfList(RtfDocument doc, List list)(Code) | | Constructs a new RtfList for the specified List.
Parameters: doc - The RtfDocument this RtfList belongs to Parameters: list - The List this RtfList is based on |
correctIndentation | protected void correctIndentation()(Code) | | Correct the indentation of this RtfList by adding left/first line indentation
from the parent RtfList. Also calls correctIndentation on all child RtfLists.
|
getListLevel | public int getListLevel()(Code) | | Gets the list level of this RtfList
Returns the list level. |
getListNumber | public int getListNumber()(Code) | | Gets the id of this list
Returns the list number. |
setInHeader | public void setInHeader(boolean inHeader)(Code) | | Sets whether this RtfList is in a header. Sets the correct inTable setting for all
child elements.
Parameters: inHeader - True if this RtfList is in a header, false otherwise |
setInTable | public void setInTable(boolean inTable)(Code) | | Sets whether this RtfList is in a table. Sets the correct inTable setting for all
child elements.
Parameters: inTable - True if this RtfList is in a table, false otherwise |
setListLevel | public void setListLevel(int listLevel)(Code) | | Sets the list level of this RtfList. A list level > 0 will
unregister this RtfList from the RtfListTable
Parameters: listLevel - The list level to set. |
setListNumber | public void setListNumber(int listNumber)(Code) | | Sets the id of this list
Parameters: listNumber - The list number to set. |
setParent | protected void setParent(RtfList parent)(Code) | | Sets the parent RtfList of this RtfList
Parameters: parent - The parent RtfList to use. |
writeListBeginning | protected byte[] writeListBeginning()(Code) | | Writes the initialisation part of the RtfList
A byte array containing the initialisation part |
writeListNumbers | protected byte[] writeListNumbers()(Code) | | Writes only the list number and list level number.
The list number and list level number of this RtfList. |
|
|
|