<themeFontLang> (Theme Font Languages)

This element specifies the language which shall be used to determine the appropriate theme fonts in the document's Theme part which map to the major/minor theme fonts.

These mappings are performed as follows:

  • For majorAscii/majorHAnsi, locate the <font> element (§5.1.4.1.16) in the <majorFont> element (§5.1.4.1.24) in the theme part for the language specified by the @val attribute

  • For majorBidi, locate the <font> element in the <majorFont> element in the theme part for the language specified by the @bidi attribute

  • For majorEastAsia, locate the <font> element in the <majorFont> element in the theme part for the language specified by the @eastAsia attribute

  • For minorAscii/minorHAnsi, locate the <font> element in the <minorFont> element (§5.1.4.1.25) in the theme part for the language specified by the @val attribute

  • For minorBidi, locate the <font> element in the <minorFont> element in the theme part for the language specified by the @bidi attribute

  • For minorEastAsia, locate the <font> element in the <minorFont> element in the theme part for the language specified by the @eastAsia attribute

If this element is omitted, then the default fonts for each region as specified by the <latin>, <ea>, and <cs> elements (§5.1.5.3.7; §5.1.5.3.3; §5.1.5.3.1) should be used.

example:
<w:themeFontLang w:val="ja-JP" />

The <themeFontLang> element's @val attribute has a value of ja-JP, specifying that the theme fonts used for Latin text shall be the theme fonts for Japanese. If the following content was present in the theme part:

<a:majorFont><a:font script="Jpan" typeface="MS Mincho"/></a:majorFont>

Then this setting would specify that uses of the majorAscii and majorHAnsi theme font enumerations shall be mapped to the MS Mincho font. ]

Parent Elements

<settings>2.15.1.78)

Attributes

Description

<bidi> (Complex Script Language)

Specifies the language which shall be used when processing the contents of this run which use complex script characters, as determined by the Unicode character values of the run content.

If this attribute is omitted, then the languages for the contents of this run using complex script characters shall be automatically determined based on their contents using any appropriate method.

<w:r>
  <w:rPr>
    <w:lang w:bidi="he-IL" />
  </w:rPr>
</w:r>

The resulting run specifies that any complex script contents shall be spell and grammar checked using a Hebrew dictionary and grammar engine, if one is available. ]

The possible values for this attribute are defined by the ST_Lang simple type (§2.18.51).

<eastAsia> (East Asian Language)

Specifies the language which shall be used when processing the contents of this run which use East Asian characters, as determined by the Unicode character values of the run content.

If this attribute is omitted, then the languages for the contents of this run using East Asian characters shall be automatically determined based on their contents using any appropriate method.

<w:r>
  <w:rPr>
    <w:lang w:bidi="ko-KR" />
  </w:rPr>
</w:r>

The resulting run specifies that any complex script contents shall be spell and grammar checked using a Korean dictionary and grammar engine, if one is available. ]

The possible values for this attribute are defined by the ST_Lang simple type (§2.18.51).

<val> (Latin Language)

Specifies the language which shall be used to check spelling and grammar (if requested) when processing the contents of this run which use Latin characters, as determined by the Unicode character values of the run content.

If this attribute is omitted, then the languages for the contents of this run using Latin characters shall be automatically determined based on their contents using any appropriate method.

<w:r>
  <w:rPr>
    <w:lang w:bidi="en-CA" />
  </w:rPr>
</w:r>

The resulting run specifies that any complex script contents shall be spell and grammar checked using a English (Canada) dictionary and grammar engine, if one is available. ]

The possible values for this attribute are defined by the ST_Lang simple type (§2.18.51).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Language">
	<attribute name="val" type="ST_Lang" use="optional"/>
	<attribute name="eastAsia" type="ST_Lang" use="optional"/>
	<attribute name="bidi" type="ST_Lang" use="optional"/>
</complexType>