Defines how an OLE object is stored.
Attribute | Description | ||||
Type | Defines how the OLE data relates to the file. Required. Values include:
| ||||
ObjectID | Defines the ObjectID of the object, that is, string that identifies where the object stands in the object storage hierarchy. The string may resemble a number but is not required to do so, and may contain an underscore at the beginning. | ||||
ProgID | Defines the ProgID of the object; that is, a human-readable name that is identified with the particular object. | ||||
DrawAspect |
Defines how the object will be portrayed. Values include:
| ||||
CLSID | Defines the OLE Class ID; that is, a GUID that uniquely defines the object. Not required. | ||||
Moniker | Defines the OLE moniker, that is, the manner in which the object may be found if it is linked. Required if Type is set to Embed. | ||||
UpdateMode |
Defines how linked data is
updated. Required if Type is set to
Embed. Values include:
| ||||
ShapeID | Defines the Shape ID, that is, an ID that is used if the object can be stored as an Microsoft OfficeArt Shape (using VML). | ||||
LockedField | Defines whether the field is locked for Microsoft Word. The default value is False. | ||||
LinkType |
Defines the type of link for
Microsoft Word. Required if Type is set to
Link. Values include:
| ||||
Shape | Defines the Shape name if the shape is stored in Microsoft Word. |
Contained In
WebChart (Microsoft Excel)
Remarks
The OLEObject element defines where the OLE data is stored. See the Microsoft Platform SDK for more information about OLE.
See Also
OLEClientData (Microsoft PowerPoint), ClientData (Microsoft Excel)
A Microsoft Excel worksheet is embedded in a Microsoft Word document.
<o:OLEObject Type="Embed" ProgID="Excel.Sheet.8"
ShapeID="_x0000_i1032" DrawAspect="Content" ObjectID="_989231762">
</o:OLEObject>