2.2.1.2.101 menuArea

The menuArea element specifies a custom menu area that MUST be applied to the specified control in the form view.

Parent Elements

view

Child Elements

button

menu

Attributes:

name: This attribute MUST be set to "msoStructuralEditingContextMenu". Possible values for this attribute are as follows:

  • msoEditMenu: This value MUST NOT be specified.

  • msoFileMenu: This value MUST NOT be specified.

  • msoHelpMenu: This value MUST NOT be specified.

  • msoInsertMenu: This value MUST NOT be specified.

  • msoFormatMenu: This value MUST NOT be specified.

  • msoStructuralEditingContextMenu: Specifies the context menu that is shown for the following controls:

    • Choice group control and choice section (section 2.4.1.21.1)

    • Repeating section control (section 2.4.1.15)

    • Repeating table control (section 2.4.1.16)

    • Section control and optional section control (section 2.4.1.18)

  • msoTableMenu: This value MUST NOT be specified.

  • msoToolsMenu: This value MUST NOT be specified.

  • msoViewMenu: This value MUST NOT be specified.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="menuArea">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:group ref="xsf:UIItem" minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
     <xsd:attribute name="name" use="required">
       <xsd:simpleType>
         <xsd:restriction base="xsd:NMTOKEN">
           <xsd:enumeration value="msoFileMenu"/>
           <xsd:enumeration value="msoEditMenu"/>
           <xsd:enumeration value="msoInsertMenu"/>
           <xsd:enumeration value="msoViewMenu"/>
           <xsd:enumeration value="msoFormatMenu"/>
           <xsd:enumeration value="msoToolsMenu"/>
           <xsd:enumeration value="msoTableMenu"/>
           <xsd:enumeration value="msoHelpMenu"/>
           <xsd:enumeration value="msoStructuralEditingContextMenu"/>
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:attribute>
   </xsd:complexType>
 </xsd:element>