<wrap>
(Text Wrapping)
This element specifies the type of text wrapping which should be allowed around the contents of this VML object.
If this element is omitted, then no text wrapping shall be performed (i.e. the object shall be presented in line with text).
<v:shape … > … <wd:wrap wd:type="square" />
The <wrap>
element specifies how surrounding WordprocessingML document content shall wrap around the floating VML object - in this case, by wrapping around its extents in a square via the @type
attribute value of square
. ].
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies the base object from which the horizontal positioning of the object should be calculated. A VML object may be horizontally positioned relative to:
If this attribute is omitted, then its value shall be assumed to be <wd:wrap wd:anchorx="page" wd:anchory="page" /> The The possible values for this attribute are defined by the ST_HorizontalAnchor simple type (§6.3.3.3). |
|
Specifies the base object from which the vertical positioning of the object should be calculated. A VML object may be vertically positioned relative to:
If this attribute is omitted, then its value shall be assumed to be <wd:wrap wd:anchorx="page" wd:anchory="page" /> The The possible values for this attribute are defined by the ST_VerticalAnchor simple type (§6.3.3.4). |
|
Specifies how text shall wrap around the object's left and right sides. <wd:wrap side="left" … /> The The possible values for this attribute are defined by the ST_WrapSide simple type (§6.3.3.5). |
|
Specifies the type of wrapping - see the simple type definition for a description of each type. <v:shape … > … <wd:wrap wd:type="topAndBottom" /> The The possible values for this attribute are defined by the ST_WrapType simple type (§6.3.3.6). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Wrap">
<attribute name="type" type="ST_WrapType" use="optional"/>
<attribute name="side" type="ST_WrapSide" use="optional"/>
<attribute name="anchorx" type="ST_HorizontalAnchor" use="optional"/>
<attribute name="anchory" type="ST_VerticalAnchor" use="optional"/>
</complexType>