Share via


MatrixColumnJustification Class

Matrix Column Justification.When the object is serialized out as xml, its qualified name is m:mcJc.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Math.MatrixColumnJustification

Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'宣言
Public Class MatrixColumnJustification _
    Inherits OpenXmlLeafElement
'使用
Dim instance As MatrixColumnJustification
public class MatrixColumnJustification : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 初版]

22.1.2.65 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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MatrixColumnJustification Members

DocumentFormat.OpenXml.Math Namespace