[Table of Contents] [docx version]
Error! No text of specified style in document.
positionV (Vertical Positioning)
This element specifies the vertical positioning of a floating DrawingML object within a WordprocessingML document. This positioning is specified in two parts:
• Positioning Base - The relativeFrom attribute on this element specifies the part of the document from which the positioning shall be calculated.
• Positioning - The child element of this element (align or posOffset) specifies how the object is positioned relative to that base.
[Example: Consider a DrawingML picture which shall be displayed in the center of the printed page on which it appears, modifying the flow of text as necessary. This object would be specified as follows:
<wp:anchor … >
<wp:positionH relativeFrom="margin">
<wp:align>center</wp:align>
</wp:positionH>
<wp:positionV relativeFrom="margin">
<wp:align>center</wp:align>
</wp:positionV>
</wp:anchor>
The positionV element specifies that the object is vertically positioned relative to the margin via the relativeFrom attribute; and that the alignment relative to the margin is centered via the align element. end example]
Parent Elements |
anchor (§5.5.2.3) |
Child Elements |
Subclause |
align (Relative Vertical Alignment) |
§5.5.2.2 |
posOffset (Absolute Position Offset) |
§5.5.2.12 |
Attributes |
Description |
relativeFrom (Vertical Position Relative Base) |
Specifies the base to which the relative vertical positioning of this object shall be calculated.
[Example: Consider a DrawingML picture which shall be displayed at the bottom center of the page margins. This object would be specified as follows:
<wp:anchor … >
The relativeFrom attribute specifies that the object is horizontally positioned relative to the margin. end example]
The possible values for this attribute are defined by the ST_RelFromV simple type (§5.5.3.5). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_PosV">
<sequence>
<choice minOccurs="1" maxOccurs="1">
<element name="align" type="ST_AlignV" minOccurs="1" maxOccurs="1"/>
<element name="posOffset" type="ST_PositionOffset" minOccurs="1" maxOccurs="1"/>
</choice>
</sequence>
<attribute name="relativeFrom" type="ST_RelFromV" use="required"/>
</complexType>