Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » rtf » list » [javadoc | source]
com.lowagie.text.rtf.list
public class: RtfListItem [javadoc | source]
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

The RtfListItem acts as a wrapper for a ListItem.
Fields inherited from com.lowagie.text.rtf.text.RtfParagraph:
PARAGRAPH,  paragraphStyle
Fields inherited from com.lowagie.text.rtf.text.RtfPhrase:
PARAGRAPH_DEFAULTS,  PLAIN,  IN_TABLE,  LINE_SPACING,  chunks
Fields inherited from com.lowagie.text.rtf.RtfElement:
document,  inTable,  inHeader
Constructor:
 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.
Method from com.lowagie.text.rtf.list.RtfListItem Summary:
correctIndentation,   getLevel,   getParent,   inheritListSettings,   isContainsInnerList,   setLevel,   setParent,   writeContent,   writeDefinition
Methods from com.lowagie.text.rtf.text.RtfParagraph:
getIndentLeft,   getIndentRight,   setIndentLeft,   setIndentRight,   setKeepTogetherWithNext,   writeContent
Methods from com.lowagie.text.rtf.text.RtfPhrase:
setInHeader,   setInTable,   setRtfDocument,   writeContent
Methods from com.lowagie.text.rtf.RtfElement:
intToByteArray,   isInTable,   setInHeader,   setInTable,   setRtfDocument,   writeContent
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.rtf.list.RtfListItem Detail:
 protected  void correctIndentation() 
    Correct the indentation of RtfLists in this RtfListItem by adding left/first line indentation from the parent RtfList. Also calls correctIndentation on all child RtfLists.
 public int getLevel() 
 public RtfListLevel getParent() 
    Set 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 setLevel(int level) 
 public  void setParent(RtfListLevel parentList) 
    Set the parent RtfList.
 public  void writeContent(OutputStream result) throws IOException 
    Writes the content of this RtfListItem.
 public boolean writeDefinition(OutputStream out) throws IOException 
    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.