07.05.2014 Views

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

SHOW MORE
SHOW LESS

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 />

Record XF, BIFF8:<br />

Offset Size Contents<br />

0 2 Index to FONT record (➜5.45)<br />

2 2 Index to FORMAT record (➜5.49)<br />

4 2 XF type, cell protection, and parent style XF:<br />

Bit Mask Contents<br />

6 1 Alignment and text break:<br />

2-0 0007 H XF_TYPE_PROT – XF type, cell protection (see above)<br />

15-4 FFF0 H Index to parent style XF (always FFF H in style XFs)<br />

Bit Mask Contents<br />

2-0 07 H XF_HOR_ALIGN – Horizontal alignment (see above)<br />

3 08 H 1 = Text is wrapped at right border<br />

6-4 70 H XF_VERT_ALIGN – Vertical alignment (see above)<br />

7 80 H 1 = Justify last line in justified or distibuted text<br />

7 1 XF_ROTATION: Text rotation angle (see above)<br />

8 1 Indentation, shrink to cell size, and text direction:<br />

Bit Mask Contents<br />

3-0 0F H Indent level<br />

4 10 H 1 = Shrink content to fit into cell<br />

7-6 C0 H Text direction:<br />

0 = According to context 35 ; 1 = Left-to-right; 2 = Right-to-left<br />

9 1 Flags for used attribute groups:<br />

Bit Mask Contents<br />

7-2 FC H XF_USED_ATTRIB – Used attributes (see above)<br />

10 4 Cell border lines and background area:<br />

Bit Mask Contents<br />

3-0 0000000F H Left line style (➜2.5.11)<br />

7-4 000000F0 H Right line style (➜2.5.11)<br />

11-8 00000F00 H Top line style (➜2.5.11)<br />

15-12 0000F000 H Bottom line style (➜2.5.11)<br />

22-16 007F0000 H Colour index (➜5.74) for left line colour<br />

29-23 3F800000 H Colour index (➜5.74) for right line colour<br />

30 40000000 H 1 = Diagonal line from top left to right bottom<br />

31 80000000 H 1 = Diagonal line from bottom left to right top<br />

14 4 Bit Mask Contents<br />

6-0 0000007F H Colour index (➜5.74) for top line colour<br />

13-7 00003F80 H Colour index (➜5.74) for bottom line colour<br />

20-14 001FC000 H Colour index (➜5.74) for diagonal line colour<br />

24-21 01E00000 H Diagonal line style (➜2.5.11)<br />

31-26 FC000000 H Fill pattern (➜2.5.12)<br />

18 2 Bit Mask Contents<br />

6-0 007F H Colour index (➜5.74) for pattern colour<br />

13-7 3F80 H Colour index (➜5.74) for pattern background<br />

35<br />

Left-to-right, if the text starts with a character from a left-to-right script, or right-to-left, if the text starts with a character from a<br />

224<br />

right-to-left script.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!