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.

4.7 Cell Table and Row Blocks<br />

• Finding Row Blocks in BIFF5-BIFF8<br />

In BIFF5-BIFF8 the INDEX record contains an array with the stream positions of the DBCELL record (➜5.29)<br />

following the cell records in each Row Block. Because the DBCELL record is mandatory, a Row Block cannot be empty<br />

anymore.<br />

Example: A worksheet contains data in the rows 2, 4, 65, and 100. <strong>The</strong> range of used rows in the INDEX record<br />

is 2…101 (last used row + 1). <strong>The</strong>re are 4 Row Blocks in the sheet: 2…33, 34…65, 66…97, and 98…130. <strong>The</strong><br />

third Row Block is empty except its DBCELL record.<br />

0835 H BOF Type = worksheet<br />

0849 H INDEX Row range = 2…101<br />

Offsets = 09A9 H , 09D7 H , 09E1 H , 0A0B H<br />

Sheet records<br />

ROW Row = 2<br />

ROW Row = 4<br />

Cell records for this Row Block<br />

09A9 H<br />

DBCELL<br />

ROW Row = 65<br />

Cell records for this Row Block<br />

09D7 H<br />

09E1 H<br />

DBCELL<br />

DBCELL<br />

ROW Row = 100<br />

Cell records for this Row Block<br />

0A0B H<br />

DBCELL<br />

Sheet records<br />

EOF<br />

95

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

Saved successfully!

Ooh no, something went wrong!