[Table of Contents] [docx version]

VML Reference Material - VML

rules (Rule Set)

This element specifies a list of rule entries which describe how a certain shape or sets of shapes should behave during editing.

[Example: The following rule defines a connection between two shapes. The shape with id _s1036 connects shape _s1033 to _s1032:

<o:shapelayout v:ext="edit">

<o:rules v:ext="edit">

<o:r id="V:Rule1" type="connector" idref="#_s1036">

<o:proxy start="" idref="#_s1033" connectloc="0"/>

<o:proxy end="" idref="#_s1032" connectloc="2"/>

</o:r>

</o:rules>

</o:shapelayout>

end example]

Parent Elements

shapelayout6.2.2.28)

 

Child Elements

Subclause

r (Rule)

§6.2.2.21

 

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).

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

<complexType name="CT_Rules">

   <sequence>

   <element name="r" type="CT_R" minOccurs="0" maxOccurs="unbounded"/>

   </sequence>

   <attributeGroup ref="v:AG_Ext"/>

</complexType>