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.24 DATATABLE – Multiple Operation Table<br />

5.24 DATATABLE – Multiple Operation Table<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

0036 H 0236 H 0236 H 0236 H 0236 H<br />

This record stores information about a multiple operation table in the sheet. It follows the first FORMULA record<br />

(➜5.50) of the cell range containing the operation table. For more information about multiple operations see ➜4.9.<br />

In BIFF2, a multiple operation with two data source ranges is stored in the DATATABLE2 record, see ➜5.25. From<br />

BIFF3 on, the DATATABLE record is able to represent this kind of multiple operation too.<br />

Record DATATABLE, BIFF2:<br />

Offset Size Contents<br />

0 6 Cell range address of the multiple operation table range (➜2.5.14)<br />

6 1 0 = Do not recalculate the table, 1 = Always recalculate the table<br />

7 1 0 = Input data is in the column left of the table, formulas are in the row above the table<br />

1 = Input data is in the row above the table, formulas are in the column left of the table<br />

8 2 Row index of the input cell<br />

10 2 Column index of the input cell<br />

Record DATATABLE, BIFF3-BIFF8:<br />

Offset Size Contents<br />

0 6 Cell range address of the multiple operation table range (➜2.5.14). Column indexes are<br />

always 8-bit values, also in BIFF8.<br />

6 2 Option flags:<br />

Bit Mask Contents<br />

0 0001 H 1 = Always recalculate array formula<br />

1 0002 H 1 = Calculate array formula on open<br />

2 0004 H 0 = Input data is in the column left of the table, formulas are in the<br />

row above the table<br />

1 = Input data is in the row above the table, formulas are in the<br />

column left of the table<br />

3 0008 H 1 = Table uses row and column input data (2-dimensional mode)<br />

4 0010 H 1 = First input cell has been deleted (BIFF8 only)<br />

5 0020 H 1 = Second input cell has been deleted (BIFF8 only)<br />

8 2 Row index of first input cell (in 2D mode, this is the “row input cell”)<br />

10 2 Column index of first input cell (in 2D mode, this is the “row input cell”)<br />

12 2 Row index of second input cell (2D mode only, for the “column input cell”)<br />

14 2 Column index of second input cell (2D mode only, for the “column input cell”)<br />

151

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

Saved successfully!

Ooh no, something went wrong!