Freigeben über


DefaultJustification-Klasse

Default Justification.When the object is serialized out as xml, its qualified name is m:defJc.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.OfficeMathJustificationType
        DocumentFormat.OpenXml.Math.DefaultJustification

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

Syntax

'Declaration
Public Class DefaultJustification _
    Inherits OfficeMathJustificationType
'Usage
Dim instance As DefaultJustification
public class DefaultJustification : OfficeMathJustificationType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

22.1.2.25 defJc (Default Justification)

This element specifies the default justification of display math, at the document level. Individual instances of mathematical text can overrule the default setting. If this element is omitted, the default justification is centerGroup. Whether the element is absent or present without the val attribute, the default of the val attribute is centerGroup.

Display math can be left justified, right justified, centered, or centered as a group. When display math is centered as a group, the mathematical text is left aligned within a block, and the entire block is centered with respect to column margins. If this element is omitted, the mathematical text is centered as a group.

[Example: The XML below demonstrates defJc in use:

<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="0"/>
<m:dispDef/>
  <m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr>

end example]

Parent Elements

mathPr (§22.1.2.62)

Attributes

Description

val (Value)

Specifies the default justification of mathematical text in the document. Possible values are center, centerGroup, left, and right.

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

[Note: The W3C XML Schema definition of this element's content model (CT_OMathJc) 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

DefaultJustification-Member

DocumentFormat.OpenXml.Math-Namespace