Freigeben über


BaseJustification-Klasse

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

Vererbungshierarchie

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

BaseJustification-Member

DocumentFormat.OpenXml.Math-Namespace