public class Font extends WritableFont
WritableFont.FontName
限定符和类型 | 字段和说明 |
---|---|
static WritableFont.FontName |
ARIAL
已过时。
|
static jxl.write.WritableFont.BoldStyle |
BOLD
已过时。
|
static UnderlineStyle |
DOUBLE
已过时。
|
static UnderlineStyle |
DOUBLE_ACCOUNTING
已过时。
|
static jxl.write.WritableFont.BoldStyle |
NO_BOLD
已过时。
|
static UnderlineStyle |
NO_UNDERLINE
已过时。
|
static ScriptStyle |
NORMAL_SCRIPT
已过时。
|
static UnderlineStyle |
SINGLE
已过时。
|
static UnderlineStyle |
SINGLE_ACCOUNTING
已过时。
|
static ScriptStyle |
SUBSCRIPT
已过时。
|
static ScriptStyle |
SUPERSCRIPT
已过时。
|
static WritableFont.FontName |
TIMES
已过时。
|
COURIER, DEFAULT_POINT_SIZE, TAHOMA
构造器和说明 |
---|
Font(WritableFont.FontName fn)
已过时。
Use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps)
已过时。
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs)
已过时。
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs,
boolean italic)
已过时。
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs,
boolean it,
UnderlineStyle us)
已过时。
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs,
boolean it,
UnderlineStyle us,
Colour c)
已过时。
use jxl.write.WritableFont
|
Font(WritableFont.FontName fn,
int ps,
jxl.write.WritableFont.BoldStyle bs,
boolean it,
UnderlineStyle us,
Colour c,
ScriptStyle ss)
已过时。
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