Paragraph Class
Defines the Paragraph Class.When the object is serialized out as xml, its qualified name is m:oMathPara.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Math.Paragraph
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(MoveFromRangeStart))> _
<ChildElementInfoAttribute(GetType(ParagraphProperties))> _
<ChildElementInfoAttribute(GetType(OfficeMath))> _
<ChildElementInfoAttribute(GetType(Run))> _
<ChildElementInfoAttribute(GetType(ProofError))> _
<ChildElementInfoAttribute(GetType(PermStart))> _
<ChildElementInfoAttribute(GetType(PermEnd))> _
<ChildElementInfoAttribute(GetType(BookmarkStart))> _
<ChildElementInfoAttribute(GetType(BookmarkEnd))> _
<ChildElementInfoAttribute(GetType(CommentRangeStart))> _
<ChildElementInfoAttribute(GetType(CommentRangeEnd))> _
<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(CustomXmlMoveFromRangeEnd))> _
<ChildElementInfoAttribute(GetType(CustomXmlMoveToRangeStart))> _
<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(Run))> _
Public Class Paragraph _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Paragraph
[ChildElementInfoAttribute(typeof(MoveFromRangeStart))]
[ChildElementInfoAttribute(typeof(ParagraphProperties))]
[ChildElementInfoAttribute(typeof(OfficeMath))]
[ChildElementInfoAttribute(typeof(Run))]
[ChildElementInfoAttribute(typeof(ProofError))]
[ChildElementInfoAttribute(typeof(PermStart))]
[ChildElementInfoAttribute(typeof(PermEnd))]
[ChildElementInfoAttribute(typeof(BookmarkStart))]
[ChildElementInfoAttribute(typeof(BookmarkEnd))]
[ChildElementInfoAttribute(typeof(CommentRangeStart))]
[ChildElementInfoAttribute(typeof(CommentRangeEnd))]
[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(CustomXmlMoveFromRangeEnd))]
[ChildElementInfoAttribute(typeof(CustomXmlMoveToRangeStart))]
[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(Run))]
public class Paragraph : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
ParagraphProperties <m:oMathParaPr>
OfficeMath <m:oMath>
Run <m:r>
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>
DocumentFormat.OpenXml.Wordprocessing.Run <w:r>
[ISO/IEC 29500-1 1st Edition]
22.1.2.78 oMathPara (Office Math Paragraph)
This element specifies a math paragraph, or display math zone, that contains one or more oMath elements that are in display mode. The oMath containers of a display math zone are not themselves considered inline math zones..
[Example:
is represented by the following XML:
<m:oMathPara> <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 |
---|
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); 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 |
---|---|
oMath (Office Math) |
§22.1.2.77 |
oMathParaPr (Office Math Paragraph Properties) |
§22.1.2.79 |
[Note: The W3C XML Schema definition of this element’s content model (CT_OMathPara) 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.