17.18.41 ST_Hint

This simple type specifies information used to decide how to format any characters in the current run for which the font type is otherwise ambiguous.

Certain characters can be mapped into more than one of the font slot categories described in the parent element. This attribute shall be used to determine how ambiguities in this run shall be handled. [Note: This can be used to handle the formatting on the paragraph mark glyph, and other characters that are not stored as text in the WordprocessingML document. Some printable characters can be mapped to more than one font slot, such as Unicode glyph U+2026 ‘HORIZONTAL ELLIPSIS’. end note]

[Example: Consider the run representing the paragraph mark glyph, which is not stored as a physical character. Since this could therefore be formatted with any of the fonts specified for the run, this ambiguity is resolved using the following WordprocessingML:

<w:pPr>
  <w:rPr>
    <w:rFonts w:hint="eastAsia" />
  </w:rPr>
</w:pPr>

The hint attribute specifies that some characters in the run use an East Asian font. 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 font hint for this text run shall be to use the Complex Script font defined for the run via the style hierarchy.

Specifies that no hint shall apply to this text run.

Specifies that the font hint for this text run shall be to use the East Asian font defined for the run via the style hierarchy.

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

Last updated on