The Microsoft Excel File Format - OpenOffice.org
The Microsoft Excel File Format - OpenOffice.org
The Microsoft Excel File Format - OpenOffice.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5 Worksheet/Workbook Records<br />
• Font <strong>Format</strong>ting Block<br />
Offset Size Contents<br />
0 64 Font name (Unicode string, 8-bit string length, ➜2.5.3). <strong>The</strong> empty string (length 0)<br />
preserves the font name of the current cell. <strong>The</strong> remaining bytes of this fixed-size block<br />
(always 64 bytes) are not used.<br />
64 4 Font height (in twips = 1 / 20 of a point); or –1 to preserve the cell font height<br />
68 4 Font options:<br />
Bit Mask Contents<br />
1 00000002 H Posture: 0 = Normal; 1 = Italic (only if font-style = 0)<br />
3 00000008 H Outline: 0 = Off; 1 = On (only if font-outline = 0)<br />
4 00000010 H Shadow: 0 = Off; 1 = On (only if font-shadow = 0)<br />
5 00000020 H Condense: 0 = Off; 1 = On (only if font-cond = 0)<br />
7 00000080 H Cancellation: 0 = Off; 1 = On (only if font-canc = 0)<br />
72 2 Font weight (100-1000, only if font-style = 0).<br />
Standard values are 0190 H (400) for normal text and 02BC H (700) for bold text.<br />
74 2 Escapement type (only if font-esc = 0):<br />
0 = None<br />
1 = Superscript<br />
2 = Subscript<br />
76 1 Underline type (only if font-underl = 0):<br />
00 H = None<br />
01 H = Single 21 H = Single accounting<br />
02 H = Double 22 H = Double accounting<br />
77 3 Not used<br />
80 4 Font colour index (➜5.74); or –1 to preserve the cell font colour<br />
84 4 Not used<br />
88 4 Option flags for modified font attributes:<br />
Bit Mask Name Contents<br />
1 00000002 H font-style 0 = Font style (posture/boldness) modified<br />
3 00000008 H font-outline 0 = Font outline modified<br />
4 00000010 H font-shadow 0 = Font shadow modified<br />
5 00000020 H font-cond 0 = Font condense modified<br />
7 00000080 H font-canc 0 = Font cancellation modified<br />
92 4 0 = Escapement type modified, 1 = preserved (font-esc)<br />
96 4 0 = Underline type modified, 1 = preserved (font-underl)<br />
100 4 Always 00000001 H<br />
104 4 Always 00000001 H<br />
108 8 Not used<br />
116 2 Always 0001 H<br />
142