com.lowagie.text.rtf.list
Class RtfListItem
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfPhrase
com.lowagie.text.rtf.text.RtfParagraph
com.lowagie.text.rtf.list.RtfListItem
- All Implemented Interfaces:
- RtfBasicElement
- public class RtfListItem
- extends RtfParagraph
The RtfListItem acts as a wrapper for a ListItem.
- Version:
- $Version:$
- Author:
- Mark Hall (mhall@edu.uni-klu.ac.at)
Method Summary |
byte[] |
write()
Writes the content of this RtfListItem. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtfListItem
public RtfListItem(RtfDocument doc,
ListItem listItem)
- Constructs a RtfListItem for a ListItem belonging to a RtfDocument.
- Parameters:
doc
- The RtfDocument this RtfListItem belongs to.listItem
- The ListItem this RtfListItem is based on.
write
public byte[] write()
- Writes the content of this RtfListItem.
- Specified by:
write
in interface RtfBasicElement
- Overrides:
write
in class RtfParagraph
- Returns:
- A byte array with the content of this RtfListItem.