Export (0) Print
Expand All Ribbon Extensibility Part

Content Type


Root Namespace


Source Relationship


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

[Example: A SpreadsheetML document that represents a timecard could contain custom UI controls to guide the user in filling out the timecard. end example]

A package is permitted to contain at most one Ribbon Extensibility 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 Ribbon Extensibility part, which is stored in the ZIP item /customUI/customUI.xml:

 <Relationships xmlns="…">
 <Relationship Id="rId5"  
 Target="/customUI/customUI.xml" />

end example]

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

[Example: The following Ribbon Extensibility content markup would specify that the ribbon tab with ID TabHome should be hidden for the containing package:

 <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
 <tab idMso="TabHome" visible="false" />

end example]

A Ribbon Extensibility part shall be located within the package containing the source relationship (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).

A Ribbon Extensibility part is permitted to have explicit relationships to the following parts defined by ECMA-376 Office Open XML File Formats [ECMA-376]:

Image Part ("[ECMA-376] Part 1 §15.2.13; Image Part")

© 2016 Microsoft