[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
rPr (Run Properties)
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
• 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 (§2.3.2.1), an imprinted (engraved) text effect using the imprint element (§2.3.2.16), and that this text should be interpreted as English (Canada) when spell or grammar checking the run text using the lang element (§2.3.2.18). end example]
Parent Elements |
Child Elements |
Subclause |
b (Bold) |
§2.3.2.1 |
bCs (Complex Script Bold) |
§2.3.2.2 |
bdr (Text Border) |
§2.3.2.3 |
caps (Display All Characters As Capital Letters) |
§2.3.2.4 |
color (Run Content Color) |
§2.3.2.5 |
cs (Use Complex Script Formatting on Run) |
§2.3.2.6 |
dstrike (Double Strikethrough) |
§2.3.2.7 |
eastAsianLayout (East Asian Typography Settings) |
§2.3.2.8 |
effect (Animated Text Effect) |
§2.3.2.9 |
em (Emphasis Mark) |
§2.3.2.10 |
emboss (Embossing) |
§2.3.2.11 |
§2.3.2.12 | |
highlight (Text Highlighting) |
§2.3.2.13 |
i (Italics) |
§2.3.2.14 |
iCs (Complex Script Italics) |
§2.3.2.15 |
imprint (Imprinting) |
§2.3.2.16 |
kern (Font Kerning) |
§2.3.2.17 |
§2.3.2.18 | |
noProof (Do Not Check Spelling or Grammar) |
§2.3.2.19 |
§2.3.2.20 | |
outline (Display Character Outline) |
§2.3.2.21 |
position (Vertically Raised or Lowered Text) |
§2.3.2.22 |
rFonts (Run Fonts) |
§2.3.2.24 |
§2.13.5.32 | |
rStyle (Referenced Character Style) |
§2.3.2.27 |
rtl (Right To Left Text) |
§2.3.2.28 |
shadow (Shadow) |
§2.3.2.29 |
shd (Run Shading) |
§2.3.2.30 |
smallCaps (Small Caps) |
§2.3.2.31 |
snapToGrid (Use Document Grid Settings For Inter-Character Spacing) |
§2.3.2.32 |
spacing (Character Spacing Adjustment) |
§2.3.2.33 |
specVanish (Paragraph Mark Is Always Hidden) |
§2.3.2.34 |
strike (Single Strikethrough) |
§2.3.2.35 |
sz (Font Size) |
§2.3.2.36 |
szCs (Complex Script Font Size) |
§2.3.2.37 |
u (Underline) |
§2.3.2.38 |
vanish (Hidden Text) |
§2.3.2.39 |
vertAlign (Subscript/Superscript Text) |
§2.3.2.40 |
w (Expanded/Compressed Text) |
§2.3.2.41 |
webHidden (Web Hidden Text) |
§2.3.2.42 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_RPr">
<sequence>
<group ref="EG_RPrContent" minOccurs="0"/>
</sequence>
</complexType>