Rules class
Rule Set. When the object is serialized out as xml, its qualified name is o:rules.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Vml.Office.Rules
Namespace: DocumentFormat.OpenXml.Vml.Office
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
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 |
|---|
shapelayout (§14.2.2.29) |
Child Elements | Subclause |
|---|---|
r (Rule) | §14.2.2.22 |
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 (§14.1.3.2). |
[Note: The W3C XML Schema definition of this element’s content model (CT_Rules) is located in §A.6.2. end note]
© ISO/IEC29500: 2008.