Compartir a través de


VerticalJustification Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.TopBottomType
        DocumentFormat.OpenXml.Math.VerticalJustification

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

Syntax

'Declaración
Public Class VerticalJustification _
    Inherits TopBottomType
'Uso
Dim instance As VerticalJustification
public class VerticalJustification : TopBottomType

Remarks

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

22.1.2.119 vertJc (Vertical Justification)

This element, combined with pos of groupChrPr, specifies the vertical layout of the groupChr object. Where pos specifies the position of the grouping character, vertJc specifies the alignment of the object with respect to the baseline. For example, when the group character is above the object, vertJc of top signifies that the top of the object falls on the baseline; when vertJc is set to bot, the bottom of the object is on the baseline. The table below demonstrates the four possible combinations of groupChr layout:

Pos

vertJc

Layout

top

top

top

bot

bot

top

bot

bot

When the element is absent, the default value of the property is top.

When the element is present and the val attribute is absent, the default of the val attribute is bot.

[Example:

is represented by the following XML:

<m:oMath>
  <m:r>
    <m:t>a+</m:t>
  </m:r>
  <m:groupChr>
    <m:groupChrPr>
      <m:vertJc m:val="bot"/>
    </m:groupChrPr>
    <m:e>
      <m:r>
        <m:t>b+c</m:t>
      </m:r>
    </m:e>
  </m:groupChr>
  <m:r>
    <m:t>+d</m:t>
  </m:r>
</m:oMath>

Since the vertical justification property is set to bot on the group-character object, the bottom of the group-character object is aligned with the baseline.

end example]

Parent Elements

groupChrPr (§22.1.2.42)

Attributes

Description

val (Value)

Specifies the position of the parent element. Possible values are top and bot.

[Example:

<m:barPr>
<m:pos   m:val="top"/>
</m:barPr>

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

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

VerticalJustification Members

DocumentFormat.OpenXml.Math Namespace