3.4.1.2 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

An instance of this part type contains information about the quick access toolbar customizations ([MS-CUSTOMUI]) specific to this package.

[Example: A user customized the quick access toolbar for his WordProcessingML document to contain the UI controls that they commonly use. end example]

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

[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>

end example]

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

[Example: The following Quick Access Toolbar Customizations content markup would specify that the control with ID SpellingAndGrammar should 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>

end example]

A Quick Access Toolbar Customizations part shall be located within the package containing the source relationship (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).

A Quick Access Toolbar Customizations part shall not have implicit or explicit relationships to any other part defined by Office Open XML File Formats [ISO/IEC-29500-1].