2.1.1 Quick Access Toolbar Customizations Part

Content Type:

application/xml

Root Namespace:

http://schemas.microsoft.com/office/2006/01/customui

Source Relationship:

http://schemas.microsoft.com/office/2006/relationships/ui/userCustomization

The syntax of the structures contained in this part uses XML schema definition (XSD), as specified in [XMLSCHEMA1] and [XMLSCHEMA2].

This specification defines and references various XML namespaces by using the mechanisms specified in [XMLNS].

An instance of this part type contains information about the quick access toolbar customizations specific to the containing package.

For example, a user can customize the quick access toolbar for his WordProcessingML document to contain the UI controls that they commonly use.

A package is permitted to contain at most one Quick Access Toolbar Customizations part, and that part is the target of a relationship in the package-relationship item for the document.

For example, the following package part-relationship item contains a relationship to a Quick Access Toolbar Customizations part, which is stored in the ZIP item /userCustomization/customUI.xml:

 <Relationships xmlns="…">
 <Relationship Id="rId2" 
 Type="http://…/2006/relationships/ui/userCustomization"
 Target="/userCustomization/customUI.xml" />
 </Relationships>

The root element for a part of this content type is customUI.

For example, the following Quick Access Toolbar Customizations content markup specifies that the control with identifier "SpellingAndGrammar" is to be added to the quick access toolbar for the package:

 <mso:customUI xmlns:mso="http://schemas.microsoft.com/office/2006/01/customui">
 <mso:ribbon>
 <mso:qat>
 <mso:documentControls>
 <mso:control idQ="mso:SpellingAndGrammar" visible="true" />
 </mso:documentControls>
 </mso:qat>
 </mso:ribbon>
 </mso:customUI>

A Quick Access Toolbar Customizations part is located within the package containing the source relationship. Expressed syntactically, the TargetMode attribute of the Relationship element is "Internal".

A Quick Access Toolbar Customizations part does not have implicit or explicit relationships to any other part defined by ECMA-376 Office Open XML File Formats, as specified in [ECMA-376].