OleObject Class

Office 2010

OLE Object.When the object is serialized out as xml, its qualified name is x:oleObject.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[ChildElementInfoAttribute(typeof(EmbeddedObjectProperties), FileFormatVersions.Office2010)]
public class OleObject : OpenXmlCompositeElement

The following table lists the possible child types:

  • EmbeddedObjectProperties <x:objectPr>


[ISO/IEC 29500-1 1st Edition]

18.3.1.59 oleObject (Embedded Object)

Information for an individual embedded object.

Parent Elements

oleObjects (§18.3.1.60)

Child Elements

Subclause

objectPr (Embedded Object Properties)

§18.3.1.56

Attributes

Description

autoLoad (Auto Load)

Specifies whether the host application for the embedded object shall be called to load the object data automatically when the parent workbook is opened.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

dvAspect (Data or View Aspect)

Specifies the desired Data or View Aspect of the object when drawing or getting data

The possible values for this attribute are defined by the ST_DvAspect simple type (§18.18.24).

id (Relationship Id)

Namespace: .../officeDocument/2006/relationships

Relationship Id of the relationship pointing to the object persistence part.

The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1).

link (Embedded Object's Link Moniker)

The embedded object's link moniker.

The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19).

oleUpdate (Linked Embedded Object Update)

Indicates whether the linked object updates the cached data automatically or only when the container requests an update, only present if the embedded object is linked.

The possible values for this attribute are defined by the ST_OleUpdate simple type (§18.18.49).

progId (Embedded Object ProgId)

ProgId of the embedded object.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

shapeId (Shape Id)

Id of the shape this object is associated with. Corresponds with the shape @id in the drawingML part.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_OleObject) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft