xl.write
Class Font

System.Object
  extended byxl.biff.RecordData
      extended byxl.biff.WritableRecordData
          extended byxl.biff.FontRecord
              extended byxl.write.biff.WritableFontRecord
                  extended byxl.write.WritableFont
                      extended byxl.write.Font
All Implemented Interfaces:
xl.biff.ByteData, Font

Deprecated. Renamed to writable font

public class Font
extends WritableFont

A class which is instantiated when the user application wishes to specify the font for a particular cell


Nested Class Summary
 
Nested classes inherited from class jxl.write.WritableFont
WritableFont.FontName
 
Field Summary
static WritableFont.FontName ARIAL
          Deprecated.  
static xl.write.WritableFont.BoldStyle BOLD
          Deprecated.  
static UnderlineStyle DOUBLE
          Deprecated.  
static UnderlineStyle DOUBLE_ACCOUNTING
          Deprecated.  
static xl.write.WritableFont.BoldStyle NO_BOLD
          Deprecated.  
static UnderlineStyle NO_UNDERLINE
          Deprecated.  
static ScriptStyle NORMAL_SCRIPT
          Deprecated.  
static UnderlineStyle SINGLE
          Deprecated.  
static UnderlineStyle SINGLE_ACCOUNTING
          Deprecated.  
static ScriptStyle SUBSCRIPT
          Deprecated.  
static ScriptStyle SUPERSCRIPT
          Deprecated.  
static WritableFont.FontName TIMES
          Deprecated.  
 
Fields inherited from class jxl.write.WritableFont
COURIER, DEFAULT_POINT_SIZE, TAHOMA
 
Fields inherited from class xl.biff.FontRecord
biff7
 
Constructor Summary
Font(WritableFont.FontName fn)
          Deprecated. Use xl.write.WritableFont
Font(WritableFont.FontName fn, int ps)
          Deprecated. use xl.write.WritableFont
Font(WritableFont.FontName fn, int ps, xl.write.WritableFont.BoldStyle bs)
          Deprecated. use xl.write.WritableFont
Font(WritableFont.FontName fn, int ps, xl.write.WritableFont.BoldStyle bs, boolean italic)
          Deprecated. use xl.write.WritableFont
Font(WritableFont.FontName fn, int ps, xl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us)
          Deprecated. use xl.write.WritableFont
Font(WritableFont.FontName fn, int ps, xl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Color c)
          Deprecated. use xl.write.WritableFont
Font(WritableFont.FontName fn, int ps, xl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Color c, ScriptStyle ss)
          Deprecated. use xl.write.WritableFont
 
Methods inherited from class xl.write.WritableFont
createFont, isStruckout, setBoldStyle, setColor, setItalic, setPointSize, setScriptStyle, setStruckout, setUnderlineStyle
 
Methods inherited from class xl.biff.FontRecord
equals, getBoldWeight, getColor, getData, getFontIndex, getName, getPointSize, getScriptStyle, getUnderlineStyle, hashCode, initialize, isInitialized, isItalic, uninitialize
 
Methods inherited from class xl.biff.WritableRecordData
getBytes
 
Methods inherited from class System.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARIAL

public static readonly WritableFont.FontName ARIAL
Deprecated.  

Objects created with this font name will be rendered within Excel as ARIAL fonts


TIMES

public static readonly WritableFont.FontName TIMES
Deprecated.  

Objects created with this font name will be rendered within Excel as TIMES fonts


NO_BOLD

public static readonly xl.write.WritableFont.BoldStyle NO_BOLD
Deprecated.  

Indicates that this font should not be presented as bold


BOLD

public static readonly xl.write.WritableFont.BoldStyle BOLD
Deprecated.  

Indicates that this font should be presented in a BOLD style


NO_UNDERLINE

public static readonly UnderlineStyle NO_UNDERLINE
Deprecated.  


SINGLE

public static readonly UnderlineStyle SINGLE
Deprecated.  


DOUBLE

public static readonly UnderlineStyle DOUBLE
Deprecated.  


SINGLE_ACCOUNTING

public static readonly UnderlineStyle SINGLE_ACCOUNTING
Deprecated.  


DOUBLE_ACCOUNTING

public static readonly UnderlineStyle DOUBLE_ACCOUNTING
Deprecated.  


NORMAL_SCRIPT

public static readonly ScriptStyle NORMAL_SCRIPT
Deprecated. 

SUPERSCRIPT

public static readonly ScriptStyle SUPERSCRIPT
Deprecated. 

SUBSCRIPT

public static readonly ScriptStyle SUBSCRIPT
Deprecated. 
Constructor Detail

Font

public Font(WritableFont.FontName fn)
Deprecated. Use xl.write.WritableFont

Creates a default font, vanilla font of the specified face and with default point size.

Parameters:
fn - the font name

Font

public Font(WritableFont.FontName fn,
            int ps)
Deprecated. use xl.write.WritableFont

Constructs of font of the specified face and of size given by the specified point size

Parameters:
ps - the point size
fn - the font name

Font

public Font(WritableFont.FontName fn,
            int ps,
            xl.write.WritableFont.BoldStyle bs)
Deprecated. use xl.write.WritableFont

Creates a font of the specified face, point size and bold style

Parameters:
ps - the point size
bs - the bold style
fn - the font name

Font

public Font(WritableFont.FontName fn,
            int ps,
            xl.write.WritableFont.BoldStyle bs,
            boolean italic)
Deprecated. use xl.write.WritableFont

Creates a font of the specified face, point size, bold weight and italicized option.

Parameters:
ps - the point size
bs - the bold style
italic - italic flag
fn - the font name

Font

public Font(WritableFont.FontName fn,
            int ps,
            xl.write.WritableFont.BoldStyle bs,
            boolean it,
            UnderlineStyle us)
Deprecated. use xl.write.WritableFont

Creates a font of the specified face, point size, bold weight, italicization and underline style

Parameters:
ps - the point size
bs - the bold style
us - underscore flag
fn - font name
it - italic flag

Font

public Font(WritableFont.FontName fn,
            int ps,
            xl.write.WritableFont.BoldStyle bs,
            boolean it,
            UnderlineStyle us,
            Color c)
Deprecated. use xl.write.WritableFont

Creates a font of the specified face, point size, bold style, italicization, underline style and color

Parameters:
ps - the point size
bs - the bold style
us - the underline style
fn - the font name
it - italic flag
c - the color

Font

public Font(WritableFont.FontName fn,
            int ps,
            xl.write.WritableFont.BoldStyle bs,
            boolean it,
            UnderlineStyle us,
            Color c,
            ScriptStyle ss)
Deprecated. use xl.write.WritableFont

Creates a font of the specified face, point size, bold style, italicization, underline style, color, and script style (superscript/subscript)

Parameters:
ps - the point size
bs - the bold style
us - the underline style
fn - the font name
it - the italic flag
c - the color
ss - the script style