jxl.write
Class Font

java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.biff.FontRecord
                    |
                    +--jxl.write.biff.WritableFontRecord
                          |
                          +--jxl.write.WritableFont
                                |
                                +--jxl.write.Font
All Implemented Interfaces:
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


Inner classes inherited from class jxl.write.WritableFont
WritableFont.BoldStyle, WritableFont.FontName
 
Inner classes inherited from class jxl.biff.FontRecord
FontRecord.Biff7
 
Field Summary
static WritableFont.FontName ARIAL
          Deprecated.  
static WritableFont.BoldStyle BOLD
          Deprecated.  
static UnderlineStyle DOUBLE
          Deprecated.  
static UnderlineStyle DOUBLE_ACCOUNTING
          Deprecated.  
static 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 jxl.biff.FontRecord
biff7, boldWeight, characterSet, colourIndex, fontFamily, fontIndex, initialized, italic, name, pointHeight, scriptStyle, struckout, underlineStyle
 
Fields inherited from class jxl.biff.RecordData
code, record
 
Constructor Summary
Font(WritableFont.FontName fn)
          Deprecated. Use jxl.write.WritableFont
Font(WritableFont.FontName fn, int ps)
          Deprecated. use jxl.write.WritableFont
Font(WritableFont.FontName fn, int ps, WritableFont.BoldStyle bs)
          Deprecated. use jxl.write.WritableFont
Font(WritableFont.FontName fn, int ps, WritableFont.BoldStyle bs, boolean italic)
          Deprecated. use jxl.write.WritableFont
Font(WritableFont.FontName fn, int ps, WritableFont.BoldStyle bs, boolean it, UnderlineStyle us)
          Deprecated. use jxl.write.WritableFont
Font(WritableFont.FontName fn, int ps, WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Colour c)
          Deprecated. use jxl.write.WritableFont
Font(WritableFont.FontName fn, int ps, WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Colour c, ScriptStyle ss)
          Deprecated. use jxl.write.WritableFont
 
Methods inherited from class jxl.write.WritableFont
setBoldStyle, setColour, setItalic, setPointSize, setScriptStyle, setUnderlineStyle
 
Methods inherited from class jxl.write.biff.WritableFontRecord
setBoldStyle, setColour, setScriptStyle, setUnderlineStyle
 
Methods inherited from class jxl.biff.FontRecord
equals, getBoldWeight, getColour, getData, getFontIndex, getName, getPointSize, getScriptStyle, getUnderlineStyle, initialize, isInitialized, isItalic, setFontBoldStyle, setFontColour, setFontItalic, setFontPointSize, setFontScriptStyle, setFontUnderlineStyle, uninitialize
 
Methods inherited from class jxl.biff.WritableRecordData
getBytes
 
Methods inherited from class jxl.biff.RecordData
getCode, getRecord
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ARIAL

public static WritableFont.FontName ARIAL
Deprecated.  

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

TIMES

public static WritableFont.FontName TIMES
Deprecated.  

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

NO_BOLD

public static final WritableFont.BoldStyle NO_BOLD
Deprecated.  

Indicates that this font should not be presented as bold

BOLD

public static final WritableFont.BoldStyle BOLD
Deprecated.  

Indicates that this font should be presented in a BOLD style

NO_UNDERLINE

public static final UnderlineStyle NO_UNDERLINE
Deprecated.  


SINGLE

public static final UnderlineStyle SINGLE
Deprecated.  


DOUBLE

public static final UnderlineStyle DOUBLE
Deprecated.  


SINGLE_ACCOUNTING

public static final UnderlineStyle SINGLE_ACCOUNTING
Deprecated.  


DOUBLE_ACCOUNTING

public static final UnderlineStyle DOUBLE_ACCOUNTING
Deprecated.  


NORMAL_SCRIPT

public static final ScriptStyle NORMAL_SCRIPT
Deprecated. 

SUPERSCRIPT

public static final ScriptStyle SUPERSCRIPT
Deprecated. 

SUBSCRIPT

public static final ScriptStyle SUBSCRIPT
Deprecated. 
Constructor Detail

Font

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

Creates a default font, vanilla font of the specified face and with default point size.
Parameters:
fn -  

Font

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

Constructs of font of the specified face and of size given by the specified point size
Parameters:
ps -  
fn -  

Font

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

Creates a font of the specified face, point size and bold style
Parameters:
ps -  
bs -  
fn -  

Font

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

Creates a font of the specified face, point size, bold weight and italicised option.
Parameters:
ps -  
bs -  
italic -  
fn -  

Font

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

Creates a font of the specified face, point size, bold weight, italicisation and underline style
Parameters:
ps -  
bs -  
us -  
fn -  
it -  

Font

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

Creates a font of the specified face, point size, bold style, italicisation, underline style and colour
Parameters:
ps -  
bs -  
us -  
fn -  
it -  
c -  

Font

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

Creates a font of the specified face, point size, bold style, italicisation, underline style, colour, and script style (superscript/subscript)
Parameters:
ps -  
bs -  
us -  
fn -  
it -  
c -  
ss -