2.9.165 ODT

The ODT structure stores information about an OLE object. Each OLE object in a Word Binary file is stored in a storage within the ObjectPool storage. Each of these storages has an ObjInfo stream which contains an ODT structure.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ODTPersist1

cf

ODTPersist2 (optional)

ODTPersist1 (2 bytes): An ODTPersist1 structure that specifies information about the OLE object.

cf (2 bytes): An unsigned integer that specifies the format this OLE object uses to transmit data to the host application. Valid values and their meanings are:

Value

Meaning

0x0001

Rich Text Format

0x0002

Text format

0x0003

Metafile or Enhanced Metafile, depending on ODTPersist2.fStoredAsEMF

0x0004

Bitmap

0x0005

Device Independent Bitmap

0x000A

HTML format

0x0014

Unicode text format

ODTPersist2 (2 bytes): An ODTPersist2 structure that specifies additional information about the OLE object. This member does not exist if the ObjInfo stream containing this ODT structure is not large enough to accommodate it.