com.lowagie.text.rtf.list
public class RtfListItem extends RtfParagraph
Version: $Version:$
Field Summary | |
---|---|
boolean | containsInnerList
Whether this RtfListItem contains further RtfLists. |
RtfList | parentList
The RtfList this RtfListItem belongs to. |
Constructor Summary | |
---|---|
RtfListItem(RtfDocument doc, ListItem listItem)
Constructs a RtfListItem for a ListItem belonging to a RtfDocument.
|
Method Summary | |
---|---|
protected void | correctIndentation()
Correct the indentation of RtfLists in this RtfListItem by adding left/first line indentation
from the parent RtfList. |
void | inheritListSettings(int listNumber, int listLevel)
Inherit the list settings from the parent list to RtfLists that
are contained in this RtfListItem.
|
boolean | isContainsInnerList()
Gets whether this RtfListItem contains further RtfLists.
|
void | setParent(RtfList parentList)
Set the parent RtfList.
|
byte[] | write()
Writes the content of this RtfListItem.
|
byte[] | writeDefinition()
Returns the definition of the first list contained in this RtfListItem or
an empty byte array if no inner RtfLists exist.
|
Parameters: doc The RtfDocument this RtfListItem belongs to. listItem The ListItem this RtfListItem is based on.
Parameters: listNumber The list number to inherit. listLevel The list level to inherit.
Returns: Whether this RtfListItem contains further RtfLists.
Parameters: parentList The parent RtfList to use.
Returns: A byte array with the content of this RtfListItem.
Returns: The definition of the first inner RtfList or an empty byte array.