OfficeMath Class
Defines the OfficeMath Class.When the object is serialized out as xml, its qualified name is m:oMath.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Math.OfficeMath
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Accent))> _
<ChildElementInfoAttribute(GetType(CustomXmlMoveToRangeStart))> _
<ChildElementInfoAttribute(GetType(CustomXmlMoveFromRangeEnd))> _
<ChildElementInfoAttribute(GetType(Bar))> _
<ChildElementInfoAttribute(GetType(Box))> _
<ChildElementInfoAttribute(GetType(BorderBox))> _
<ChildElementInfoAttribute(GetType(Delimiter))> _
<ChildElementInfoAttribute(GetType(EquationArray))> _
<ChildElementInfoAttribute(GetType(Fraction))> _
<ChildElementInfoAttribute(GetType(MathFunction))> _
<ChildElementInfoAttribute(GetType(GroupChar))> _
<ChildElementInfoAttribute(GetType(LimitLower))> _
<ChildElementInfoAttribute(GetType(LimitUpper))> _
<ChildElementInfoAttribute(GetType(Matrix))> _
<ChildElementInfoAttribute(GetType(Nary))> _
<ChildElementInfoAttribute(GetType(Phantom))> _
<ChildElementInfoAttribute(GetType(Radical))> _
<ChildElementInfoAttribute(GetType(PreSubSuper))> _
<ChildElementInfoAttribute(GetType(Subscript))> _
<ChildElementInfoAttribute(GetType(SubSuperscript))> _
<ChildElementInfoAttribute(GetType(Superscript))> _
<ChildElementInfoAttribute(GetType(Run))> _
<ChildElementInfoAttribute(GetType(CustomXmlRun))> _
<ChildElementInfoAttribute(GetType(SimpleField))> _
<ChildElementInfoAttribute(GetType(Hyperlink))> _
<ChildElementInfoAttribute(GetType(SmartTagRun))> _
<ChildElementInfoAttribute(GetType(SdtRun))> _
<ChildElementInfoAttribute(GetType(ProofError))> _
<ChildElementInfoAttribute(GetType(PermStart))> _
<ChildElementInfoAttribute(GetType(PermEnd))> _
<ChildElementInfoAttribute(GetType(BookmarkStart))> _
<ChildElementInfoAttribute(GetType(BookmarkEnd))> _
<ChildElementInfoAttribute(GetType(CommentRangeStart))> _
<ChildElementInfoAttribute(GetType(CommentRangeEnd))> _
<ChildElementInfoAttribute(GetType(MoveFromRangeStart))> _
<ChildElementInfoAttribute(GetType(MoveFromRangeEnd))> _
<ChildElementInfoAttribute(GetType(MoveToRangeStart))> _
<ChildElementInfoAttribute(GetType(MoveToRangeEnd))> _
<ChildElementInfoAttribute(GetType(CustomXmlInsRangeStart))> _
<ChildElementInfoAttribute(GetType(CustomXmlInsRangeEnd))> _
<ChildElementInfoAttribute(GetType(CustomXmlDelRangeStart))> _
<ChildElementInfoAttribute(GetType(CustomXmlDelRangeEnd))> _
<ChildElementInfoAttribute(GetType(CustomXmlMoveFromRangeStart))> _
<ChildElementInfoAttribute(GetType(CustomXmlMoveToRangeEnd))> _
<ChildElementInfoAttribute(GetType(CustomXmlConflictInsertionRangeStart), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(CustomXmlConflictInsertionRangeEnd), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(CustomXmlConflictDeletionRangeStart), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(CustomXmlConflictDeletionRangeEnd), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(InsertedRun))> _
<ChildElementInfoAttribute(GetType(DeletedRun))> _
<ChildElementInfoAttribute(GetType(MoveFromRun))> _
<ChildElementInfoAttribute(GetType(MoveToRun))> _
<ChildElementInfoAttribute(GetType(ContentPart), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(RunConflictInsertion), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(RunConflictDeletion), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Paragraph))> _
<ChildElementInfoAttribute(GetType(OfficeMath))> _
Public Class OfficeMath _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As OfficeMath
[ChildElementInfoAttribute(typeof(Accent))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveToRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveFromRangeEnd))]
[ChildElementInfoAttribute(typeof(Bar))]
[ChildElementInfoAttribute(typeof(Box))]
[ChildElementInfoAttribute(typeof(BorderBox))]
[ChildElementInfoAttribute(typeof(Delimiter))]
[ChildElementInfoAttribute(typeof(EquationArray))]
[ChildElementInfoAttribute(typeof(Fraction))]
[ChildElementInfoAttribute(typeof(MathFunction))]
[ChildElementInfoAttribute(typeof(GroupChar))]
[ChildElementInfoAttribute(typeof(LimitLower))]
[ChildElementInfoAttribute(typeof(LimitUpper))]
[ChildElementInfoAttribute(typeof(Matrix))]
[ChildElementInfoAttribute(typeof(Nary))]
[ChildElementInfoAttribute(typeof(Phantom))]
[ChildElementInfoAttribute(typeof(Radical))]
[ChildElementInfoAttribute(typeof(PreSubSuper))]
[ChildElementInfoAttribute(typeof(Subscript))]
[ChildElementInfoAttribute(typeof(SubSuperscript))]
[ChildElementInfoAttribute(typeof(Superscript))]
[ChildElementInfoAttribute(typeof(Run))]
[ChildElementInfoAttribute(typeof(CustomXmlRun))]
[ChildElementInfoAttribute(typeof(SimpleField))]
[ChildElementInfoAttribute(typeof(Hyperlink))]
[ChildElementInfoAttribute(typeof(SmartTagRun))]
[ChildElementInfoAttribute(typeof(SdtRun))]
[ChildElementInfoAttribute(typeof(ProofError))]
[ChildElementInfoAttribute(typeof(PermStart))]
[ChildElementInfoAttribute(typeof(PermEnd))]
[ChildElementInfoAttribute(typeof(BookmarkStart))]
[ChildElementInfoAttribute(typeof(BookmarkEnd))]
[ChildElementInfoAttribute(typeof(CommentRangeStart))]
[ChildElementInfoAttribute(typeof(CommentRangeEnd))]
[ChildElementInfoAttribute(typeof(MoveFromRangeStart))]
[ChildElementInfoAttribute(typeof(MoveFromRangeEnd))]
[ChildElementInfoAttribute(typeof(MoveToRangeStart))]
[ChildElementInfoAttribute(typeof(MoveToRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlInsRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlInsRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlDelRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlDelRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveFromRangeStart))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveToRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlConflictInsertionRangeStart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(CustomXmlConflictInsertionRangeEnd), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(CustomXmlConflictDeletionRangeStart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(CustomXmlConflictDeletionRangeEnd), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(InsertedRun))]
[ChildElementInfoAttribute(typeof(DeletedRun))]
[ChildElementInfoAttribute(typeof(MoveFromRun))]
[ChildElementInfoAttribute(typeof(MoveToRun))]
[ChildElementInfoAttribute(typeof(ContentPart), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(RunConflictInsertion), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(RunConflictDeletion), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Paragraph))]
[ChildElementInfoAttribute(typeof(OfficeMath))]
public class OfficeMath : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
Accent <m:acc>
Bar <m:bar>
Box <m:box>
BorderBox <m:borderBox>
Delimiter <m:d>
EquationArray <m:eqArr>
Fraction <m:f>
MathFunction <m:func>
GroupChar <m:groupChr>
LimitLower <m:limLow>
LimitUpper <m:limUpp>
Matrix <m:m>
Nary <m:nary>
Phantom <m:phant>
Radical <m:rad>
PreSubSuper <m:sPre>
Subscript <m:sSub>
SubSuperscript <m:sSubSup>
Superscript <m:sSup>
Run <m:r>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlRun <w:customXml>
DocumentFormat.OpenXml.Wordprocessing.SimpleField <w:fldSimple>
DocumentFormat.OpenXml.Wordprocessing.Hyperlink <w:hyperlink>
DocumentFormat.OpenXml.Wordprocessing.SmartTagRun <w:smartTag>
DocumentFormat.OpenXml.Wordprocessing.SdtRun <w:sdt>
DocumentFormat.OpenXml.Wordprocessing.ProofError <w:proofErr>
DocumentFormat.OpenXml.Wordprocessing.PermStart <w:permStart>
DocumentFormat.OpenXml.Wordprocessing.PermEnd <w:permEnd>
DocumentFormat.OpenXml.Wordprocessing.BookmarkStart <w:bookmarkStart>
DocumentFormat.OpenXml.Wordprocessing.BookmarkEnd <w:bookmarkEnd>
DocumentFormat.OpenXml.Wordprocessing.CommentRangeStart <w:commentRangeStart>
DocumentFormat.OpenXml.Wordprocessing.CommentRangeEnd <w:commentRangeEnd>
DocumentFormat.OpenXml.Wordprocessing.MoveFromRangeStart <w:moveFromRangeStart>
DocumentFormat.OpenXml.Wordprocessing.MoveFromRangeEnd <w:moveFromRangeEnd>
DocumentFormat.OpenXml.Wordprocessing.MoveToRangeStart <w:moveToRangeStart>
DocumentFormat.OpenXml.Wordprocessing.MoveToRangeEnd <w:moveToRangeEnd>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlInsRangeStart <w:customXmlInsRangeStart>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlInsRangeEnd <w:customXmlInsRangeEnd>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlDelRangeStart <w:customXmlDelRangeStart>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlDelRangeEnd <w:customXmlDelRangeEnd>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlMoveFromRangeStart <w:customXmlMoveFromRangeStart>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlMoveFromRangeEnd <w:customXmlMoveFromRangeEnd>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlMoveToRangeStart <w:customXmlMoveToRangeStart>
DocumentFormat.OpenXml.Wordprocessing.CustomXmlMoveToRangeEnd <w:customXmlMoveToRangeEnd>
DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictInsertionRangeStart <w14:customXmlConflictInsRangeStart>
DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictInsertionRangeEnd <w14:customXmlConflictInsRangeEnd>
DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictDeletionRangeStart <w14:customXmlConflictDelRangeStart>
DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictDeletionRangeEnd <w14:customXmlConflictDelRangeEnd>
DocumentFormat.OpenXml.Wordprocessing.InsertedRun <w:ins>
DocumentFormat.OpenXml.Wordprocessing.DeletedRun <w:del>
DocumentFormat.OpenXml.Wordprocessing.MoveFromRun <w:moveFrom>
DocumentFormat.OpenXml.Wordprocessing.MoveToRun <w:moveTo>
DocumentFormat.OpenXml.Wordprocessing.ContentPart <w:contentPart>
DocumentFormat.OpenXml.Office2010.Word.RunConflictInsertion <w14:conflictIns>
DocumentFormat.OpenXml.Office2010.Word.RunConflictDeletion <w14:conflictDel>
Paragraph <m:oMathPara>
OfficeMath <m:oMath>
[ISO/IEC 29500-1 1st Edition]
22.1.2.77 oMath (Office Math)
This element specifies an instance of mathematical text. When used independently (not inside an oMathPara) with non-mathematical text preceding and/or following it, an independent oMath is interpreted as an inline math zone. All such math zones, including equations, expressions, arrays of equations or expressions, and formulas are represented by oMath blocks. When used in a display math zone (a math paragraph, oMathPara), oMath is a container for an instance of mathematical text that starts on its own line and is not an inline math zone. When an oMath block is part of a display math zone, it is not itself an inline math zone. When an oMath block is not part of a display math zone, it is interpreted as its own inline math zone. The contents of an oMath block do not differ between display zone containers and independent inline math zones.
[Example:
<m:oMath> <m:r> <m:t>1+1=2</m:t> </m:r> </m:oMath>
end example]
Parent Elements |
---|
bdo (§17.3.2.3); body (§17.2.2); comment (§17.13.4.2); customXml (§17.5.1.6); customXml (§17.5.1.4); customXml (§17.5.1.5); customXml (§17.5.1.3); deg (§22.1.2.26); del (§17.13.5.14); den (§22.1.2.28); dir (§17.3.2.8); docPartBody (§17.12.6); e (§22.1.2.32); endnote (§17.11.2); fldSimple (§17.16.19); fName (§22.1.2.37); footnote (§17.11.10); ftr (§17.10.3); hdr (§17.10.4); hyperlink (§17.16.22); ins (§17.13.5.18); lim (§22.1.2.52); moveFrom (§17.13.5.22); moveTo (§17.13.5.25); num (§22.1.2.75); oMath (§22.1.2.77); oMathPara (§22.1.2.78); p (§17.3.1.22); rt (§17.3.3.24); rubyBase (§17.3.3.27); sdtContent (§17.5.2.34); sdtContent (§17.5.2.33); sdtContent (§17.5.2.35); sdtContent (§17.5.2.36); smartTag (§17.5.1.9); sub (§22.1.2.112); sup (§22.1.2.114); tbl (§17.4.38); tc (§17.4.66); tr (§17.4.79) |
Child Elements |
Subclause |
---|---|
acc (Accent) |
§22.1.2.1 |
bar (Bar) |
§22.1.2.7 |
bookmarkEnd (Bookmark End) |
§17.13.6.1 |
bookmarkStart (Bookmark Start) |
§17.13.6.2 |
borderBox (Border-Box Object) |
§22.1.2.11 |
box (Box Object) |
§22.1.2.13 |
commentRangeEnd (Comment Anchor Range End) |
§17.13.4.3 |
commentRangeStart (Comment Anchor Range Start) |
§17.13.4.4 |
customXmlDelRangeEnd (Custom XML Markup Deletion End) |
§17.13.5.4 |
customXmlDelRangeStart (Custom XML Markup Deletion Start) |
§17.13.5.5 |
customXmlInsRangeEnd (Custom XML Markup Insertion End) |
§17.13.5.6 |
customXmlInsRangeStart (Custom XML Markup Insertion Start) |
§17.13.5.7 |
customXmlMoveFromRangeEnd (Custom XML Markup Move Source End) |
§17.13.5.8 |
customXmlMoveFromRangeStart (Custom XML Markup Move Source Start) |
§17.13.5.9 |
customXmlMoveToRangeEnd (Custom XML Markup Move Destination Location End) |
§17.13.5.10 |
customXmlMoveToRangeStart (Custom XML Markup Move Destination Location Start) |
§17.13.5.11 |
d (Delimiter Object) |
§22.1.2.24 |
del (Deleted Run Content) |
§17.13.5.14 |
eqArr (Array Object) |
§22.1.2.34 |
f (Fraction Object) |
§22.1.2.36 |
func (Function Apply Object) |
§22.1.2.39 |
groupChr (Group-Character Object) |
§22.1.2.41 |
ins (Inserted Run Content) |
§17.13.5.18 |
limLow (Lower-Limit Object) |
§22.1.2.54 |
limUpp (Upper-Limit Object) |
§22.1.2.56 |
m (Matrix Object) |
§22.1.2.60 |
moveFrom (Move Source Run Content) |
§17.13.5.22 |
moveFromRangeEnd (Move Source Location Container - End) |
§17.13.5.23 |
moveFromRangeStart (Move Source Location Container - Start) |
§17.13.5.24 |
moveTo (Move Destination Run Content) |
§17.13.5.25 |
moveToRangeEnd (Move Destination Location Container - End) |
§17.13.5.27 |
moveToRangeStart (Move Destination Location Container - Start) |
§17.13.5.28 |
nary (n-ary Operator Object) |
§22.1.2.70 |
oMath (Office Math) |
§22.1.2.77 |
oMathPara (Office Math Paragraph) |
§22.1.2.78 |
permEnd (Range Permission End) |
§17.13.7.1 |
permStart (Range Permission Start) |
§17.13.7.2 |
phant (Phantom Object) |
§22.1.2.81 |
proofErr (Proofing Error Anchor) |
§17.13.8.1 |
r (Run) |
§22.1.2.87 |
rad (Radical Object) |
§22.1.2.88 |
sPre (Pre-Sub-Superscript Object) |
§22.1.2.99 |
sSub (Subscript Object) |
§22.1.2.101 |
sSubSup (Sub-Superscript Object) |
§22.1.2.103 |
sSup (Superscript Object) |
§22.1.2.105 |
[Note: The W3C XML Schema definition of this element’s content model (CT_OMath) 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.