Compartilhar via


ParagraphProperties Class

Office Math Paragraph Properties.When the object is serialized out as xml, its qualified name is m:oMathParaPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Math.ParagraphProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Justification))> _
Public Class ParagraphProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ParagraphProperties
[ChildElementInfoAttribute(typeof(Justification))]
public class ParagraphProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Justification <m:jc>

[ISO/IEC 29500-1 1st Edition]

22.1.2.79 oMathParaPr (Office Math Paragraph Properties)

This property specifies properties of the math paragraph oMathPara, including justification jc.

[Example:

is represented by the following XML:

<m:oMathPara>
  <m:oMathParaPr>
    <m:jc m:val="right"/>
  </m:oMathParaPr>
  <m:oMath>
    <m:r>
      <m:t>1+1=2</m:t>
    </m:r>
    <m:r>
      <w:br/>
    </m:r>
  </m:oMath>
  <m:oMath>
    <m:r>
      <m:t>2+2=4</m:t>
    </m:r>
  </m:oMath>
</m:oMathPara>

end example]

Parent Elements

oMathPara (§22.1.2.78)

Child Elements

Subclause

jc (Justification)

§22.1.2.51

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

ParagraphProperties Members

DocumentFormat.OpenXml.Math Namespace