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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 Worksheet/Workbook Records<br />

5.27 DATAVALIDATIONS<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

— — — — 01B2 H<br />

This record is the list header of the Data Validity Table (➜4.14) in the current sheet.<br />

Record DATAVALIDATIONS, BIFF8:<br />

Offset Size Contents<br />

0 2 Option flags:<br />

Bit Mask Contents<br />

0 0001 H 0 = Prompt box not visible 1 = Prompt box currently visible<br />

1 0002 H 0 = Prompt box has fixed<br />

position<br />

1 = Prompt box appears at cell<br />

2 0004 H 1 = Cell validity data cached in following DATAVALIDATION<br />

records<br />

2 4 Horizontal position of the prompt box, if it has fixed position, in pixel<br />

6 4 Vertical position of the prompt box, if it has fixed position, in pixel<br />

10 4 Object identifier of the drop down arrow object for a list box (➜6), if a list box is visible at<br />

the current cursor position, FFFFFFFF H otherwise<br />

14 4 Number of following DATAVALIDATION records (➜5.26)<br />

5.28 DATEMODE<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

0022 H 0022 H 0022 H 0022 H 0022 H<br />

This record specifies the base date for displaying date values. All dates are stored as count of days past this base date. In<br />

BIFF2-BIFF4 this record is part of the Calculation Settings Block (➜4.3). In BIFF5-BIFF8 it is stored in the Workbook<br />

Globals Substream.<br />

Record DATEMODE, BIFF2-BIFF8:<br />

Offset Size Contents<br />

0 2 0 = Base date is 1899-Dec-31 (the cell value 1 represents 1900-Jan-01)<br />

1 = Base date is 1904-Jan-01 (the cell value 1 represents 1904-Jan-02)<br />

154

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

Saved successfully!

Ooh no, something went wrong!