[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_VAnchor (Vertical Anchor Location)

This simple type specifies the vertical position to which the parent object has been anchored in the document. This anchor position shall be used as the base location to determine the final vertical position of the object in the document.

[Example: Consider a text frame which should be positioned one inch to the right of its column in a left-to-right document. This text frame would be specified using the following WordprocessingML:

<w:pPr>

<w:framePr … w:y="1440" w:vAnchor="page" />

</w:pPr>

These frame vertical anchor properties specify that they are relative to the anchor paragraph's page. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

margin (Relative To Margin)

Specifies that the parent object shall be vertically anchored to the text margins.

 

This shall be used to specify that any vertical positioning values shall be calculated with respect to the location of the text margin.

page (Relative To Page)

Specifies that the parent object shall be vertically anchored to the page edge.

 

This shall be used to specify that any vertical positioning values shall be calculated with respect to the location of the edge of the page.

text (Relative To Vertical Text Extents)

Specifies that the parent object shall be vertically anchored to the text extents.

 

This shall be used to specify that any vertical positioning values shall be calculated with respect to the location of the top edge of the text in the anchor paragraph.

 

Referenced By

framePr@vAnchor2.3.1.11); tblpPr@vertAnchor2.4.54)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_VAnchor">

   <restriction base="xsd:string">

   <enumeration value="text"/>

   <enumeration value="margin"/>

   <enumeration value="page"/>

   </restriction>

</simpleType>