[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

jc (Table Alignment Exception)

This element specifies the alignment of the set of rows which are part of the current table properties exception list 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 default set of table properties on the parent table.

[Example: Consider the following WordprocessingML table, centered on the text margins with a subset of its rows justified to the left margin by a table property exception:

 

 

 

 

 

 

 

 

 

 

 

 

 

That exception would be specified using the following WordprocessingML:

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

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

tblPrEx2.4.57); tblPrEx2.4.58)

 

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>