<ST_PageBorderOffset> (Page Border Positioning Base)

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:
<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 shall be indented 24 points from the page extents.

This is distinct from the following fragment with identical @space attribute values:

<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 will be offset by 24 points, but in this case, that offset will be calculated relative to the text margins. ]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

<page> (Page Border Is Positioned Relative to Page Edges)

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.

<text> (Page Border Is Positioned Relative to Text Extents)

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

Referenced By

<pgBorders@offsetFrom>2.6.10)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_PageBorderOffset">
	<restriction base="xsd:string">
	<enumeration value="page"/>
	<enumeration value="text"/>
	</restriction>
</simpleType>