17.4.28 jc
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 (17.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: Consider the following WordprocessingML table, justified to the left margin by default:
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="end"/>
</w:tblPr>
The jc element specifies that the table must be right aligned with respect to the text margins. end example]
Attributes
val (Alignment Type)
Specifies the justification which should be applied to the parent table.
[Example: Consider the following WordprocessingML fragment for a table in a document:
<w:tblPr>
<w:jc w:val="center" />
</w:tblPr>
This table is now centered on the page. end example]
The possible values for this attribute are defined by the ST_JcTable simple type (17.18.45).
[Note: The W3C XML Schema definition of this element’s content model (CT_JcTable) is located in A.1. end note]