Home » JCraft » jxl » biff » [javadoc | source]
jxl.biff
public class: Fonts [javadoc | source]
java.lang.Object
   jxl.biff.Fonts

Direct Known Subclasses:
    WritableFonts

A container for the list of fonts used in this workbook
Constructor:
 public Fonts() 
Method from jxl.biff.Fonts Summary:
addFont,   getFont,   rationalize,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.Fonts Detail:
 public  void addFont(FontRecord f) 
    Adds a font record to this workbook. If the FontRecord passed in has not been initialized, then its font index is determined based upon the size of the fonts list. The FontRecord's initialized method is called, and it is added to the list of fonts.
 public FontRecord getFont(int index) 
    Used by FormattingRecord for retrieving the fonts for the hardcoded styles
 IndexMapping rationalize() 
    Rationalizes all the fonts, removing any duplicates
 public  void write(File outputFile) throws IOException 
    Writes out the list of fonts