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 Worksheet/Workbook Stream<br />

4.7 Cell Table and Row Blocks<br />

4.7.1 Cell Table<br />

Definition: Cell Table<br />

<strong>The</strong> Cell Table describes all cells in a sheet, together with all row and column settings for that sheet.<br />

Structure of the Cell Table in the Worksheet Stream (BIFF2):<br />

○ DEFAULTROWHEIGHT ➜5.31<br />

○ DEFCOLWIDTH ➜5.32<br />

○○ COLWIDTH ➜5.20<br />

● DIMENSION ➜5.35<br />

○○ COLUMNDEFAULT ➜5.19<br />

○○ Row Block(s) Groups of rows with cells (➜4.7.2)<br />

Structure of the Cell Table in the Worksheet Stream (BIFF3-BIFF4), and Sheet Substream (BIFF5-BIFF8):<br />

○ DEFAULTROWHEIGHT ➜5.31<br />

○ DEFCOLWIDTH ➜5.32<br />

○○ COLINFO ➜5.18<br />

● DIMENSION ➜5.35<br />

○○ Row Block(s) Groups of rows with cells (➜4.7.2)<br />

○ STANDARDWIDTH ➜5.101 (BIFF4-BIFF8 only)<br />

4.7.2 Row Block<br />

Definition: Row Block<br />

All cells in the Cell Table are divided into blocks of 32 consecutive rows, called Row Blocks. <strong>The</strong> first Row<br />

Block starts with the first used row in that sheet. Inside each Row Block there will occur ROW records describing<br />

the properties of the rows, and cell records with all the cell contents in this Row Block.<br />

Example: <strong>The</strong> first used cell in the sheet is located in row 10, or row 10 is the first formatted row. <strong>The</strong> first Row<br />

Block will contain the rows 10…41, the second Row Block will contain the rows 42…73, and so on.<br />

Each Row Block contains ROW records describing the row properties (in ascending order), followed by all cell records<br />

in this block. <strong>The</strong> cell records are stored row by row (ascending), and in each row from left to right. A used row either<br />

contains any (filled or formatted) cells or is changed in another way (for instance height or default formatting). If a row<br />

is not used, there will not occur a ROW record in the Row Block.<br />

Structure of a Row Block in the Worksheet Stream (BIFF2-BIFF4) or in the Sheet Substream (BIFF5-BIFF8):<br />

●● ROW Properties of the used rows (➜5.88)<br />

○○ Cell Block(s) Cell records for all used cells (➜4.7.3)<br />

●<br />

DBCELL<br />

Stream offsets to the cell records of each row<br />

(BIFF5-BIFF8 only, ➜5.29)<br />

90

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

Saved successfully!

Ooh no, something went wrong!