Package 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:
jxl.biff.ByteData
,Font
Deprecated.
Renamed to writable font
A class which is instantiated when the user application wishes to specify
the font for a particular cell
-
Nested Class Summary
Nested classes/interfaces inherited from class jxl.write.WritableFont
WritableFont.FontName
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WritableFont.FontName
Deprecated.static final jxl.write.WritableFont.BoldStyle
Deprecated.static final UnderlineStyle
Deprecated.static final UnderlineStyle
Deprecated.static final jxl.write.WritableFont.BoldStyle
Deprecated.static final UnderlineStyle
Deprecated.static final ScriptStyle
Deprecated.static final UnderlineStyle
Deprecated.static final UnderlineStyle
Deprecated.static final ScriptStyle
Deprecated.static final ScriptStyle
Deprecated.static final WritableFont.FontName
Deprecated.Fields inherited from class jxl.write.WritableFont
COURIER, DEFAULT_POINT_SIZE, TAHOMA
Fields inherited from class jxl.biff.FontRecord
biff7
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Use jxl.write.WritableFontFont
(WritableFont.FontName fn, int ps) Deprecated.use jxl.write.WritableFontFont
(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs) Deprecated.use jxl.write.WritableFontFont
(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean italic) Deprecated.use jxl.write.WritableFontFont
(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us) Deprecated.use jxl.write.WritableFontFont
(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Colour c) Deprecated.use jxl.write.WritableFontFont
(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Colour c, ScriptStyle ss) Deprecated.use jxl.write.WritableFont -
Method Summary
Methods inherited from class jxl.write.WritableFont
createFont, isStruckout, setBoldStyle, setColour, setItalic, setPointSize, setScriptStyle, setStruckout, setUnderlineStyle
Methods inherited from class jxl.biff.FontRecord
equals, getBoldWeight, getColour, getData, getFontIndex, getName, getPointSize, getScriptStyle, getUnderlineStyle, hashCode, initialize, isInitialized, isItalic, uninitialize
Methods inherited from class jxl.biff.WritableRecordData
getBytes
-
Field Details
-
ARIAL
Deprecated.Objects created with this font name will be rendered within Excel as ARIAL fonts -
TIMES
Deprecated.Objects created with this font name will be rendered within Excel as TIMES fonts -
NO_BOLD
public static final jxl.write.WritableFont.BoldStyle NO_BOLDDeprecated.Indicates that this font should not be presented as bold -
BOLD
public static final jxl.write.WritableFont.BoldStyle BOLDDeprecated.Indicates that this font should be presented in a BOLD style -
NO_UNDERLINE
Deprecated. -
SINGLE
Deprecated. -
DOUBLE
Deprecated. -
SINGLE_ACCOUNTING
Deprecated. -
DOUBLE_ACCOUNTING
Deprecated. -
NORMAL_SCRIPT
Deprecated. -
SUPERSCRIPT
Deprecated. -
SUBSCRIPT
Deprecated.
-
-
Constructor Details
-
Font
Deprecated.Use jxl.write.WritableFontCreates a default font, vanilla font of the specified face and with default point size.- Parameters:
fn
- the font name
-
Font
Deprecated.use jxl.write.WritableFontConstructs of font of the specified face and of size given by the specified point size- Parameters:
ps
- the point sizefn
- the font name
-
Font
Deprecated.use jxl.write.WritableFontCreates a font of the specified face, point size and bold style- Parameters:
ps
- the point sizebs
- the bold stylefn
- the font name
-
Font
Deprecated.use jxl.write.WritableFontCreates a font of the specified face, point size, bold weight and italicised option.- Parameters:
ps
- the point sizebs
- the bold styleitalic
- italic flagfn
- the font name
-
Font
public Font(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us) Deprecated.use jxl.write.WritableFontCreates a font of the specified face, point size, bold weight, italicisation and underline style- Parameters:
ps
- the point sizebs
- the bold styleus
- underscore flagfn
- font nameit
- italic flag
-
Font
public Font(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Colour c) Deprecated.use jxl.write.WritableFontCreates a font of the specified face, point size, bold style, italicisation, underline style and colour- Parameters:
ps
- the point sizebs
- the bold styleus
- the underline stylefn
- the font nameit
- italic flagc
- the colour
-
Font
public Font(WritableFont.FontName fn, int ps, jxl.write.WritableFont.BoldStyle bs, boolean it, UnderlineStyle us, Colour c, ScriptStyle ss) Deprecated.use jxl.write.WritableFontCreates a font of the specified face, point size, bold style, italicisation, underline style, colour, and script style (superscript/subscript)- Parameters:
ps
- the point sizebs
- the bold styleus
- the underline stylefn
- the font nameit
- the italic flagc
- the colourss
- the script style
-