17.3.2.28 rPr
This element specifies a set of run properties which shall be applied to the contents of the parent run after all style formatting has been applied to the text. These properties are defined as direct formatting, since they are directly applied to the run and supersede any formatting from styles.
This formatting is applied at the following location in the
style hierarchy:
- Document defaults
- Table styles
- Numbering styles
- Paragraph styles
- Character styles
- Direct formatting (this element)
[Example: Consider a run which should have a set of run formatting properties. This set of properties is specified in the run properties as follows:
<w:r>
<w:rPr>
<w:b />
<w:imprint />
<w:lang w:val="en-CA" />
</w:rPr>
</w:r>
The rPr element specifies the properties which are applied to the current run - in this case, bold formatting on the run contents using the b element (17.3.2.1), an imprinted (engraved) text effect using the imprint element (17.3.2.18), and that this text should be interpreted as English (Canada) when spell or grammar checking the run text using the lang element (17.3.2.20). end example]
The W3C XML Schema definition of this element’s content model (CT_RPr) is located in A.1. Each child element from the above table shall not occur more than once. [Note: This restriction is not reflected in the element’s content model due to limitations of W3C XML Schema language. end note]