Ribbon class

Office 2013 and later

Defines the Ribbon Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is mso14:ribbon.

Namespace:  DocumentFormat.OpenXml.Office2010.CustomUI
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.3.64 CT_Ribbon

Target namespace: http://schemas.microsoft.com/office/2009/07/customui

Referenced by: CT_CustomUI

Specifies a reference to the main ribbon of the application.

Child Elements:

qat: A CT_Qat element, as specified in section 2.3.61.

tabs: A CT_Tabs element, as specified in section 2.3.73.

contextualTabs: A CT_ContextualTabs element, as specified in section 2.3.33.

Attributes:

startFromScratch: A Boolean attribute that specifies that the ribbon is reduced to a minimal set of features from which a completely custom ribbon can be built. If this attribute is omitted, the ribbon is unchanged.

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

<xsd:complexType name="CT_Ribbon">

<xsd:all>

<xsd:element name="qat" type="CT_Qat" minOccurs="0" maxOccurs="1">

<xsd:unique name="qatControls">

<xsd:selector xpath="*/*"/>

<xsd:field xpath="@id"/>

</xsd:unique>

</xsd:element>

<xsd:element name="tabs" type="CT_Tabs" minOccurs="0" maxOccurs="1"/>

<xsd:element name="contextualTabs" type="CT_ContextualTabs" minOccurs="0" maxOccurs="1"/>

</xsd:all>

<xsd:attribute name="startFromScratch" type="xsd:boolean" use="optional"/>

</xsd:complexType>

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

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