BaseJustification Class

Equation Array Base Justification.When the object is serialized out as xml, its qualified name is m:baseJc.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class BaseJustification _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As BaseJustification
public class BaseJustification : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

22.1.2.9 baseJc (Matrix Base Justification)

This element specifies the justification of the matrix. Text outside of the matrix can be aligned with the bottom, top, or center of a matrix object. If this element is omitted, the matrix assumes center justification. In other words, whether the element is absent or present without the val attribute, the default of the val attribute is center.

[Example: This matrix has center baseJc:

This matrix has top baseJc:

This matrix has bottom baseJc:

The XML below represents the matrix with top baseJC:

<m:d>
<m:dPr>
<m:shp  m:val="match"/>
</m:dPr>
  <m:e>
<m:m>
<m:mPr>
<m:baseJc m:val="top"/>
<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:mr>
        <m:e>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>5</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>6</m:t>
</m:r>
</m:e>
</m:mr>
</m:m>
</m:e>
</m:d>

Because the matrix base justification is top, the top row of the matrix is lined up with the baseline of the rest of the line.

end example]

Parent Elements

eqArrPr (§22.1.2.35); mPr (§22.1.2.68)

Attributes

Description

val (Value)

Specifies the vertical justification parent element respect to surrounding text. Possible values are top, bottom, and center. [Example: The following examples illustrate baseJc on the matrix object m.

This matrix has center baseJc:

This matrix has top baseJc:

This matrix has bottom baseJc:

The possible values for this attribute are defined by the ST_YAlign simple type (§22.9.2.20).

[Note: The W3C XML Schema definition of this element’s content model (CT_YAlign) is located in §A.6.1. end note]

© ISO/IEC29500: 2008.

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

BaseJustification Members

DocumentFormat.OpenXml.Math Namespace