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

All Implemented Interfaces:
    RtfExtendedElement, RtfBasicElement

The RtfFontList stores the list of fonts used in the rtf document. It also has methods for writing this list to the document Version: $Id: RtfFontList.java 3440 2008-05-25 18:16:48Z howard_s $
Field Summary
public static final  byte[] FONT_NUMBER    Constant for the font number 
Fields inherited from com.lowagie.text.rtf.RtfElement:
document,  inTable,  inHeader
Constructor:
 public RtfFontList(RtfDocument doc) 
    Creates a RtfFontList
    Parameters:
    doc - The RtfDocument this RtfFontList belongs to
Method from com.lowagie.text.rtf.style.RtfFontList Summary:
getFontNumber,   writeContent,   writeDefinition
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.style.RtfFontList Detail:
 public int getFontNumber(RtfFont font) 
    Gets the index of the font in the list of fonts. If the font does not exist in the list, it is added.
 public  void writeContent(OutputStream out) throws IOException 
    unused
 public  void writeDefinition(OutputStream result) throws IOException 
    Writes the definition of the font list