Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
jxl.write.biff.WritableFontRecord
jxl.write.WritableFont
jxl.write.Font
public class Font
extends WritableFont
Nested Class Summary |
Nested classes/interfaces inherited from class jxl.write.WritableFont | |
WritableFont.FontName |
Field Summary | |
static WritableFont.FontName |
|
static BoldStyle |
|
static UnderlineStyle |
|
static UnderlineStyle |
|
static ScriptStyle | |
static BoldStyle |
|
static UnderlineStyle |
|
static UnderlineStyle |
|
static UnderlineStyle |
|
static ScriptStyle | |
static ScriptStyle | |
static WritableFont.FontName |
|
Fields inherited from class jxl.write.WritableFont | |
ARIAL , BOLD , COURIER , DEFAULT_POINT_SIZE , NO_BOLD , TAHOMA , TIMES |
Constructor Summary | |
| |
| |
| |
| |
| |
| |
|
Method Summary |
Methods inherited from class jxl.write.WritableFont | |
createFont , isStruckout , setBoldStyle , setColour , setItalic , setPointSize , setScriptStyle , setStruckout , setUnderlineStyle |
public static final WritableFont.FontName ARIAL
Deprecated.
Objects created with this font name will be rendered within Excel as ARIAL fonts
public static final BoldStyle BOLD
Deprecated.
Indicates that this font should be presented in a BOLD style
public static final BoldStyle NO_BOLD
Deprecated.
Indicates that this font should not be presented as bold
public static final WritableFont.FontName TIMES
Deprecated.
Objects created with this font name will be rendered within Excel as TIMES fonts
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
- the font name
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:
fn
- the font nameps
- the point size
public Font(WritableFont.FontName fn, int ps, BoldStyle bs)
Deprecated. use jxl.write.WritableFont
Creates a font of the specified face, point size and bold style
- Parameters:
fn
- the font nameps
- the point sizebs
- the bold style
public Font(WritableFont.FontName fn, int ps, BoldStyle bs, boolean italic)
Deprecated. use jxl.write.WritableFont
Creates a font of the specified face, point size, bold weight and italicised option.
- Parameters:
fn
- the font nameps
- the point sizebs
- the bold styleitalic
- italic flag
public Font(WritableFont.FontName fn, int ps, 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:
fn
- font nameps
- the point sizebs
- the bold styleit
- italic flagus
- underscore flag
public Font(WritableFont.FontName fn, int ps, 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:
fn
- the font nameps
- the point sizebs
- the bold styleit
- italic flagus
- the underline stylec
- the colour
public Font(WritableFont.FontName fn, int ps, 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:
fn
- the font nameps
- the point sizebs
- the bold styleit
- the italic flagus
- the underline stylec
- the colourss
- the script style