17.3.1 Paragraphs
The most basic unit of block-level content within a WordprocessingML document, paragraphs are stored using the p element (17.3.1.22). A paragraph defines a distinct division of content with a WordprocessingML document which begins on a new line.
[Example: Consider the paragraph fragment “The quick brown fox jumped … " which is centered on a paragraph. The justification property is a paragraph level property, and therefore is expressed on the paragraph properties as follows:
<w:p>
<w:pPr>
<w:jc w:val="center"/>
<w:rPr>
<w:i/>
</w:rPr>
</w:pPr>
<w:r>
<w:rPr>
<w:i/>
</w:rPr>
<w:t xml:space="preserve">The quick brown fox jumped … </w:t>
</w:r>
</w:p>
Notice that each run specifies the character formatting information for its contents, and the paragraph specifies the paragraph level formatting (the center-justification). It is also notable that since leading and trailing whitespace is not normally significant in XML; some runs require an attribute specifying that their whitespace is significant via the xml:space element. end example]
A paragraph’s properties are specified via the pPr element (17.3.1.25; 17.3.1.26). [Note: Some examples of paragraph properties are alignment, border, hyphenation override, indentation, line spacing, shading, text direction, and widow/orphan control. end note]
Subsections
- 17.3.1.1 adjustRightInd
- 17.3.1.2 autoSpaceDE
- 17.3.1.3 autoSpaceDN
- 17.3.1.4 bar
- 17.3.1.5 between
- 17.3.1.6 bidi
- 17.3.1.7 bottom
- 17.3.1.8 cnfStyle
- 17.3.1.9 contextualSpacing
- 17.3.1.10 divId
- 17.3.1.11 framePr
- 17.3.1.12 ind
- 17.3.1.13 jc
- 17.3.1.14 keepLines
- 17.3.1.15 keepNext
- 17.3.1.16 kinsoku
- 17.3.1.17 left
- 17.3.1.18 mirrorIndents
- 17.3.1.19 numPr
- 17.3.1.20 outlineLvl
- 17.3.1.21 overflowPunct
- 17.3.1.22 p
- 17.3.1.23 pageBreakBefore
- 17.3.1.24 pBdr
- 17.3.1.25 pPr
- 17.3.1.26 pPr
- 17.3.1.27 pStyle
- 17.3.1.28 right
- 17.3.1.29 rPr
- 17.3.1.30 rPr
- 17.3.1.31 shd
- 17.3.1.32 snapToGrid
- 17.3.1.33 spacing
- 17.3.1.34 suppressAutoHyphens
- 17.3.1.35 suppressLineNumbers
- 17.3.1.36 suppressOverlap
- 17.3.1.37 tab
- 17.3.1.38 tabs
- 17.3.1.39 textAlignment
- 17.3.1.40 textboxTightWrap
- 17.3.1.41 textDirection
- 17.3.1.42 top
- 17.3.1.43 topLinePunct
- 17.3.1.44 widowControl
- 17.3.1.45 wordWrap