17.18.63 ST_PageBorderOffset
This simple type specifies how the relative positioning of the page borders shall be calculated.
If the value of this attribute is text, then the space attribute on each page border shall be interpreted as the distance from the text margins that shall be left before the page border.
[Example: Consider the following WordprocessingML fragment:
<w:pgBorders w:offsetFrom="page">
<w:top w:val="dashed" w:space="24" />
<w:left w:val="dashed" w:space="24" />
<w:bottom w:val="dashed" w:space="24"/>
<w:right w:val="dashed" w:space="24"/>
</w:pgBorders>
This fragment specifies that the page borders must be indented 24 points from the page extents.
This is distinct from the following fragment with identical
<w:pgBorders w:offsetFrom="text">
<w:top w:val="dashed" w:space="24" />
<w:left w:val="dashed" w:space="24" />
<w:bottom w:val="dashed" w:space="24"/>
<w:right w:val="dashed" w:space="24"/>
</w:pgBorders>
In this case, the page borders is offset by 24 points, but in this case, that offset is calculated relative to the text margins. 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 space attribute on each page border shall be interpreted as the distance from the edge of the page that shall be left before the page border.
Specifies that the space attribute on each page border shall be interpreted as the distance from the edge of the text extents (text margins) that shall be left before the page border..
[Note: The W3C XML Schema definition of this simple type’s content model (ST_PageBorderOffset) is located in A.1. end note]