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.41 EXTERNSHEET<br />

5.41.2 Record Contents (BIFF8)<br />

In BIFF8 the record stores a list with indexes to EXTERNALBOOK records (list of REF structures, ➜5.38). See<br />

➜4.10.3 for details about external references in BIFF8.<br />

Record EXTERNSHEET, BIFF8:<br />

Offset Size Contents<br />

0 2 Number of following REF structures (nm)<br />

2 6∙nm List of nm REF structures. Each REF contains the following data:<br />

Offset Size Contents<br />

0 2 Index to EXTERNALBOOK record<br />

2 2 Index to first sheet in EXTERNALBOOK sheet list<br />

4 2 Index to last sheet in EXTERNALBOOK sheet list<br />

5.42 EXTSST – Extended SST<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

— — — — 00FF H<br />

This record occurs in conjunction with the SST record (➜5.100). It is used by <strong>Excel</strong> to create a hash table with stream<br />

offsets to the SST record to optimise string search operations. <strong>Excel</strong> may not shorten this record if strings are deleted<br />

from the shared string table, so the last part might contain invalid data. <strong>The</strong> stream indexes in this record divide the SST<br />

into portions containing a constant number of strings. See ➜4.11 for more information about shared string tables. It is<br />

not required to write this record when exporting an <strong>Excel</strong> document.<br />

Record EXTSST, BIFF8:<br />

Offset Size Contents<br />

0 2 Number of strings in a portion, this number is 8<br />

2 var. List of OFFSET structures for all portions. Each OFFSET contains the following data:<br />

Offset Size Contents<br />

0 4 Absolute stream position of first string of the portion<br />

4 2 Position of first string of the portion inside of current record,<br />

including record header. This counter restarts at zero, if the SST<br />

record is continued with a CONTINUE record.<br />

6 2 Not used<br />

167

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

Saved successfully!

Ooh no, something went wrong!