[Table of Contents] [docx version]

Error! No text of specified style in document.

wrapTopAndBottom (Top and Bottom Wrapping)

This element specifies that text shall wrap around the top and bottom of this object, but not its left or right edges.

[Example: Consider a DrawingML object using top and bottom wrapping and defined as follows:

<wp:anchor … >


<wp:wrapTopAndBottom />
</wp:anchor>

The wrapTopAndBottom element specifies that text shall wrap around neither side of this object. end example]

Parent Elements

anchor5.5.2.3)

 

Child Elements

Subclause

effectExtent (Object Extents Including Effects)

§5.5.2.6

 

Attributes

Description

distB (Distance From Text on Bottom Edge)

Specifies the minimum distance which shall be maintained between the bottom edge of this drawing object and any subsequent text within the document when this graphical object is displayed within the document's contents.

 

The distance shall be measured in EMUs (English Metric Units).

 

[Example: Consider a floating DrawingML object which shall have one-half of an inch of padding between its bottom edge and the nearest text. This setting would be specified as follows:

 

<wp:anchor … >

<wp:wrapTopAndBottom distB="457200" … />
</wp:anchor>

 

The distB attribute specifies that the padding distance shall be 457200 EMUs or one-half of an inch. end example]

 

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

distT (Distance From Text on Top Edge)

Specifies the minimum distance which shall be maintained between the top edge of this drawing object and any subsequent text within the document when this graphical object is displayed within the document's contents.

 

The distance shall be measured in EMUs (English Metric Units).

 

[Example: Consider a floating DrawingML object which shall have one-half of an inch of padding between its top edge and the nearest text. This setting would be specified as follows:

 

<wp:anchor … >

<wp:wrapTopAndBottom distT="457200" … />
</wp:anchor>

 

The distT attribute specifies that the padding distance shall be 457200 EMUs or one-half of an inch. end example]

 

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

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

<complexType name="CT_WrapTopBottom">

   <sequence>

   <element name="effectExtent" type="CT_EffectExtent" minOccurs="0"/>

   </sequence>

   <attribute name="distT" type="ST_WrapDistance" use="optional"/>

   <attribute name="distB" type="ST_WrapDistance" use="optional"/>

</complexType>