MatrixColumnJustification class
Matrix Column Justification. When the object is serialized out as xml, its qualified name is m:mcJc.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Math.MatrixColumnJustification
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
mcJc (Matrix Column Justification)
This element specifies the justification of a matrix column (or group of matrix columns) mc. When this element is omitted, the column is centered. Whether the element is absent or present without the val attribute, the default of the val attribute is center. The matrix below has three columns. The leftmost column is left-justified, the rightmost column is right-justified, and the center column is centered:
[Example: A simple example of this property in use is a 2x2 matrix with both columns centered:
<m:m>
<m:mPr>
<m:mcs>
<m:mc>
<m:mcPr>
<m:count m:val="2"/>
<m:mcJc m:val="center"/>
</m:mcPr>
</m:mc>
</m:mcs>
</m:mPr>
<m:mr>
<m:e>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>1</m:t>
</m:r >
</m:e>
<m:e>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>2</m:t>
</m:r >
</m:e>
</m:mr>
<m:mr>
<m:e>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>3</m:t>
</m:r >
</m:e>
<m:e>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>4</m:t>
</m:r >
</m:e>
</m:mr>
</m:m>end example]
Parent Elements |
|---|
mcPr (§22.1.2.66) |
Attributes | Description |
|---|---|
val (Value) | Specifies the horizontal alignment of the parent element. Possible values are left, right, and center. [Example: <m:mcPr> <m:mcJc m:val="center"/> <m:count m:val="2"/> </m:mcPr> The possible values for this attribute are defined by the ST_XAlign simple type (§22.9.2.18). |
[Note: The W3C XML Schema definition of this element’s content model (CT_XAlign) is located in §A.6.1. end note]
© ISO/IEC29500: 2008.