OleObject class
Global Element for OLE Objects and Controls. When the object is serialized out as xml, its qualified name is p:oleObj.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Presentation.OleObject
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
oleObj (Global Element for Embedded objects and Controls)
This element specifies a global element to be used for an Embedded object and Control.
Child Elements | Subclause |
|---|---|
embed (Embedded Object or Control) | §19.3.2.2 |
link (Linked Object or Control) | §19.3.2.3 |
pic (Picture) | §19.3.1.37 |
Attributes | Description |
|---|---|
id (Relationship ID) Namespace: .../officeDocument/2006/relationships | Specifies the relationship id that is used to identify this Embedded object from within a slide. The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1). |
imgH (Image Height) | Specifies the height of the embedded control. The possible values for this attribute are defined by the ST_PositiveCoordinate32 simple type (§20.1.10.43). |
imgW (Image Width) | Specifies the width of the embedded control. The possible values for this attribute are defined by the ST_PositiveCoordinate32 simple type (§20.1.10.43). |
name (Embedded Object Name) | Specifies the identifying name class used by scripting languages. This name is also used to construct the clipboard name. The possible values for this attribute are defined by the W3C XML Schema string datatype. |
progId (Embedded Object ProgID) | Specifies the progid for an Embedded object. The possible values for this attribute are defined by the W3C XML Schema string datatype. |
showAsIcon (Show Embedded Object As Icon) | Specifies whether the Embedded object shows as an icon or using its native representation. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
[Note: The W3C XML Schema definition of this element’s content model (CT_OleObject) is located in §A.3. end note]
© ISO/IEC29500: 2008.