19.14.2. Fonts

This group of XLS-CSS attributes define a font and its attributes.
xls-font-family
The name of the font. Make sure the font you enter here is supported by your system.
xls-font-size
A plain number value denoting the font size.
xls-font-color
The color of the font. (See jxl.format.Colour.)
xls-font-bold
A Boolean determining whether the font is bold. Valid values are true and false.
xls-font-italic
A Boolean determining whether the font is italicized. Valid values are true and false.
xls-font-script-style
The script style of the font. (See jxl.format.ScriptStyle.)
xls-font-underline-style
The underline style of the font. (See jxl.format.UnderlineStyle.)
xls-font-struck-out
A Boolean determining whether the font is struck-through. Valid values are true and false.
xls-font
A shorthand notation for setting all values associated with font. Place the font name last. (If you wish to use a font with spaces in its name, use tick marks to surround the font. For example, 'Times New Roman'.) Here, defined italicized, bold, or struck-through text with italic, bold, or struckout.
For example: style="xls-font: red bold italic 22 Verdana"