[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

jc (Paragraph Alignment)

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="right" />

</w:pPr>

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

Parent Elements

pPr2.7.4.2); pPr2.9.24); pPr2.3.1.25); pPr2.7.5.1); pPr2.3.1.26); pPr2.7.7.2)

 

Attributes

Description

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 relative to the page, and do not change semantic from 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="right" />

</w:pPr>

 

This paragraph is now right justified on the page, regardless of the paragraph or section settings. end example]

 

The possible values for this attribute are defined by the ST_Jc simple type2.18.50).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Jc">

   <attribute name="val" type="ST_Jc" use="required"/>

</complexType>