3.1.2.1.1.11 macro (Macro Keyboard Customization Action)
This element specifies that a macro should be executed by the enclosing key map.
[Example: Consider the following key map:
-
<wne:keymap wne:kcmPrimary="0238"> <wne:macro wne:macroName="PROJECT.NEWMACROS.SOMEMACRO"/> </wne:keymap>
In this example, the WordprocessingML fragment specifies
that pressing Control-8 (the meaning of a KCM of 0238
)
will run the macro named "PROJECT.NEWMACROS.SOMEMACRO"
.
end example]
Parent Elements |
---|
keymap (§3.1.2.1.1.8, keymap) |
Attributes |
Description |
---|---|
macroName (Macro name) |
Specifies the name of the macro to run.
The possible values for this attribute are defined by the ST_String simple type (§3.1.2.3.5, ST_String). |
The following XML Schema fragment defines the contents of this element:
-
<complexType name="CT_MacroWll"> <attribute name="macroName" type="ST_String" use="required"/> </complexType>