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.

4 Worksheet/Workbook Stream<br />

4.10.2 References in BIFF5<br />

<strong>The</strong> data of references is spread in several Link Tables.<br />

Definition: Global Link Table<br />

<strong>The</strong> Global Link Table contains reference data used by internal defined names. It is located in the Workbook<br />

Globals Substream (➜4.2.4) and is followed by the list of DEFINEDNAME records containing definitions of all<br />

internal defined names. If no names are defined in the document, or none of the defined names needs any<br />

reference data, the Global Link Table will not occur.<br />

Definition: Local Link Table<br />

<strong>The</strong> reference data used in sheets (for example cell formulas) is stored in Local Link Tables inside the Sheet<br />

Substreams (➜4.2.4). Each worksheet that uses references contains its own Local Link Table.<br />

• Structure of the Link Table<br />

Common structure of the Link Table, BIFF5:<br />

● EXTERNCOUNT ➜5.40<br />

●● EXTERNSHEET Blocks Settings for a referenced worksheet or document<br />

<strong>The</strong>re are three different kinds of EXTERNSHEET Blocks, all starting with an EXTERNSHEET record.<br />

<strong>The</strong> Internal EXTERNSHEET Sheet Block represents a referenced worksheet in the own document. <strong>The</strong> EXTERN-<br />

SHEET record contains the sheet name only. <strong>The</strong>re will not be any other records following it.<br />

Common structure of an Internal EXTERNSHEET Sheet Block, BIFF5:<br />

● EXTERNSHEET ➜5.41<br />

<strong>The</strong> External EXTERNSHEET Sheet Block represents a referenced worksheet in an external document. <strong>The</strong> EXTERN-<br />

SHEET record contains the URL of the document together with the sheet name. It is followed by cached cell contents if<br />

enabled (see record BOOKBOOL, ➜5.9).<br />

Common structure of an External EXTERNSHEET Sheet Block, BIFF5:<br />

● EXTERNSHEET ➜5.41<br />

○ XCT ➜5.114<br />

○○ CRN ➜5.23<br />

<strong>The</strong> EXTERNSHEET Document Block represents a complete external document (for example used for external names,<br />

add-in functions, or DDE links). <strong>The</strong> EXTERNSHEET record only contains the URL of the document without a sheet<br />

name. It is followed by external name definitions.<br />

Common structure of an EXTERNSHEET Document Block, BIFF5:<br />

● EXTERNSHEET ➜5.41<br />

●● EXTERNALNAME ➜5.39<br />

100

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

Saved successfully!

Ooh no, something went wrong!