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.10 Internal and External References<br />

• DDE Links, OLE Links<br />

DDE links and OLE links expect the name of the server application (DDE) or the class name (OLE) and the name of a<br />

source document. <strong>The</strong>se items are encoded in an EXTERNSHEET record. It is followed by EXTERNALNAME records<br />

with additional data of the links. An EXTERNALNAME record contains the item (data source range) or the identifier of<br />

the OLE object data storage. Inside a formula, a DDE link or OLE data link is represented by the token tNameXV<br />

(➜3.9.14). An OLE object link contains a tNameX token in its OBJ record.<br />

Example: A document contains a DDE link and an OLE data link to the range A1:B2 of Sheet1 in the <strong>Excel</strong><br />

document “D:\example.xls” and a linked OLE object to the bitmap file “D:\example.bmp”.<br />

EXTERNALBOOK 0<br />

EXTERNALNAME 1<br />

EXTERNALNAME 2<br />

EXTERNALBOOK 1<br />

EXTERNALNAME 1<br />

EXTERNALBOOK 2<br />

EXTERNALNAME 1<br />

EXTERNSHEET<br />

Server application = “excel”<br />

Topic = “D:\[example.xls]Sheet1”<br />

Type = DDE link, representing the “StdDocumentName”<br />

identifier<br />

Item = “StdDocumentName”<br />

Type = DDE link<br />

Item = “A1:B2”<br />

Class name = “<strong>Excel</strong>.Sheet.8”<br />

Document = “D:\example.xls”<br />

Type = OLE link<br />

Item = “!Sheet1!A1:B2”<br />

Class name = “Package”<br />

Document = “D:\example.bmp”<br />

Type = OLE link<br />

Storage = 00012345 H (storage name = “LNK00012345”)<br />

REF 0 = {EXTERNALBOOK = 0, sheet range = –2…–2}<br />

REF 1 = {EXTERNALBOOK = 1, sheet range = –2…–2}<br />

REF 2 = {EXTERNALBOOK = 2, sheet range = –2…–2}<br />

109

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

Saved successfully!

Ooh no, something went wrong!