Compartir a través de


Justification Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaración
Public Class Justification _
    Inherits OfficeMathJustificationType
'Uso
Dim instance As Justification
public class Justification : OfficeMathJustificationType

Remarks

[ISO/IEC 29500-1 1ª edición]

22.1.2.51 jc (Justification)

This element specifies justification of the math paragraph (a series of adjacent instances of mathematical text within the same paragraph). A math paragraph can be Left Justified, Right Justified, Centered, or Centered as Group. If this element is omitted, the math paragraph is Centered as Group. Whether the element is absent or present without the val attribute, the default of the val attribute is centerGroup. This means that the instances of mathematical text can be aligned with respect to each other, but the entire group of mathematical text is centered as a whole. [Example: An example of Centered as Group is the following example, in which each equation is left-aligned, but the series is centered:

The XML that demonstrates jc in use is:

<m:oMathParaPr>
<m:jc m:val="centerGroup"/>
</m:oMathParaPr>

end example]

Parent Elements

oMathParaPr (§22.1.2.79)

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. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

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

Justification Members

DocumentFormat.OpenXml.Math Namespace