2.2.120 menuArea
The menuArea element specifies a custom menu area that MUST be applied to the specified control in the form view.
Parent Elements |
---|
Child Elements |
---|
Attributes:
name: This attribute MUST be set to "msoStructuralEditingContextMenu". This value refers to the context menu for structural controls. For more information, see section 2.4.1.15, section 2.4.1.16, and section 2.4.1.18. This attribute MUST NOT have the following values:
msoEditMenu: Refers to the Edit menu.
msoFileMenu: Refers to the File menu.
msoHelpMenu: Refers to the Help menu.
msoInsertMenu: Refers to the Insert menu.
msoFormatMenu: Refers to the Format menu.
msoTableMenu: Refers to the Table menu.
msoToolsMenu: Refers to the Tools menu.
msoViewMenu: Refers to the View menu.
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>