Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » rtf » text » [javadoc | source]
com.lowagie.text.rtf.text
public class: RtfSection [javadoc | source]
java.lang.Object
   com.lowagie.text.rtf.RtfElement
      com.lowagie.text.rtf.text.RtfSection

All Implemented Interfaces:
    RtfBasicElement

Direct Known Subclasses:
    RtfChapter

The RtfSection wraps a Section element. INTERNAL CLASS
Field Summary
protected  RtfParagraph title    The title paragraph of this RtfSection 
protected  ArrayList items    The sub-items of this RtfSection 
Fields inherited from com.lowagie.text.rtf.RtfElement:
document,  inTable,  inHeader
Constructor:
 public RtfSection(RtfDocument doc,
    Section section) 
    Constructs a RtfSection for a given Section. If the autogenerateTOCEntries property of the RtfDocument is set and the title is not empty then a TOC entry is generated for the title.
    Parameters:
    doc - The RtfDocument this RtfSection belongs to
    section - The Section this RtfSection is based on
Method from com.lowagie.text.rtf.text.RtfSection Summary:
setInHeader,   setInTable,   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.text.RtfSection Detail:
 public  void setInHeader(boolean inHeader) 
    Sets whether this RtfSection is in a header. Sets the correct inTable setting for all child elements.
 public  void setInTable(boolean inTable) 
    Sets whether this RtfSection is in a table. Sets the correct inTable setting for all child elements.
 public  void writeContent(OutputStream result) throws IOException 
    Write this RtfSection and its contents