Each style in a Microsoft Excel workbook, whether built-in or user-defined, requires a style record in the BIFF file. When Microsoft Excel saves the workbook, it writes the STYLE records in alphabetical order, which is the order in which the styles appear in the drop-down list box.
Record Data — Built-in Styles
Offset |
Name |
Size |
Contents |
4 |
ixfe |
2 |
Index to the style XF record. |
6 |
istyBuiltIn |
1 |
Built-in style numbers: |
7 |
iLevel |
1 |
Level of the outline style RowLevel_n or ColLevel_n (see text). |
Record Data — User-Defined Styles
Offset |
Name |
Size |
Contents |
4 |
ixfe |
2 |
Index to the style XF record. |
6 |
cch |
1 |
Length of the style name. |
7 |
rgch |
(var) |
Style name. |
The automatic outline styles — RowLevel_1 through RowLevel_7, and ColLevel_1 through ColLevel_7 — are stored by setting istyBuiltIn to 01h or 02h and then setting iLevel to the style level minus 1. If the style is not an automatic outline style, ignore this field.