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

All Implemented Interfaces:
    RtfBasicElement

The RtfDocumentHeader contains all classes required for the generation of the document header area.
Fields inherited from com.lowagie.text.rtf.RtfElement:
document,  inTable,  inHeader
Constructor:
 protected RtfDocumentHeader(RtfDocument doc) 
    Constructs a RtfDocumentHeader for a RtfDocument
    Parameters:
    doc - The RtfDocument this RtfDocumentHeader belongs to
Method from com.lowagie.text.rtf.document.RtfDocumentHeader Summary:
addInfoElement,   freeListNumber,   getColorNumber,   getFontNumber,   getListNumber,   getListTable,   getPageSetting,   getRtfParagraphStyle,   init,   registerParagraphStyle,   setFooter,   setHeader,   writeContent,   writeSectionDefinition
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.document.RtfDocumentHeader Detail:
 public  void addInfoElement(RtfInfoElement rtfInfoElement) 
    Adds an RtfInfoElement to the list of RtfInfoElements
 public  void freeListNumber(RtfList list) 
    Removes a RtfList from the list table
 public int getColorNumber(RtfColor color) 
    Gets the number of the specified RtfColor
 public int getFontNumber(RtfFont font) 
    Gets the number of the specified RtfFont
 public int getListNumber(RtfList list) 
    Gets the number of the specified RtfList
 public RtfListTable getListTable() 
    Get the RtfListTable object.
 public RtfPageSetting getPageSetting() 
    Gets the RtfPageSetting object of this RtfDocument
 public RtfParagraphStyle getRtfParagraphStyle(String styleName) 
    Gets the RtfParagraphStyle with the given style name.
 protected  void init() 
    initializes the RtfDocumentHeader.
 public  void registerParagraphStyle(RtfParagraphStyle rtfParagraphStyle) 
    Registers the RtfParagraphStyle for further use in the document.
 public  void setFooter(HeaderFooter footer) 
    Sets the current footer to use
 public  void setHeader(HeaderFooter header) 
    Sets the current header to use
 public  void writeContent(OutputStream result) throws IOException 
    Writes the contents of the document header area.
 public  void writeSectionDefinition(OutputStream result) 
    Writes the section definition data