public class Font extends WritableFont
WritableFont.FontName
Modifier and Type | Field and Description |
---|---|
static WritableFont.FontName |
ARIAL
Deprecated.
|
static jxl.write.WritableFont.BoldStyle |
BOLD
Deprecated.
|
static UnderlineStyle |
DOUBLE
Deprecated.
|
static UnderlineStyle |
DOUBLE_ACCOUNTING
Deprecated.
|
static jxl.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.
|
COURIER, DEFAULT_POINT_SIZE, TAHOMA
Constructor and Description |
---|
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,
jxl.write.WritableFont.BoldStyle bs)
Deprecated.
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs,
boolean italic)
Deprecated.
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs,
boolean it,
UnderlineStyle us)
Deprecated.
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs,
boolean it,
UnderlineStyle us,
Colour c)
Deprecated.
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs,
boolean it,
UnderlineStyle us,
Colour c,
ScriptStyle ss)
Deprecated.
use jxl.write.WritableFont
|
createFont, isStruckout, setBoldStyle, setColour, setItalic, setPointSize, setScriptStyle, setStruckout, setUnderlineStyle
public static final WritableFont.FontName ARIAL
public static final WritableFont.FontName TIMES
public static final jxl.write.WritableFont.BoldStyle NO_BOLD
public static final jxl.write.WritableFont.BoldStyle BOLD
public static final UnderlineStyle NO_UNDERLINE
public static final UnderlineStyle SINGLE
public static final UnderlineStyle DOUBLE
public static final UnderlineStyle SINGLE_ACCOUNTING
public static final UnderlineStyle DOUBLE_ACCOUNTING
public static final ScriptStyle NORMAL_SCRIPT
public static final ScriptStyle SUPERSCRIPT
public static final ScriptStyle SUBSCRIPT
public Font(WritableFont.FontName fn)
fn
- the font namepublic Font(WritableFont.FontName fn, int ps)
ps
- the point sizefn
- the font namepublic Font(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs)
ps
- the point sizebs
- the bold stylefn
- the font namepublic Font(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean italic)
ps
- the point sizebs
- the bold styleitalic
- italic flagfn
- the font namepublic Font(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us)
ps
- the point sizebs
- the bold styleus
- underscore flagfn
- font nameit
- italic flagpublic Font(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Colour c)
ps
- the point sizebs
- the bold styleus
- the underline stylefn
- the font nameit
- italic flagc
- the colourpublic Font(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Colour c, ScriptStyle ss)
ps
- the point sizebs
- the bold styleus
- the underline stylefn
- the font nameit
- the italic flagc
- the colourss
- the script style