17.3.1.13 jc

This element specifies the paragraph alignment which shall be applied to text in this paragraph.

If this element is omitted on a given paragraph, its value is determined by the setting previously set at any level of the style hierarchy (i.e. that previous setting remains unchanged). If this setting is never specified in the style hierarchy, then no alignment is applied to the paragraph.

[Example: Consider a paragraph which should be right justified to the right page side paragraph extents within a document. This constraint is specified in the following WordprocessingML content:

<w:pPr>
  <w:jc w:val="end" />
</w:pPr>

The paragraph is now right justified on the page. end example]

Attributes

val (Alignment Type)

Specifies the justification which should be applied to the parent object within a document.

The possible values (see below) for this attribute are always specified with left specifying justification relative to the leading edge of the paragraph, and therefore change semantic between right-to-left and left-to-right documents.

[Example: Consider the following WordprocessingML fragment for a paragraph in a document:

  <w:pPr>
    <w:jc w:val="end" />
  </w:pPr>

This paragraph is now right justified on the page for a left-to-right paragraph, left justified for a right-to-left paragraph. end example]

The possible values for this attribute are defined by the ST_Jc simple type (17.18.44).

[Note: The W3C XML Schema definition of this element’s content model (CT_Jc) is located in A.1. end note]

Last updated on