module
XlsxParser::Styles
Overview
Module XlsxParser::Styles contains a map of non-custom numFmtId to casting symbol.
The NumFmtMap is a hash that maps the numFmtId to the corresponding casting symbol. The casting symbols represent the data type that should be used when parsing the cell value.
Defined in:
xlsx-parser/styles.crxlsx-parser/styles/converter.cr
xlsx-parser/styles/parser.cr
Constant Summary
-
NumFmtMap =
{0 => :string, 1 => :fixnum, 2 => :float, 3 => :fixnum, 4 => :float, 5 => :unsupported, 6 => :unsupported, 7 => :unsupported, 8 => :unsupported, 9 => :percentage, 10 => :percentage, 11 => :bignum, 12 => :unsupported, 13 => :unsupported, 14 => :date, 15 => :date, 16 => :date, 17 => :date, 18 => :time, 19 => :time, 20 => :time, 21 => :time, 22 => :date_time, 37 => :unsupported, 38 => :unsupported, 39 => :unsupported, 40 => :unsupported, 45 => :time, 46 => :time, 47 => :time, 48 => :bignum, 49 => :unsupported}