3.6.19 Formatting: BrtXF 2
The next record in this example, BrtXF (section 2.4.862), specifies the default cell formatting for the workbook, as specified in the following table.
Size |
Structure |
Value |
---|---|---|
0010 |
BrtXF - BrtXf |
|
0002 |
WORD - ixfeParent |
0x0000 |
0002 |
Ifmt - iFmt |
|
0002 |
WORD - ifmt |
0x0000 |
0002 |
WORD - iFont |
0x0000 |
0002 |
WORD - iFill |
0x0000 |
0002 |
WORD - ixBorder |
0x0000 |
0001 |
BYTE - trot |
0x00 |
0001 |
BYTE - indent |
0x00 |
3 bits |
BYTE - alc |
0x0 |
3 bits |
BYTE - alcv |
0x2 |
1 bit |
BYTE - fWrap |
0x0 |
1 bit |
BYTE - fJustLast |
0x0 |
1 bit |
BYTE - fShrinkToFit |
0x0 |
1 bit |
BYTE - fMergeCell |
0x0 |
2 bits |
BYTE - iReadingOrder |
0x0 |
1 bit |
BYTE - fLocked |
0x1 |
1 bit |
BYTE - fHidden |
0x0 |
1 bit |
BYTE - fSxButton |
0x0 |
1 bit |
BYTE - f123Prefix |
0x0 |
6 bits |
WORD - xfGrbitAtr |
0x00 |
10 bits |
WORD - unused |
0x000 |
Structure of BrtXf
Fields in this record that are explained in previous records in this example are omitted for brevity.
ixfeParent: 0x0000 specifies that the parent cell style (section 2.2.6.1.2) is the first BrtXF (section 2.4.862) in the BrtBeginCellStyleXFs (section 2.4.20) collection.
xfGrbitAtr: 0x0000 specifies the cell formatting properties that are overwritten according to the following table:
-
Offset
Field Name
Bits
Meaning
0
ibitAtrNum
1
0x0 specifies that the number property of the formatting for this cell is not inherited.
1
ibitAtrFnt
1
0x0 specifies that the font property of the formatting for this cell is not inherited.
2
ibitAtrAlc
1
0x0 specifies that the alignment property of the formatting for this cell is not inherited.
3
ibitAtrBdr
1
0x0 specifies that the border property of the formatting for this cell is not inherited.
4
ibitAtrPat
1
0x0 specifies that the fill property of the formatting for this cell is not inherited.
5
ibitAtrProt
1
0x0 specifies that the protection property of the formatting for this cell is not inherited.
-