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.

10.3 INDEX<br />

10.3 INDEX<br />

BIFF3W BIFF4W BIFF5W BIFF8W<br />

— 020B H ??? ???<br />

2do<br />

This record stores the range of used rows and stream positions of several records of the current sheet. In particular the<br />

position of the first DEFINEDNAME record and XF record is stored (BIFF2-BIFF4) and the position of a specific<br />

record in each Row Block (the first ROW record in BIFF2-BIFF4, and the DBCELL record in BIFF5-BIFF8). This<br />

stream position array also contains stream offsets to empty Row Blocks, they will point to the next extant Row Block.<br />

<strong>The</strong> number of entries nm in this array can be calculated from the row range given in this record (rf is the index to the<br />

first used row, rl is the index to the first row of unused tail of sheet): nm = (rl – rf – 1) / 32 + 1 (using integer<br />

division).<br />

For details about Row Blocks in a worksheet see ➜4.7.<br />

Record INDEX, BIFF4W:<br />

Offset Size Contents<br />

0 4 Stream position of the first DEFINEDNAME record (➜5.33). <strong>The</strong> offset is relative to the<br />

starting position of the SHEETHDR record (➜10.4) of the current sheet.<br />

4 2 Index to first used row (rf, 0-based)<br />

6 2 Index to first row of unused tail of sheet (rl, last used row + 1, 0-based)<br />

8 4 Stream position of the first XF record (➜5.115). <strong>The</strong> offset is relative to the starting<br />

position of the SHEETHDR record (➜10.4) of the current sheet.<br />

12 4∙nm Array of nm stream positions to first ROW record (➜5.88) of each Row Block. <strong>The</strong> offsets<br />

are relative to the starting position of the SHEETHDR record (➜10.4) of the current sheet.<br />

249

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

Saved successfully!

Ooh no, something went wrong!