2.2.31 officeMenu (Office Menu)

This element specifies the Office Menu of the application. It is used to reference the built-in Office Menu. This element SHOULD NOT be specified if the containing Custom UI XML document is a Quick Access Toolbar Customizations part.

For example, consider the following XML fragment:

 <officeMenu>
   <control idMso="FileSave" visible="false" />
 </officeMenu>

This XML fragment specifies that the command with an identifier of "FileSave" on the Office Menu is hidden.

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

button (Unsized Button)

2.2.3

checkBox (Check Box)

2.2.6

control (Unsized Control Clone)

2.2.11

dynamicMenu (Unsized Dynamic Menu)

2.2.18

gallery (Unsized Gallery)

2.2.22

menu (Menu with Title)

2.2.27

menuSeparator (Menu Separator)

2.2.30

splitButton (Split Button with Title)

2.2.37

toggleButton (Unsized Toggle Button)

2.2.42

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

 <xsd:complexType name="CT_OfficeMenu">
    <xsd:sequence>
    <xsd:choice minOccurs="0" maxOccurs="1000">
    <xsd:group ref="EG_MenuControlsBase"/>
    <xsd:group ref="EG_MenuOrSplitButtonWithTitle"/>
    </xsd:choice>
    </xsd:sequence>
 </xsd:complexType>