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.

4.11 Shared String Table (BIFF8)<br />

4.11.2 <strong>The</strong> EXTSST Record<br />

<strong>The</strong> EXTSST record is used by <strong>Excel</strong> to create a string hash table, while loading the document. It contains stream<br />

positions of specific strings in the SST record. <strong>The</strong> SST record will be divided into several portions, which all contain<br />

the same number of strings. <strong>The</strong> first string in each portion will be referenced in the EXTSST record. It is not required to<br />

write an EXTSST record when exporting an <strong>Excel</strong> document.<br />

<strong>The</strong> following example shows the absolute stream position in the first column and the relative record position<br />

(including the record headers) in the second column. <strong>The</strong> SST record is too long so that some of the strings are<br />

following in the CONTINUE record.<br />

Abs. stream offset Rel. rec. offset Contents Description<br />

00020000 H 0000 H 00FC H SST identifier<br />

00020002 H 0002 H 1000 H Size of the SST record<br />

00020004 H 0004 H 00000011 H Total number of strings in the document<br />

00020008 H 0008 H 00000011 H Number of unique strings following<br />

0002000C H 000C H String 0 (total size = 0100 H bytes)<br />

0002010C H 010C H String 1 (total size = 0200 H bytes)<br />

0002030C H 030C H String 2 (total size = 0100 H bytes)<br />

⋮ ⋮ ⋮<br />

00020800 H 0800 H String 8 (total size = 0100 H bytes)<br />

⋮ ⋮ ⋮<br />

00021004 H 0000 H 003C H CONTINUE identifier<br />

00021006 H 0002 H 0320 H Size of the CONTINUE record<br />

00021008 H 0004 H Continuation of string 14 (size = 0020 H bytes)<br />

00021028 H 0024 H String 15 (total size = 0100 H bytes)<br />

00021128 H 0124 H String 16 (total size = 0200 H bytes)<br />

00021328 H 0000 H 00FF H EXTSST identifier<br />

0002132A H 0002 H 001A H Size of the EXTSST record<br />

0002132C H 0004 H 0008 H 8 strings in each portion<br />

0002132E H 0006 H 0002000C H Absolute stream position of string 0<br />

00021332 H 000A H 000C H Relative record position of string 0 (in SST)<br />

00021334 H 000C H 0000 H Not used<br />

00021336 H 000E H 00020800 H Absolute stream position of string 8<br />

0002133A H 0012 H 0800 H Relative record position of string 8 (in SST)<br />

0002133C H 0014 H 0000 H Not used<br />

0002133E H 0016 H 00021128 H Absolute stream position of string 16<br />

00021342 H 001A H 0124 H Relative record position of string 16 (in CONTINUE)<br />

00021344 H 001C H 0000 H Not used<br />

111

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

Saved successfully!

Ooh no, something went wrong!