Method Summary |
|
protected void | correctIndentation() Correct the indentation of RtfLists in this RtfListItem by adding left/first line indentation
from the parent RtfList. |
public void | inheritListSettings(int listNumber, int listLevel) Inherit the list settings from the parent list to RtfLists that
are contained in this RtfListItem. |
public boolean | isContainsInnerList() Gets whether this RtfListItem contains further RtfLists. |
public void | setParent(RtfList parentList) Set the parent RtfList. |
public byte[] | write() Writes the content of this RtfListItem. |
public void | writeContent(OutputStream result) Writes the content of this RtfListItem. |
public byte[] | writeDefinition() Returns the definition of the first list contained in this RtfListItem or
an empty byte array if no inner RtfLists exist. |
public boolean | writeDefinition(OutputStream out) Writes the definition of the first element in this RtfListItem that is
an instanceof
RtfList to the given stream.
If this item does not contain a
RtfList element nothing is written
and the method returns false . |