20.4.3.4 ST_RelFromH

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 must 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 W3C XML Schema token datatype.

This simple type is restricted to the values

listed in the following table:

Enumeration Value

Description

Specifies that the horizontal positioning shall be relative to the position of the anchor within its run content.

Specifies that the horizontal positioning shall be relative to the extents of the column which contains its anchor.

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).

Specifies that the horizontal positioning shall be relative to the left margin of the page.

Specifies that the horizontal positioning shall be relative to the page margins.

Specifies that the horizontal positioning shall be relative to the outside margin of the current page (the

Enumeration Value

Description

right margin on odd pages, left on even pages).

Specifies that the horizontal positioning shall be relative to the edge of the page.

Specifies that the horizontal positioning shall be relative to the right margin of the page.

[Note: The W3C XML Schema definition of this simple type’s content model (ST_RelFromH) is located in A.4.4. end note]

Last updated on