<r> (Text Run)

This element specifies a run of content in the parent field, hyperlink, custom XML element, structured document tag, smart tag, or paragraph.

The contents of a run in a WordprocessingML document shall consist of any combination of run content.

example:
<w:document>
  <w:body>
    <w:p>
      <w:r>
        <w:t>Text</w:t>
      </w:r>
      <w:fldSimple w:instr="AUTHOR">
        <w:r>
          <w:t>Author Name</w:t>
        </w:r>
      </w:fldSimple>
    </w:p>
  </w:body>
</w:document>

The <r> element is the container for all of the content in the run, which in this example includes both a run in the paragraph and a run within a simple field. ]

Parent Elements

<customXml>2.5.1.5); <del>2.13.5.12); <fldSimple>2.16.21); <hyperlink>2.16.24); <ins>2.13.5.20); <moveFrom>2.13.5.21); <moveTo>2.13.5.26); <p>2.3.1.22); <rt>2.3.3.23); <rubyBase>2.3.3.26); <sdtContent>2.5.2.35); <smartTag>2.5.1.9)

Child Elements

Subclause

<annotationRef> (Comment Information Block)

§2.13.4.1

<br> (Break)

§2.3.3.1

<commentReference> (Comment Content Reference Mark)

§2.13.4.5

<continuationSeparator> (Continuation Separator Mark)

§2.11.1

<cr> (Carriage Return)

§2.3.3.4

<dayLong> (Date Block - Long Day Format)

§2.3.3.5

<dayShort> (Date Block - Short Day Format)

§2.3.3.6

<delInstrText> (Deleted Field Code)

§2.16.13

<delText> (Deleted Text)

§2.3.3.7

<drawing> (DrawingML Object)

§2.3.3.9

<endnoteRef> (Endnote Reference Mark)

§2.11.6

<endnoteReference> (Endnote Reference)

§2.11.7

<fldChar> (Complex Field Character)

§2.16.18

<footnoteRef> (Footnote Reference Mark)

§2.11.13

<footnoteReference> (Footnote Reference)

§2.11.14

<instrText> (Field Code)

§2.16.25

<lastRenderedPageBreak> (Position of Last Calculated Page Break)

§2.3.3.13

<monthLong> (Date Block - Long Month Format)

§2.3.3.15

<monthShort> (Date Block - Short Month Format)

§2.3.3.16

<noBreakHyphen> (Non Breaking Hyphen Character)

§2.3.3.18

<object> (Inline Embedded Object)

§2.3.3.19

<pgNum> (Page Number Block)

§2.3.3.20

<pict> (VML Object)

§2.3.3.21

<ptab> (Absolute Position Tab Character)

§2.3.3.22

<rPr> (Run Properties)

§2.3.2.25

<ruby> (Phonetic Guide)

§2.3.3.24

<separator> (Footnote/Endnote Separator Mark)

§2.11.23

<softHyphen> (Optional Hyphen Character)

§2.3.3.28

<sym> (Symbol Character)

§2.3.3.29

<t> (Text)

§2.3.3.30

<tab> (Tab Character)

§2.3.3.31

<yearLong> (Date Block - Long Year Format)

§2.3.3.32

<yearShort> (Date Block - Short Year Format)

§2.3.3.33

Attributes

Description

<rsidDel> (Revision Identifier for Run Deletion)

Specifies a unique identifier used to track the editing session when the run was deleted from the main document.

All @rsid* attributes throughout this document with the same value, if present, must indicate that those regions were modified during the same editing session (time between subsequent save actions).

A producer may choose to increment the revision save ID value to indicate subsequent editing sessions to indicate the order of the modifications relative to other modifications in this document.

The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57).

<rsidR> (Revision Identifier for Run)

Specifies a unique identifier used to track the editing session when the run was added to the main document.

All @rsid* attributes throughout this document with the same value, if present, must indicate that those regions were modified during the same editing session (time between subsequent save actions).

A producer may choose to increment the revision save ID value to indicate subsequent editing sessions to indicate the order of the modifications relative to other modifications in this document.

The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57).

<rsidRPr> (Revision Identifier for Run Properties)

Specifies a unique identifier used to track the editing session when the run properties were last modified in the main document.

All @rsid* attributes throughout this document with the same value, if present, must indicate that those regions were modified during the same editing session (time between subsequent save actions).

A producer may choose to increment the revision save ID value to indicate subsequent editing sessions to indicate the order of the modifications relative to other modifications in this document.

The possible values for this attribute are defined by the ST_LongHexNumber simple type (§2.18.57).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_R">
	<sequence>
	<group ref="EG_RPr" minOccurs="0"/>
	<group ref="EG_RunInnerContent" minOccurs="0" maxOccurs="unbounded"/>
	</sequence>
	<attribute name="rsidRPr" type="ST_LongHexNumber"/>
	<attribute name="rsidDel" type="ST_LongHexNumber"/>
	<attribute name="rsidR" type="ST_LongHexNumber"/>
</complexType>