2.2.7 CT_OsfWebExtension

Target namespace: http://schemas.microsoft.com/office/webextensions/webextension/2010/11

Referenced by: webextension

This is the root element of an Office Add-in document part.

Child Elements:

reference: A CT_OsfWebExtensionReference element (section 2.2.5) that specifies the primary reference to an Office Add-in.

alternateReferences: A CT_OsfWebExtensionReferenceList element (section 2.2.6) that specifies a list of CT_OsfWebExtensionReference elements (section 2.2.5). The first of these alternateReferences is used if the Office Add-in could not be located using the primary reference.

properties: A CT_OsfWebExtensionPropertyBag element (section 2.2.2) that contains a set of Office Add-in custom properties.

bindings: A CT_OsfWebExtensionBindingList element (section 2.2.4) that specifies a list of Office Add-in bindings.

snapshot: A CT_Blip element ([ISO/IEC29500-1:2016] section 20.1.8.13) that specifies a static image used to render the contents of the Office Add-in when it is not active.

extLst: A CT_OfficeArtExtensionList element ([ISO/IEC29500-1:2016] section A.4.1) that specifies a list of extensions for an Office Add-in. This element MAY be ignored.

Attributes:

id: A string attribute ([XMLSCHEMA2/2] section 3.2.1). This attribute uniquely identifies the Office Add-in instance in the current document.

frozen: A Boolean attribute ([XMLSCHEMA2/2] section 3.2.2) that specifies whether the user can interact with the Office Add-in or not.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_OsfWebExtension">
   <xsd:sequence>
     <xsd:element name="reference" type="CT_OsfWebExtensionReference"/>
     <xsd:element name="alternateReferences" type="CT_OsfWebExtensionReferenceList" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="properties" type="CT_OsfWebExtensionPropertyBag"/>
     <xsd:element name="bindings" type="CT_OsfWebExtensionBindingList"/>
     <xsd:element name="snapshot" type="a:CT_Blip" minOccurs="0" maxOccurs="1"/>
     <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
   <xsd:attribute name="id" type="xsd:string" use="required"/>
   <xsd:attribute name="frozen" type="xsd:boolean" use="optional" default="false"/>
 </xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).