[Table of Contents] [docx version]
VML Reference Material - VML
colormenu (UI Default Colors)
This element determines the default colors for different types of colors that can be applied to VML shapes. [Rationale: An application may choose to retain default colors or the last color choices a user made and present those in parts of its user interface. end rationale]
[Example:
<o:shapedefaults ... >
<o:colormenu v:ext="edit" fillcolor="none" extrusioncolor="#36f"/>
</o:shapedefaults>
end example]
Parent Elements |
shapedefaults (§6.2.2.27) |
Attributes |
Description |
ext (VML Extension Handling Behavior)
Namespace: urn:schemas-microsoft-com:vml |
Specifies an optional value that indicates how applications that implement VML should interpret extensions not defined as part of the original specification of core VML.
[Rationale: This part of the original VML specification is included to assist applications that leverage existing VML support in implementing the Office Open XML Format. end rationale]
The possible values for this attribute are defined by the ST_Ext simple type (§6.1.3.3). |
extrusioncolor (Default extrusion color) |
The default color associated with the 3D extrusion of a VML shape. Default is "#000000".
The possible values for this attribute are defined by the ST_ColorType simple type (§6.2.3.5). |
fillcolor (Default fill color) |
The default color associated with the fill of a VML shape. Default is "#0000FF".
The possible values for this attribute are defined by the ST_ColorType simple type (§6.2.3.5). |
shadowcolor (Default shadow color) |
The default color associated with the shadow of a VML shape. Default is "#80800C".
The possible values for this attribute are defined by the ST_ColorType simple type (§6.2.3.5). |
strokecolor (Default stroke color) |
The default color associated with the stroke of a VML shape. Default is "#FFFF00".
The possible values for this attribute are defined by the ST_ColorType simple type (§6.2.3.5). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_ColorMenu">
<attributeGroup ref="v:AG_Ext"/>
<attribute name="strokecolor" type="ST_ColorType"/>
<attribute name="fillcolor" type="ST_ColorType"/>
<attribute name="shadowcolor" type="ST_ColorType"/>
<attribute name="extrusioncolor" type="ST_ColorType"/>
</complexType>