class Xls::Spreadsheet::Font

Overview

See http://sc.openoffice.org/excelfileformat.pdf, page 171

Included Modules

Defined in:

xls/helpers/constants.cr
xls/spreadsheet/font.cr

Instance Method Summary

Instance methods inherited from module Xls::InspectableMethods

inspect(io : IO) : Nil inspect, to_s(io : IO) : Nil to_s

Instance Method Detail

def bold : UInt16 #

[View source]
def bold_font_weight? : Bool #

[View source]
def charset : FontCharset #

[View source]
def color(default_color_index : UInt16 = 0) : UInt32 #

[View source]
def escapement : FontEscapement #

[View source]
def family : FontFamily #

[View source]
def flag : OptionFlags #

[View source]
def height : UInt16 #

Returns the height of the font (in twips = 1/20 of a point)


[View source]
def name : String #

[View source]
def real_index : UInt32 #

The first 4 indexes are zero-based, the fifth index is omitted, and the following indexes are one-based.

See Xls::Spreadsheet#fonts for more information


[View source]
def standard_font_weight? : Bool #

[View source]
def to_unsafe #

[View source]
def underline : FontUnderline #

[View source]