Share via


Proxy Class

Shape Reference.When the object is serialized out as xml, its qualified name is o:proxy.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Vml.Office.Proxy

Namespace:  DocumentFormat.OpenXml.Vml.Office
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Proxy _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Proxy
public class Proxy : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.2.2.21 proxy (Shape Reference)

This element specifies an entry in a r element rule that contains a reference to one or more shapes that are participating in the rule.

[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

r (§14.2.2.22)

Attributes

Description

connectloc (Connection Location)

Specifies the location on the shape where the connector is attached. The value is an index into the list of connection points defined in the shape - see the connectlocs attribute. Default is 0. Only used in a connector rule.

The possible values for this attribute are defined by the W3C XML Schema int datatype.

end (End Point Connection Flag)

Specifies whether the connector's end point is connected to the shape. Default is false. Only used in a connector rule.

The possible values for this attribute are defined by the ST_TrueFalseBlank simple type (§15.1.2.6).

idref (Proxy Shape Reference)

Specifies a reference to a shape in the current document. Default is no value. A shape name is used as the reference mechanism; this is not a relationship ID.

This attribute indicates that the referenced shape is part of this rule. Two or more proxy elements are used for an alignment rule. A connector rule uses one or two, indicating which shapes the connector is attached to.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

start (Start Point Connection Flag)

Specifies whether the connector’s start point is connected to the shape. Default is false. Only used in a connector rule. If both start and end are specified the later one takes precedence.

The possible values for this attribute are defined by the ST_TrueFalseBlank simple type (§15.1.2.6).

[Note: The W3C XML Schema definition of this element’s content model (CT_Proxy) is located in §A.6.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Proxy Members

DocumentFormat.OpenXml.Vml.Office Namespace