20.4.3.1 ST_AlignH
This simple type contains the possible settings specifying how a DrawingML object can be horizontally aligned relative to the horizontal alignment base defined by the parent element.
[Example: Consider a picture in a WordprocessingML document which has been aligned relative to the edge of the page - the left of the page horizontally, and the top of the page vertically. This alignment would be specified as follows:
<wp:anchor … >
<wp:positionH relativeFrom="page">
<wp:align>left</wp:align>
</wp:positionH>
…
</wp:anchor>
The align element with a value of left specifies that for the horizontal positioning defined by the parent element (in this case, positioning relative to the page), the picture must be aligned to the left edge of the page. end example]
This simple type’s contents are a restriction of the W3C XML Schema token datatype.
This simple type is restricted to the values
listed in the following table:
Enumeration Value
Description
Specifies that the object shall be centered with respect to the horizontal alignment base.
[Example: Centered on the page. end example]
Specifies that the object shall be inside of the horizontal alignment base.
Enumeration Value
Description
[Example: Inside the outside margin. end example]
Specifies that the object shall be left aligned to the horizontal alignment base.
[Example: Left aligned relative to the margins. end example]
Specifies that the object shall be outside of the horizontal alignment base.
[Example: Outside the left margin. end example]
Specifies that the object shall be right aligned to the horizontal alignment base.
[Example: Right example]
aligned relative to
the margins.
end
[Note: The W3C XML Schema definition of this simple type’s content model (ST_AlignH) is located in §A.4.4. end note]