Run Class
Defines the Run Class.When the object is serialized out as xml, its qualified name is m:r.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Math.Run
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
<ChildElementInfoAttribute(GetType(CarriageReturn))> _
<ChildElementInfoAttribute(GetType(Picture))> _
<ChildElementInfoAttribute(GetType(RunProperties))> _
<ChildElementInfoAttribute(GetType(RunProperties))> _
<ChildElementInfoAttribute(GetType(Break))> _
<ChildElementInfoAttribute(GetType(Text))> _
<ChildElementInfoAttribute(GetType(DeletedText))> _
<ChildElementInfoAttribute(GetType(FieldCode))> _
<ChildElementInfoAttribute(GetType(DeletedFieldCode))> _
<ChildElementInfoAttribute(GetType(NoBreakHyphen))> _
<ChildElementInfoAttribute(GetType(SoftHyphen))> _
<ChildElementInfoAttribute(GetType(DayShort))> _
<ChildElementInfoAttribute(GetType(MonthShort))> _
<ChildElementInfoAttribute(GetType(YearShort))> _
<ChildElementInfoAttribute(GetType(DayLong))> _
<ChildElementInfoAttribute(GetType(MonthLong))> _
<ChildElementInfoAttribute(GetType(YearLong))> _
<ChildElementInfoAttribute(GetType(AnnotationReferenceMark))> _
<ChildElementInfoAttribute(GetType(FootnoteReferenceMark))> _
<ChildElementInfoAttribute(GetType(EndnoteReferenceMark))> _
<ChildElementInfoAttribute(GetType(SeparatorMark))> _
<ChildElementInfoAttribute(GetType(ContinuationSeparatorMark))> _
<ChildElementInfoAttribute(GetType(SymbolChar))> _
<ChildElementInfoAttribute(GetType(PageNumber))> _
<ChildElementInfoAttribute(GetType(TabChar))> _
<ChildElementInfoAttribute(GetType(EmbeddedObject))> _
<ChildElementInfoAttribute(GetType(FieldChar))> _
<ChildElementInfoAttribute(GetType(Ruby))> _
<ChildElementInfoAttribute(GetType(FootnoteReference))> _
<ChildElementInfoAttribute(GetType(EndnoteReference))> _
<ChildElementInfoAttribute(GetType(CommentReference))> _
<ChildElementInfoAttribute(GetType(Drawing))> _
<ChildElementInfoAttribute(GetType(PositionalTab))> _
<ChildElementInfoAttribute(GetType(LastRenderedPageBreak))> _
<ChildElementInfoAttribute(GetType(Text))> _
Public Class Run _
Inherits OpenXmlCompositeElement
'Применение
Dim instance As Run
[ChildElementInfoAttribute(typeof(CarriageReturn))]
[ChildElementInfoAttribute(typeof(Picture))]
[ChildElementInfoAttribute(typeof(RunProperties))]
[ChildElementInfoAttribute(typeof(RunProperties))]
[ChildElementInfoAttribute(typeof(Break))]
[ChildElementInfoAttribute(typeof(Text))]
[ChildElementInfoAttribute(typeof(DeletedText))]
[ChildElementInfoAttribute(typeof(FieldCode))]
[ChildElementInfoAttribute(typeof(DeletedFieldCode))]
[ChildElementInfoAttribute(typeof(NoBreakHyphen))]
[ChildElementInfoAttribute(typeof(SoftHyphen))]
[ChildElementInfoAttribute(typeof(DayShort))]
[ChildElementInfoAttribute(typeof(MonthShort))]
[ChildElementInfoAttribute(typeof(YearShort))]
[ChildElementInfoAttribute(typeof(DayLong))]
[ChildElementInfoAttribute(typeof(MonthLong))]
[ChildElementInfoAttribute(typeof(YearLong))]
[ChildElementInfoAttribute(typeof(AnnotationReferenceMark))]
[ChildElementInfoAttribute(typeof(FootnoteReferenceMark))]
[ChildElementInfoAttribute(typeof(EndnoteReferenceMark))]
[ChildElementInfoAttribute(typeof(SeparatorMark))]
[ChildElementInfoAttribute(typeof(ContinuationSeparatorMark))]
[ChildElementInfoAttribute(typeof(SymbolChar))]
[ChildElementInfoAttribute(typeof(PageNumber))]
[ChildElementInfoAttribute(typeof(TabChar))]
[ChildElementInfoAttribute(typeof(EmbeddedObject))]
[ChildElementInfoAttribute(typeof(FieldChar))]
[ChildElementInfoAttribute(typeof(Ruby))]
[ChildElementInfoAttribute(typeof(FootnoteReference))]
[ChildElementInfoAttribute(typeof(EndnoteReference))]
[ChildElementInfoAttribute(typeof(CommentReference))]
[ChildElementInfoAttribute(typeof(Drawing))]
[ChildElementInfoAttribute(typeof(PositionalTab))]
[ChildElementInfoAttribute(typeof(LastRenderedPageBreak))]
[ChildElementInfoAttribute(typeof(Text))]
public class Run : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
RunProperties <m:rPr>
DocumentFormat.OpenXml.Wordprocessing.RunProperties <w:rPr>
DocumentFormat.OpenXml.Wordprocessing.Break <w:br>
DocumentFormat.OpenXml.Wordprocessing.Text <w:t>
DocumentFormat.OpenXml.Wordprocessing.DeletedText <w:delText>
DocumentFormat.OpenXml.Wordprocessing.FieldCode <w:instrText>
DocumentFormat.OpenXml.Wordprocessing.DeletedFieldCode <w:delInstrText>
DocumentFormat.OpenXml.Wordprocessing.NoBreakHyphen <w:noBreakHyphen>
DocumentFormat.OpenXml.Wordprocessing.SoftHyphen <w:softHyphen>
DocumentFormat.OpenXml.Wordprocessing.DayShort <w:dayShort>
DocumentFormat.OpenXml.Wordprocessing.MonthShort <w:monthShort>
DocumentFormat.OpenXml.Wordprocessing.YearShort <w:yearShort>
DocumentFormat.OpenXml.Wordprocessing.DayLong <w:dayLong>
DocumentFormat.OpenXml.Wordprocessing.MonthLong <w:monthLong>
DocumentFormat.OpenXml.Wordprocessing.YearLong <w:yearLong>
DocumentFormat.OpenXml.Wordprocessing.AnnotationReferenceMark <w:annotationRef>
DocumentFormat.OpenXml.Wordprocessing.FootnoteReferenceMark <w:footnoteRef>
DocumentFormat.OpenXml.Wordprocessing.EndnoteReferenceMark <w:endnoteRef>
DocumentFormat.OpenXml.Wordprocessing.SeparatorMark <w:separator>
DocumentFormat.OpenXml.Wordprocessing.ContinuationSeparatorMark <w:continuationSeparator>
DocumentFormat.OpenXml.Wordprocessing.SymbolChar <w:sym>
DocumentFormat.OpenXml.Wordprocessing.PageNumber <w:pgNum>
DocumentFormat.OpenXml.Wordprocessing.CarriageReturn <w:cr>
DocumentFormat.OpenXml.Wordprocessing.TabChar <w:tab>
DocumentFormat.OpenXml.Wordprocessing.EmbeddedObject <w:object>
DocumentFormat.OpenXml.Wordprocessing.Picture <w:pict>
DocumentFormat.OpenXml.Wordprocessing.FieldChar <w:fldChar>
DocumentFormat.OpenXml.Wordprocessing.Ruby <w:ruby>
DocumentFormat.OpenXml.Wordprocessing.FootnoteReference <w:footnoteReference>
DocumentFormat.OpenXml.Wordprocessing.EndnoteReference <w:endnoteReference>
DocumentFormat.OpenXml.Wordprocessing.CommentReference <w:commentReference>
DocumentFormat.OpenXml.Wordprocessing.Drawing <w:drawing>
DocumentFormat.OpenXml.Wordprocessing.PositionalTab <w:ptab>
DocumentFormat.OpenXml.Wordprocessing.LastRenderedPageBreak <w:lastRenderedPageBreak>
Text <m:t>
[ISO/IEC 29500-1 редакция 1]
22.1.2.87 r (Run)
This element specifies a run of mathematical text.
[Example:
is represented by the following XML:
<m:oMath>
<m:e>
<m:r>
<m:t>j+k</m:t>
</m:r>
</m:e>
</m:oMath>
end example]
Parent Elements |
---|
deg (§22.1.2.26); del (§17.13.5.14); den (§22.1.2.28); e (§22.1.2.32); fName (§22.1.2.37); 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); sub (§22.1.2.112); sup (§22.1.2.114) |
Child Elements |
Subclause |
---|---|
annotationRef (Comment Information Block) |
§17.13.4.1 |
br (Break) |
§17.3.3.1 |
commentReference (Comment Content Reference Mark) |
§17.13.4.5 |
contentPart (Content Part) |
§17.3.3.2 |
continuationSeparator (Continuation Separator Mark) |
§17.11.1 |
cr (Carriage Return) |
§17.3.3.4 |
dayLong (Date Block - Long Day Format) |
§17.3.3.5 |
dayShort (Date Block - Short Day Format) |
§17.3.3.6 |
delInstrText (Deleted Field Code) |
§17.16.13 |
delText (Deleted Text) |
§17.3.3.7 |
drawing (DrawingML Object) |
§17.3.3.9 |
endnoteRef (Endnote Reference Mark) |
§17.11.6 |
endnoteReference (Endnote Reference) |
§17.11.7 |
fldChar (Complex Field Character) |
§17.16.18 |
footnoteRef (Footnote Reference Mark) |
§17.11.13 |
footnoteReference (Footnote Reference) |
§17.11.14 |
instrText (Field Code) |
§17.16.23 |
lastRenderedPageBreak (Position of Last Calculated Page Break) |
§17.3.3.13 |
monthLong (Date Block - Long Month Format) |
§17.3.3.15 |
monthShort (Date Block - Short Month Format) |
§17.3.3.16 |
noBreakHyphen (Non Breaking Hyphen Character) |
§17.3.3.18 |
object (Embedded Object) |
§17.3.3.19 |
pgNum (Page Number Block) |
§17.3.3.22 |
ptab (Absolute Position Tab Character) |
§17.3.3.23 |
rPr (Run Properties) |
§22.1.2.91 |
rPr (Run Properties) |
§17.3.2.28 |
ruby (Phonetic Guide) |
§17.3.3.25 |
separator (Footnote/Endnote Separator Mark) |
§17.11.23 |
softHyphen (Optional Hyphen Character) |
§17.3.3.29 |
sym (Symbol Character) |
§17.3.3.30 |
t (Text) |
§22.1.2.116 |
t (Text) |
§17.3.3.31 |
tab (Tab Character) |
§17.3.3.32 |
yearLong (Date Block - Long Year Format) |
§17.3.3.33 |
yearShort (Date Block - Short Year Format) |
§17.3.3.34 |
[Note: The W3C XML Schema definition of this element's content model (CT_R) is located in §A.6.1. end note]
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
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.