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

5.94 SHAREDFMLA – Shared Formula<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

— — — 04BC H 04BC H<br />

This record stores the token array of a shared formula. Shared formulas are similar to array formulas, they store a formula<br />

used in a range of cells. <strong>The</strong> SHAREDFMLA record is not a real cell record, but follows the first FORMULA record<br />

(➜5.50) of the cell range. For more information about shared formulas see ➜4.8.<br />

Record SHAREDFMLA, BIFF5-BIFF8:<br />

Offset Size Contents<br />

0 6 Cell range address of the area used by the shared formula (➜2.5.14). Column indexes are<br />

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

6 1 Not used<br />

7 1 Number of existing FORMULA records for this shared formula<br />

8 var. Token array of the shared formula (➜3)<br />

5.95 SHEET<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

— — — 0085 H 0085 H<br />

This record is located in the Workbook Globals Substream and represents a sheet inside the workbook. One SHEET<br />

record is written for each sheet. It stores the sheet name and a stream offset to the BOF record (➜5.8) of the respective<br />

Sheet Substream within the Workbook Stream.<br />

Record SHEET, BIFF5-BIFF8:<br />

Offset Size Contents<br />

0 4 Absolute stream position of the BOF record of the sheet represented by this record. This<br />

field is never encrypted in protected files.<br />

4 1 Sheet state: 0 = Visible<br />

1 = Hidden<br />

2 = “Very hidden”. Can only be set programmatically, e.g. with a<br />

Visual Basic macro. It is not possible to make such a sheet visible via<br />

the user interface.<br />

5 1 Sheet type: 00 H = Worksheet<br />

02 H = Chart<br />

06 H = Visual Basic module<br />

6 var. Sheet name: BIFF5: Byte string, 8-bit string length (➜2.5.2)<br />

BIFF8: Unicode string, 8-bit string length (➜2.5.3)<br />

206

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

Saved successfully!

Ooh no, something went wrong!