摘要 |
A method and system wherein characters in cells of a spreadsheet may be assigned character attribute information, such as font type, font size, bold, italics, underline, etc., wherein the character attribute information is referred to as an extended format. Each possible extended format combination is stored in an extended format table comprising a linked list of extended format combinations. When a new extended format combination is created, its position in the XF table is calculated according to a predetermined hash function. If two extended format combinations hash to the same location, the conflicting extended format is placed in an overflow table. Each cell in the spreadsheet contains an internal index which references a cell to an entry in the extended format table. Character format information is not stored in individual cells, and cells may share the same format combinations by merely setting the cell index to point to a desired format combination.
|