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.

5.33 DEFINEDNAME<br />

5.33 DEFINEDNAME<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

0018 H 0218 H 0218 H 0018 H 0018 H<br />

This record is part of a Link Table (➜4.10). It contains the name and the token array of an internal defined name. Token<br />

arrays of defined names contain tokens with aberrant token classes (➜3.2).<br />

Record DEFINEDNAME, BIFF2:<br />

Offset Size Contents<br />

0 1 Option flags:<br />

Bit Mask Contents<br />

1 02 H 1 = Function macro or command macro<br />

2 04 H 1 = Complex function (array formula or user defined)<br />

1 1 If name is function macro or command macro (see option flags above):<br />

01 H = Function macro, 02 H = Command macro<br />

2 1 Keyboard shortcut (only for command macro names)<br />

3 1 Length of the name (character count, ln)<br />

4 1 Size of the formula data (sz)<br />

5 ln Character array of the name<br />

5+ln sz Formula data (RPN token array without size field, ➜3)<br />

5+ln+sz 1 Duplicate of the formula data size field (sz)<br />

Record DEFINEDNAME, BIFF3-BIFF4:<br />

Offset Size Contents<br />

0 2 Option flags, see below<br />

2 1 Keyboard shortcut (only for command macro names, see below)<br />

3 1 Length of the name (character count, ln)<br />

4 2 Size of the formula data (sz)<br />

6 ln Character array of the name<br />

6+ln sz Formula data (RPN token array without size field, ➜3)<br />

157

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

Saved successfully!

Ooh no, something went wrong!