17.3.2 Run
The next level of the document hierarchy is the run, which defines a region of text with a common set of properties. A run is represented by an r element (17.3.2.25), which allows the producer to specify a single set of formatting properties, applying the same information to all the contents of the run.
Just as a paragraph can have properties, so too can a run. All of the elements inside an r element have their properties controlled by a corresponding optional rPr run properties element (17.7.9.1; 17.3.2.27), which shall be the first child of the r element. In turn, the rPr element is a container for a set of property elements that are applied to the rest of the children of the r element. [Note: The elements inside the rPr container element allow the consumer to control whether the content in the following run content is bold, underlined, or visible, for example. end note]
[Example: Consider the following run within a WordprocessingML document:
<w:r>
<w:rPr>
<w:b/>
<w:i/>
</w:rPr>
<w:t>quick</w:t>
</w:r>
The run specifies two formatting properties in its run contents: bold and italic. These properties are therefore applied to all content within this run. end example]
Subsections
- 17.3.2.1 b
- 17.3.2.2 bCs
- 17.3.2.3 bdo
- 17.3.2.4 bdr
- 17.3.2.5 caps
- 17.3.2.6 color
- 17.3.2.7 cs
- 17.3.2.8 dir
- 17.3.2.9 dstrike
- 17.3.2.10 eastAsianLayout
- 17.3.2.11 effect
- 17.3.2.12 em
- 17.3.2.13 emboss
- 17.3.2.14 fitText
- 17.3.2.15 highlight
- 17.3.2.16 i
- 17.3.2.17 iCs
- 17.3.2.18 imprint
- 17.3.2.19 kern
- 17.3.2.20 lang
- 17.3.2.21 noProof
- 17.3.2.22 oMath
- 17.3.2.23 outline
- 17.3.2.24 position
- 17.3.2.25 r
- 17.3.2.26 rFonts
- 17.3.2.27 rPr
- 17.3.2.28 rPr
- 17.3.2.29 rStyle
- 17.3.2.30 rtl
- 17.3.2.31 shadow
- 17.3.2.32 shd
- 17.3.2.33 smallCaps
- 17.3.2.34 snapToGrid
- 17.3.2.35 spacing
- 17.3.2.36 specVanish
- 17.3.2.37 strike
- 17.3.2.38 sz
- 17.3.2.39 szCs
- 17.3.2.40 u
- 17.3.2.41 vanish
- 17.3.2.42 vertAlign
- 17.3.2.43 w
- 17.3.2.44 webHidden