Defines the OfficeMath Class. When the object is serialized out as xml, its qualified name is w:oMath.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
oMath (Office Open XML Math)
This element specifies that this run contains WordprocessingML which shall be handled as though it was Office Open XML Math.
[Rationale: Like other run properties can be applied to the glyph representing the paragraph mark, it is possible to create an Office Open XML Math equation on an empty paragraph as well. Since that paragraph mark must be defined by WordprocessingML, it is not possible to store the paragraph using the Office Open XML Math markup. Instead, this run property is stored on the paragraph mark's run properties to indicate that the paragraph mark is part of an Office Open XML Math equation. For example, the first paragraph below is stored as Office Open XML Math:
The paragraph must be a p (§22.214.171.124) element, but that would mean the data loss of the Math markup when saving as a WordprocessingML package. In order to prevent that data loss, this property stores the Math property as a run property. end rationale]
If this element is not present, the default value is to leave the formatting applied at previous level in the style hierarchy. If this element is never applied in the style hierarchy, then this run shall not be treated as Office Open XML Math.
This property can be applied to any run, but that should only introduce the semantic that the run is math in the user interface, and shall not change the appearance of the text.
[Example: Consider a paragraph in WordprocessingML where the paragraph mark glyph (the pilcrow mark - ¶) has been formatted as Math. Since this mark is not an actual run, it cannot be written out in the Office Open XML Math syntax, and must be written out as a property on the actual run as follows:
<w:pPr> <w:rPr> <w:oMath /> </w:rPr> </w:pPr>
This property is therefore used to roundtrip the math setting on this paragraph mark character. end example]
rPr (§126.96.36.199); rPr (§188.8.131.52); rPr (§184.108.40.206); rPr (§17.9.25); rPr (§220.127.116.11); rPr (§18.104.22.168); rPr (§22.214.171.124); rPr (§126.96.36.199); rPr (§188.8.131.52); rPr (§184.108.40.206)
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.