<jc> (Table Alignment)

This element specifies the alignment of the current 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 the 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 associated table style. If this property is not specified in the style hierarchy, then the table shall be left justified with zero indentation from the leading margin (the left margin in a left-to-right table or the right margin in a right-to-left table).

example:

R1C1

R1C2

R1C3

R2C1

R2C2

R2C3

This table does not fill the entire width of the text margins. If the table should be right justified to the margin, as follows:

R1C1

R1C2

R1C3

R2C1

R2C2

R2C3

That requirement would be specified using the following WordprocessingML:

<w:tblPr>
  <w:jc w:val="right"/>
</w:tblPr>

The <jc> element specifies that the table shall be right aligned with respect to the text margins. ]

Parent Elements

<tblPr>2.7.5.3); <tblPr>2.7.5.4); <tblPr>2.4.55); <tblPr>2.4.56)

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.

<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. ]

The possible values for this attribute are defined by the ST_Jc simple type (§2.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>