Paragraphs and Rich Formatting

The basis of a WordprocessingML document is its actual text contents. Those text contents can be stored in many contexts (tables, text boxes, etc.), but the most basic form of text contents in WordprocessingML is the paragraph, specified using the <p> element (§

Within the paragraph, all rich formatting at the paragraph level is stored within the <pPr> element (§; §
Note: : Some examples of paragraph properties are alignment, border, hyphenation override, indentation, line spacing, shading, text direction, and widow/orphan control.

Within the paragraph, text is grouped into one or more runs, represented by the @r element (§, which define a region of text with a common set of properties.

Just as a paragraph can have rich formatting, 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 (§; §
Note: : Some examples of run properties are bold, underlined, or visible.

Within runs, run content is the set of possible objects and characters which can be displayed in the document.