com.lowagie.text.rtf.list
public class RtfListItem extends RtfParagraph
Since: 2.1.3
Version: $Id: RtfListItem.java 3458 2008-05-26 16:19:21Z howard_s $
| Field Summary | |
|---|---|
| boolean | containsInnerList
Whether this RtfListItem contains further RtfLists. |
| int | level |
| RtfListLevel | 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. |
| int | getLevel() |
| RtfListLevel | getParent()
Set 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 | setLevel(int level) |
| void | setParent(RtfListLevel parentList)
Set the parent RtfList.
|
| void | writeContent(OutputStream result)
Writes the content of this RtfListItem. |
| boolean | writeDefinition(OutputStream out) |
Parameters: doc The RtfDocument this RtfListItem belongs to. listItem The ListItem this RtfListItem is based on.
Returns: the level
Since: 2.1.3
Returns: The parent RtfList to use.
Since: 2.1.3
Parameters: listNumber The list number to inherit. listLevel The list level to inherit.
Returns: Whether this RtfListItem contains further RtfLists.
Parameters: level the level to set
Since: 2.1.3
Parameters: parentList The parent RtfList to use.
false.
Parameters: out destination stream
Returns: true if a RtfList definition was written, false otherwise
Throws: IOException