2.2.32 qat (Quick Access Toolbar)

This element specifies the quick access toolbar. If the containing Custom UI file is a Ribbon Extensibility part the qat element cannot be used unless the startFromScratch attribute on the ribbon element is set to "true". In this case only the sharedControls child element SHOULD be used.  If the containing Custom UI file is a Quick Access Toolbar Customizations part, the documentControls child element SHOULD be used.

For example, consider the following controls on the document-specific quick access toolbar:

Controls on the quick access toolbar

Figure 20: Controls on the quick access toolbar

This is specified using the following XML fragment:

 <qat>
   <documentControls>
     <control idMso="CalculateNow" />
     <control idMso="HyperlinkInsert" />
   </documentControls>
 </qat>

The following table summarizes the elements that are parents of this element.

Parent Elements

ribbon (section 2.2.33)

The following table summarizes the child elements of this element.

Child Elements

Section

documentControls (List of Document-Specific Quick Access Toolbar Controls)

2.2.16

sharedControls (List of Shared Quick Access Toolbar Controls)

2.2.35

The following XML schema fragment defines the contents of this element:

 <xsd:complexType name="CT_Qat">
    <xsd:sequence>
    <xsd:element name="sharedControls" type="CT_QatItems" minOccurs="0"/>
    <xsd:element name="documentControls" type="CT_QatItems" minOccurs="0"/>
    </xsd:sequence>
 </xsd:complexType>