[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_XAlign (Horizontal Alignment Location)

This simple type specifies the set of possible relative horizontal positions for the parent floating object. This relative position is specified relative to the horizontal anchor specified by the parent object.

[Example: Consider the following WordprocessingML fragment specifying a text frame:

<w:p>

<w:pPr>

<w:framePr w:w="2419" w:h="2189" w:hRule="atLeast" w:hSpace="187" w:wrap="around" w:vAnchor="text" w:hAnchor="page" w:xAlign="left" w:y="73" />

</w:pPr>

<w:r>

<w:t>Text Frame Content.</w:t>

</w:r>

</w:p>

This text frame specifies by the presence of the xAlign attribute to align the frame on the left side of the anchor object, in this case, the 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

center (Centered Horizontally)

Specifies that the parent object shall be centered with respect to the anchor settings.

 

[Example: Centered on the page horizontally. end example]

inside (Inside)

Specifies that the parent object shall be inside of the anchor object.

 

[Example: Inside the text margin horizontally. end example]

left (Left Aligned Horizontally)

Specifies that the parent object shall be left aligned with respect to the anchor settings.

 

[Example: Left aligned on the page horizontally. end example]

outside (Outside)

Specifies that the parent object shall be outside of the anchor object.

 

[Example: Outside the text margin horizontally. end example]

right (Right Aligned Horizontally)

Specifies that the parent object shall be right aligned with respect to the anchor settings.

 

[Example: Right aligned on the page horizontally. end example]

 

Referenced By

framePr@xAlign2.3.1.11); tblpPr@tblpXSpec2.4.54)

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

<simpleType name="ST_XAlign">

   <restriction base="xsd:string">

   <enumeration value="left"/>

   <enumeration value="center"/>

   <enumeration value="right"/>

   <enumeration value="inside"/>

   <enumeration value="outside"/>

   </restriction>

</simpleType>