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.

10 Workspace Documents<br />

10 Workspace Documents<br />

2do<br />

10.1 Workspace Stream<br />

10.1.1 Workbook Stream (BIFF4W)<br />

<strong>The</strong> whole BIFF4W workbook file consists of the Workbook Stream. It contains the global workbook data in the<br />

Workbook Globals Substream, and a list of worksheets, the Sheet Substreams.<br />

<strong>The</strong> Workbook Globals Substream contains common information about the workbook, for instance text encoding, global<br />

view settings or a list of all sheet names. Additionally each workbook holds a SHEETSOFFSET record.<br />

<strong>The</strong> data of the sheets is stored in Sheet Substreams, which are embedded in the Workbook Globals Substream. Each<br />

substream is preceded with a SHEETHDR record which contains the name of the sheet and the size of the following<br />

substream. <strong>The</strong> SHEETSOFFSET record mentioned above contains the stream position of the first SHEETHDR record.<br />

Each substream is a complete BIFF4 Worksheet Stream (➜4.1.1).<br />

Common structure of the Workspace Stream, BIFF4W:<br />

● BOF Type = workbook globals<br />

Global workbook records<br />

● SHEETSOFFSET Position of the first SHEETHDR record (➜10.5)<br />

Global workbook records<br />

○○<br />

● SHEETHDR Sheet name, length of following substream (➜10.4)<br />

● BOF Type = sheet, chart, macro sheet<br />

●●<br />

Embedded BIFF4 Sheet Substream, ➜4.1.1<br />

●<br />

●<br />

EOF<br />

EOF<br />

Structure of the Worksheet Protection Block, BIFF4W:<br />

○ PROTECT Worksheet contents: 1 = protected (➜5.82)<br />

○ WINDOWPROTECT Window settings: 1 = protected (➜5.111)<br />

○ OBJECTPROTECT Embedded objects: 1 = protected (➜5.72)<br />

○ SCENPROTECT Scenarios: 1 = protected (➜5.91)<br />

○ PASSWORD Hash value of the password; 0 = no password (➜5.76)<br />

246

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

Saved successfully!

Ooh no, something went wrong!