[Table of Contents] [docx version]
Error! No text of specified style in document.
ST_RelFromH (Horizontal Relative Positioning)
This simple type specifies the possible values for the base from which the relative horizontal positioning of an object shall be calculated.
[Example: Consider a DrawingML picture which shall be displayed at the bottom center of the page. This object would be specified as follows:
<wp:anchor … >
<wp:positionH relativeFrom="page">
<wp:align>center</wp:align>
</wp:positionH>
…
</wp:anchor>
The relativeFrom attribute specifies that the object is horizontally positioned relative to the page. end example]
This simple type's contents are a restriction of the XML Schema token datatype.
The following are possible enumeration values for this type:
Enumeration Value |
Description |
character (Character) |
Specifies that the horizontal positioning shall be relative to the position of the anchor within its run content. |
column (Column) |
Specifies that the horizontal positioning shall be relative to the extents of the column which contains its anchor. |
insideMargin (Inside Margin) |
Specifies that the horizontal positioning shall be relative to the inside margin of the current page (the left margin on odd pages, right on even pages). |
leftMargin (Left Margin) |
Specifies that the horizontal positioning shall be relative to the left margin of the page. |
margin (Page Margin) |
Specifies that the horizontal positioning shall be relative to the page margins. |
outsideMargin (Outside Margin) |
Specifies that the horizontal positioning shall be relative to the outside margin of the current page (the right margin on odd pages, left on even pages). |
page (Page Edge) |
Specifies that the horizontal positioning shall be relative to the edge of the page. |
rightMargin (Right Margin) |
Specifies that the horizontal positioning shall be relative to the right margin of the page. |
Referenced By |
positionH@relativeFrom (§5.5.2.10) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_RelFromH">
<restriction base="xsd:token">
<enumeration value="margin"/>
<enumeration value="page"/>
<enumeration value="column"/>
<enumeration value="character"/>
<enumeration value="leftMargin"/>
<enumeration value="rightMargin"/>
<enumeration value="insideMargin"/>
<enumeration value="outsideMargin"/>
</restriction>
</simpleType>