The Format Object

class Format(format_key, ty, format_str)

“Number format” information from a FORMAT record.

  • New in version 0.6.1
Foramt.format_key

The key into Book.format_map

Format.format_str

The format string

Format.type

A classification that has been inferred from the format string. Currently, this is used only to distinguish between numbers and dates.

Name Value Description
FUN 0 Unknown
FDT 1 Date
FNU 2 Bumber
FGE 3 General
FTX 4 Text

Previous topic

The Font Object

Next topic

The Name Class

This Page