22.9.2.20 ST_YAlign
This simple type specifies the set of possible relative vertical positions for the parent floating object. This relative position is specified relative to the vertical 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="margin" w:hAnchor="page" w:x="1643" w:y="73"
w:yAlign="center" />
</w:pPr>
<w:r>
<w:t>Text Frame Content.</w:t>
</w:r>
</w:p>
This text frame specifies by the presence of the yAlign attribute to vertically align the frame in the center of the anchor object, in this case, the margin. end example]
This simple type’s contents are a restriction of the W3C XML Schema string datatype.
This simple type is restricted to the values
listed in the following table:
Enumeration Value
Description
Specifies that the parent object shall be vertically aligned to the bottom edge of the anchor object.
[Example: At the bottom of the current paragraph. end example]
Specifies that the parent object shall be vertically centered with respect to the anchor object. Shall not be used with the baseJc element.
[Example: Centered on the page vertically. end example]
Specifies that the parent object shall be vertically aligned in line with the surrounding text (i.e. shall not allow any text wrapping around it when positioned in the document. Shall not be used with the baseJc element.
Specifies that the parent object shall be vertically aligned to the edge of the anchor object, and positioned inside that object. Shall not be used with the baseJc element.
[Example: Inside the text margins vertically. end example]
Specifies that the parent object shall be vertically aligned to the edge of the anchor object, and positioned outside that object. Shall not be used with the baseJc element.
[Example: Outside the text margins vertically. example]
end
Specifies that the parent object shall be vertically aligned to the top edge of the anchor object .
[Example: At the top of the current paragraph. end example]
[Note: The W3C XML Schema definition of this simple type’s content model (ST_YAlign) is located in A.6.9. end note]