w:r
Text Run
Element information
Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main
Schema document: wml.xsd
Other elements with the same name: w:r
Type: w:CT_R
Properties: Local, Qualified
Content
- Sequence [1..1]
- Choice [0..*]
- w:br Break
- w:t Text
- w:delText Deleted Text
- w:instrText Field Code
- w:delInstrText Deleted Field Code
- w:noBreakHyphen Non Breaking Hyphen Character
- w:softHyphen [0..1] Optional Hyphen Character
- w:dayShort [0..1] Date Block - Short Day Format
- w:monthShort [0..1] Date Block - Short Month Format
- w:yearShort [0..1] Date Block - Short Year Format
- w:dayLong [0..1] Date Block - Long Day Format
- w:monthLong [0..1] Date Block - Long Month Format
- w:yearLong [0..1] Date Block - Long Year Format
- w:annotationRef [0..1] Comment Information Block
- w:footnoteRef [0..1] Footnote Reference Mark
- w:endnoteRef [0..1] Endnote Reference Mark
- w:separator [0..1] Footnote/Endnote Separator Mark
- w:continuationSeparator [0..1] Continuation Separator Mark
- w:sym [0..1] Symbol Character
- w:pgNum [0..1] Page Number Block
- w:cr [0..1] Carriage Return
- w:tab [0..1] Tab Character
- w:object Inline Embedded Object
- w:pict VML Object
- w:fldChar Complex Field Character
- w:ruby Phonetic Guide
- w:footnoteReference Footnote Reference
- w:endnoteReference Endnote Reference
- w:commentReference Comment Content Reference Mark
- w:drawing DrawingML Object
- w:ptab [0..1] Absolute Position Tab Character
- w:lastRenderedPageBreak [0..1] Position of Last Calculated Page Break
from group w:EG_RunInnerContent - Choice [0..*]
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
w:rsidRPr | [0..1] | w:ST_LongHexNumber | Revision Identifier for Run Properties | |
w:rsidDel | [0..1] | w:ST_LongHexNumber | Revision Identifier for Run Deletion | |
w:rsidR | [0..1] | w:ST_LongHexNumber | Revision Identifier for Run |
Used in
- Group w:EG_ContentRunContent
- Group w:EG_PContent via reference to w:EG_ContentRunContent
- Type w:CT_CustomXmlRun via reference to w:EG_PContent (Element w:customXml)
- Type w:CT_Hyperlink via reference to w:EG_PContent (Element w:hyperlink)
- Type w:CT_P via reference to w:EG_PContent (Element w:p)
- Type w:CT_SdtContentRun via reference to w:EG_PContent (Element w:sdtContent)
- Type w:CT_SimpleField via reference to w:EG_PContent (Element w:fldSimple)
- Type w:CT_SmartTagRun via reference to w:EG_PContent (Element w:smartTag)
- Type w:CT_RunTrackChange via reference to w:EG_ContentRunContent (Elements w:ins, w:del, w:moveFrom, w:moveTo)
Sample instance
<w:r> <w:rPr> <w:rStyle w:val="string"/> <w:rFonts/> <w:b/> <w:bCs/> <w:i/> <w:iCs/> <w:caps/> <w:smallCaps/> <w:strike/> <w:dstrike/> <w:outline/> <w:shadow/> <w:emboss/> <w:imprint/> <w:noProof/> <w:snapToGrid/> <w:vanish/> <w:webHidden/> <w:color w:val=""/> <w:spacing w:val="1"/> <w:w/> <w:kern w:val="1"/> <w:position w:val="1"/> <w:sz w:val="1"/> <w:szCs w:val="1"/> <w:highlight w:val="black"/> <w:u/> <w:effect w:val="blinkBackground"/> <w:bdr w:val="nil"/> <w:shd w:val="nil"/> <w:fitText w:val="1"/> <w:vertAlign w:val="baseline"/> <w:rtl/> <w:cs/> <w:em w:val="none"/> <w:lang/> <w:eastAsianLayout/> <w:specVanish/> <w:oMath/> <w:rPrChange w:id="1" w:author="string"> <w:rPr>... </w:rPr> </w:rPrChange> </w:rPr> <w:br/> </w:r>