Freigeben über


OleObject-Klasse

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

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.OleObject

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(EmbeddedObjectProperties), FileFormatVersions.Office2010)> _
Public Class OleObject _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As OleObject
[ChildElementInfoAttribute(typeof(EmbeddedObjectProperties), FileFormatVersions.Office2010)]
public class OleObject : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • EmbeddedObjectProperties <x:objectPr>

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

OleObject-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace