[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

jc (Table Row Alignment)

This element specifies the alignment of a single row in the parent table with respect to the text margins in the current section. When a table is placed in a WordprocessingML document that does not have the same width as the margins, this property is used to determine how a specific row in that table is positioned with respect to those margins. The interpretation of property is reversed if the parent table is right to left using the bidiVisual element (§2.4.1).

If this property is omitted on a table, then the justification shall be determined by the default set of table properties on the parent table.

[Example: Consider the following WordprocessingML table, centered on the text margins with its second rows justified to the left margin by a table row level justification:

 

 

 

 

 

 

 

 

 

 

That row level setting would be specified using the following WordprocessingML:

<w:trPr>
<w:jc w:val="left"/>
</w:trPr>

The jc element specifies that the rows which are part of the table properties exception table shall be left aligned with respect to the text margins. end example]

Parent Elements

trPr2.7.5.10); trPr2.7.5.11); trPr2.4.78); trPr2.4.79)

 

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>