RunProperties RunProperties RunProperties Class

Definition

Run Properties. When the object is serialized out as xml, its qualified name is w:rPr.

[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.RunStyle))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.RunFonts))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Bold))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.BoldComplexScript))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Italic))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ItalicComplexScript))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Caps))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SmallCaps))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Strike))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.DoubleStrike))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Outline))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Shadow))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Emboss))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Imprint))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.NoProof))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SnapToGrid))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Vanish))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.WebHidden))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Color))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Spacing))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.CharacterScale))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Kern))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Position))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.FontSize))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.FontSizeComplexScript))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Highlight))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Underline))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.TextEffect))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Border))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Shading))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.FitText))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.VerticalTextAlignment))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.RightToLeftText))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.ComplexScript))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Emphasis))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.Languages))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.EastAsianLayout))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.SpecVanish))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.Glow), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.Shadow), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.Reflection), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.TextOutlineEffect), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.FillTextEffect), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.Scene3D), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.Properties3D), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.Ligatures), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.NumberingFormat), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.NumberSpacing), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.StylisticSets), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Office2010.Word.ContextualAlternatives), DocumentFormat.OpenXml.FileFormatVersions.Office2010 | DocumentFormat.OpenXml.FileFormatVersions.Office2013)]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Wordprocessing.RunPropertiesChange))]
public class RunProperties : DocumentFormat.OpenXml.OpenXmlCompositeElement
type RunProperties = class
    inherit OpenXmlCompositeElement
Public Class RunProperties
Inherits OpenXmlCompositeElement
Inheritance
Attributes

Remarks

[ISO/IEC 29500-1 1st Edition]

rPr (Run Properties)

This element specifies a set of run properties which shall be applied to the contents of the parent run after all style formatting has been applied to the text. These properties are defined as direct formatting, since they are directly applied to the run and supersede any formatting from styles.

This formatting is applied at the following location in the style hierarchy:

  • Document defaults

  • Table styles

  • Numbering styles

  • Paragraph styles

  • Character styles

  • Direct formatting (this element)

[Example: Consider a run which should have a set of run formatting properties. This set of properties is specified in the run properties as follows:

<w:r>  
  <w:rPr>  
    <w:b />  
    <w:imprint />  
    <w:lang w:val="en-ca" />   
  </w:rPr>  
</w:r>  

The rPr element specifies the properties which are applied to the current run - in this case, bold formatting on the run contents using the b element (§17.3.2.1), an imprinted (engraved) text effect using the imprint element (§17.3.2.18), and that this text should be interpreted as English (Canada) when spell or grammar checking the run text using the lang element (§17.3.2.20). end example]

Parent Elements
ctrlPr (§22.1.2.23); r (§22.1.2.87); r (§17.3.2.25)
Child Elements Subclause
b (Bold) §17.3.2.1
bCs (Complex Script Bold) §17.3.2.2
bdr (Text Border) §17.3.2.4
caps (Display All Characters As Capital Letters) §17.3.2.5
color (Run Content Color) §17.3.2.6
cs (Use Complex Script Formatting on Run) §17.3.2.7
dstrike (Double Strikethrough) §17.3.2.9
eastAsianLayout (East Asian Typography Settings) §17.3.2.10
effect (Animated Text Effect) §17.3.2.11
em (Emphasis Mark) §17.3.2.12
emboss (Embossing) §17.3.2.13
fitText (Manual Run Width) §17.3.2.14
highlight (Text Highlighting) §17.3.2.15
i (Italics) §17.3.2.16
iCs (Complex Script Italics) §17.3.2.17
imprint (Imprinting) §17.3.2.18
kern (Font Kerning) §17.3.2.19
lang (Languages for Run Content) §17.3.2.20
noProof (Do Not Check Spelling or Grammar) §17.3.2.21
oMath (Office Open XML Math) §17.3.2.22
outline (Display Character Outline) §17.3.2.23
position (Vertically Raised or Lowered Text) §17.3.2.24
rFonts (Run Fonts) §17.3.2.26
rPrChange (Revision Information for Run Properties) §17.13.5.31
rStyle (Referenced Character Style) §17.3.2.29
rtl (Right To Left Text) §17.3.2.30
shadow (Shadow) §17.3.2.31
shd (Run Shading) §17.3.2.32
smallCaps (Small Caps) §17.3.2.33
snapToGrid (Use Document Grid Settings For Inter-Character Spacing) §17.3.2.34
spacing (Character Spacing Adjustment) §17.3.2.35
specVanish (Paragraph Mark Is Always Hidden) §17.3.2.36
strike (Single Strikethrough) §17.3.2.37
sz (Non-Complex Script Font Size) §17.3.2.38
szCs (Complex Script Font Size) §17.3.2.39
u (Underline) §17.3.2.40
vanish (Hidden Text) §17.3.2.41
vertAlign (Subscript/Superscript Text) §17.3.2.42
w (Expanded/Compressed Text) §17.3.2.43
webHidden (Web Hidden Text) §17.3.2.44

[Note: The W3C XML Schema definition of this element’s content model (CT_RPr) is located in §A.1. end note]

[ISO/IEC 29500-1 1st Edition]

rPr (Run Properties For Structured Document Tag Contents)

This element specifies the set of run properties which shall be applied to the text entered into the parent structured document tag in replacement of placeholder text. When placeholder text is present in a structured document tag, its formatting is often different than the desired underlying formatting, and this element specifies the formatting which shall be used for non-placeholder text contents when they are initially added to the control.

If this element is not present, the inserted is unformatted, as with any other run of text - it shall not inherit the properties of the placeholder text.

[Example: Consider the following structured document tag:

<w:sdt>  
  <w:sdtPr>  
    <w:placeholder>  
      <w:docPart w:val="TestPlaceholderDocPart"/>  
    </w:placeholder>  
    <w:showingPlcHdr/>  
    <w:rPr>  
      <w:rStyle w:val="UserName"/>  
    </w:rPr>  
    …  </w:sdtPr>  
  <w:sdtContent>  
    <w:r>  
      <w:rPr>  
        <w:rStyle w:val="PlaceholderText"/>  
      </w:rPr>  
      <w:t>[Type Your Name Here]</w:t>  
    </w:r>  
  </w:sdtContent>  
</w:sdt>  

This structured document tag specifies that its current contents are placeholder text via the showingPlcHdr element (§17.5.2.39), and that text has the PlaceholderText character style applied to it.

Now, assume that that style created grey shaded text (typical for placeholder text). This formatting would clearly not be desirable for any text entered into the structured document tag. Therefore, when this text is added, the rPr element in the sdtPr is used to store the formatting on the resulting text.

In this example, the text which initially populates the control shall be formatted with the UserName character style. end example]

Parent Elements
sdtPr (§17.5.2.38)
Child Elements Subclause
b (Bold) §17.3.2.1
bCs (Complex Script Bold) §17.3.2.2
bdr (Text Border) §17.3.2.4
caps (Display All Characters As Capital Letters) §17.3.2.5
color (Run Content Color) §17.3.2.6
cs (Use Complex Script Formatting on Run) §17.3.2.7
dstrike (Double Strikethrough) §17.3.2.9
eastAsianLayout (East Asian Typography Settings) §17.3.2.10
effect (Animated Text Effect) §17.3.2.11
em (Emphasis Mark) §17.3.2.12
emboss (Embossing) §17.3.2.13
fitText (Manual Run Width) §17.3.2.14
highlight (Text Highlighting) §17.3.2.15
i (Italics) §17.3.2.16
iCs (Complex Script Italics) §17.3.2.17
imprint (Imprinting) §17.3.2.18
kern (Font Kerning) §17.3.2.19
lang (Languages for Run Content) §17.3.2.20
noProof (Do Not Check Spelling or Grammar) §17.3.2.21
oMath (Office Open XML Math) §17.3.2.22
outline (Display Character Outline) §17.3.2.23
position (Vertically Raised or Lowered Text) §17.3.2.24
rFonts (Run Fonts) §17.3.2.26
rPrChange (Revision Information for Run Properties) §17.13.5.31
rStyle (Referenced Character Style) §17.3.2.29
rtl (Right To Left Text) §17.3.2.30
shadow (Shadow) §17.3.2.31
shd (Run Shading) §17.3.2.32
smallCaps (Small Caps) §17.3.2.33
snapToGrid (Use Document Grid Settings For Inter-Character Spacing) §17.3.2.34
spacing (Character Spacing Adjustment) §17.3.2.35
specVanish (Paragraph Mark Is Always Hidden) §17.3.2.36
strike (Single Strikethrough) §17.3.2.37
sz (Non-Complex Script Font Size) §17.3.2.38
szCs (Complex Script Font Size) §17.3.2.39
u (Underline) §17.3.2.40
vanish (Hidden Text) §17.3.2.41
vertAlign (Subscript/Superscript Text) §17.3.2.42
w (Expanded/Compressed Text) §17.3.2.43
webHidden (Web Hidden Text) §17.3.2.44

[Note: The W3C XML Schema definition of this element’s content model (CT_RPr) is located in §A.1. end note]

[ISO/IEC 29500-1 1st Edition]

rPr (Structured Document Tag End Character Run Properties)

This element specifies the set of run properties which shall be applied to the character present to delimit the end of the structured document tag's contents. When these properties are applied, they shall be applied in addition to the run properties specified for the entire structured document tag via the rPr element (§17.5.2.27) stored in the tag's main property container.

If this element is not present, the inserted closing tag shall be formatting identically to the start tag.

[Example: Consider the following structured document tag:

<w:sdt>  
  <w:sdtPr>  
    <w:placeholder>  
      <w:docPart w:val="TestPlaceholderDocPart"/>  
    </w:placeholder>  
    <w:showingPlcHdr/>  
    <w:rPr>  
      <w:rStyle w:val="UserName"/>  
    </w:rPr>  
    …  </w:sdtPr>  
  <w:sdtEndPr>  
    <w:rPr>  
      <w:b/>  
      <w:i/>  
    </w:rPr>  
  </w:sdtEndPr>  
  <w:sdtContent>  
    …  </w:sdtContent>  
</w:sdt>  

The rPr elements under the tag's properties specify that this structured document tag specifies that its start character must have formatting in the character style UserName, and that the end character must have the formatting in the character style UserName as well as bold and italic direct formatting. end example]

Parent Elements
sdtEndPr (§17.5.2.37)
Child Elements Subclause
b (Bold) §17.3.2.1
bCs (Complex Script Bold) §17.3.2.2
bdr (Text Border) §17.3.2.4
caps (Display All Characters As Capital Letters) §17.3.2.5
color (Run Content Color) §17.3.2.6
cs (Use Complex Script Formatting on Run) §17.3.2.7
dstrike (Double Strikethrough) §17.3.2.9
eastAsianLayout (East Asian Typography Settings) §17.3.2.10
effect (Animated Text Effect) §17.3.2.11
em (Emphasis Mark) §17.3.2.12
emboss (Embossing) §17.3.2.13
fitText (Manual Run Width) §17.3.2.14
highlight (Text Highlighting) §17.3.2.15
i (Italics) §17.3.2.16
iCs (Complex Script Italics) §17.3.2.17
imprint (Imprinting) §17.3.2.18
kern (Font Kerning) §17.3.2.19
lang (Languages for Run Content) §17.3.2.20
noProof (Do Not Check Spelling or Grammar) §17.3.2.21
oMath (Office Open XML Math) §17.3.2.22
outline (Display Character Outline) §17.3.2.23
position (Vertically Raised or Lowered Text) §17.3.2.24
rFonts (Run Fonts) §17.3.2.26
rPrChange (Revision Information for Run Properties) §17.13.5.31
rStyle (Referenced Character Style) §17.3.2.29
rtl (Right To Left Text) §17.3.2.30
shadow (Shadow) §17.3.2.31
shd (Run Shading) §17.3.2.32
smallCaps (Small Caps) §17.3.2.33
snapToGrid (Use Document Grid Settings For Inter-Character Spacing) §17.3.2.34
spacing (Character Spacing Adjustment) §17.3.2.35
specVanish (Paragraph Mark Is Always Hidden) §17.3.2.36
strike (Single Strikethrough) §17.3.2.37
sz (Non-Complex Script Font Size) §17.3.2.38
szCs (Complex Script Font Size) §17.3.2.39
u (Underline) §17.3.2.40
vanish (Hidden Text) §17.3.2.41
vertAlign (Subscript/Superscript Text) §17.3.2.42
w (Expanded/Compressed Text) §17.3.2.43
webHidden (Web Hidden Text) §17.3.2.44

[Note: The W3C XML Schema definition of this element’s content model (CT_RPr) is located in §A.1. end note]

[ISO/IEC 29500-1 1st Edition]

rPr (Run Properties)

This element specifies the set of run properties which comprise the default run properties for the current WordprocessingML document. [Rationale: The reason that an rPr element is present within the rPrDefault element is to allow for easy repurposing of any set of run properties within a WordprocessingML document - since the run properties are always child elements of a single rPr element, that element can simply be relocated in its entirety to the desired new location without additional modifications. end rationale]

If this element is omitted, then the default run properties for the current document are non-existent (i.e. there are no default run properties, and the defaults are therefore application-defined).

[Example: Consider the following definition for the document defaults for a WordprocessingML document:

<w:docDefaults>  
  …  <w:rPrDefault>  
    <w:rPr>  
      <w:b/>  
    </w:rPr>  
  </w:rPrDefault>  
</w:docDefaults>  

The rPr element as a child of the rPrDefault element contains the set of default run properties for this document - in this case, bold text. end example]

Parent Elements
rPrDefault (§17.7.5.5)
Child Elements Subclause
b (Bold) §17.3.2.1
bCs (Complex Script Bold) §17.3.2.2
bdr (Text Border) §17.3.2.4
caps (Display All Characters As Capital Letters) §17.3.2.5
color (Run Content Color) §17.3.2.6
cs (Use Complex Script Formatting on Run) §17.3.2.7
dstrike (Double Strikethrough) §17.3.2.9
eastAsianLayout (East Asian Typography Settings) §17.3.2.10
effect (Animated Text Effect) §17.3.2.11
em (Emphasis Mark) §17.3.2.12
emboss (Embossing) §17.3.2.13
fitText (Manual Run Width) §17.3.2.14
highlight (Text Highlighting) §17.3.2.15
i (Italics) §17.3.2.16
iCs (Complex Script Italics) §17.3.2.17
imprint (Imprinting) §17.3.2.18
kern (Font Kerning) §17.3.2.19
lang (Languages for Run Content) §17.3.2.20
noProof (Do Not Check Spelling or Grammar) §17.3.2.21
oMath (Office Open XML Math) §17.3.2.22
outline (Display Character Outline) §17.3.2.23
position (Vertically Raised or Lowered Text) §17.3.2.24
rFonts (Run Fonts) §17.3.2.26
rPrChange (Revision Information for Run Properties) §17.13.5.31
rStyle (Referenced Character Style) §17.3.2.29
rtl (Right To Left Text) §17.3.2.30
shadow (Shadow) §17.3.2.31
shd (Run Shading) §17.3.2.32
smallCaps (Small Caps) §17.3.2.33
snapToGrid (Use Document Grid Settings For Inter-Character Spacing) §17.3.2.34
spacing (Character Spacing Adjustment) §17.3.2.35
specVanish (Paragraph Mark Is Always Hidden) §17.3.2.36
strike (Single Strikethrough) §17.3.2.37
sz (Non-Complex Script Font Size) §17.3.2.38
szCs (Complex Script Font Size) §17.3.2.39
u (Underline) §17.3.2.40
vanish (Hidden Text) §17.3.2.41
vertAlign (Subscript/Superscript Text) §17.3.2.42
w (Expanded/Compressed Text) §17.3.2.43
webHidden (Web Hidden Text) §17.3.2.44

[Note: The W3C XML Schema definition of this element’s content model (CT_RPr) is located in §A.1. end note]

[ISO/IEC 29500-1 1st Edition]

rPr (Table Style Conditional Formatting Run Properties)

This element specifies the set of run properties which shall be applied to all runs within a table which match the conditional formatting type specified on the parent tblStylePr element. These properties are applied in the order specified via the style hierarchy.

[Example: Consider a table style which contains conditional formatting for its firstRow, defined as follows:

<w:style w:type="table" w:styleId="exampleTableStyle">  
  …  <w:tblStylePr w:type="firstRow">  
    <w:rPr>  
      <w:i/>  
    </w:rPr>  
    …  </w:tblStylePr>  
</w:style>  

The rPr element specified within the tblStylePr element specifies the set of run properties which must be applied to all parts of the table which meet the criteria specified by the type value of firstRow - all of the header rows of the table. In this example, the single run property applied is italics via the i element (§17.3.2.16). end example]

Parent Elements
tblStylePr (§17.7.6.6)
Child Elements Subclause
b (Bold) §17.3.2.1
bCs (Complex Script Bold) §17.3.2.2
bdr (Text Border) §17.3.2.4
caps (Display All Characters As Capital Letters) §17.3.2.5
color (Run Content Color) §17.3.2.6
cs (Use Complex Script Formatting on Run) §17.3.2.7
dstrike (Double Strikethrough) §17.3.2.9
eastAsianLayout (East Asian Typography Settings) §17.3.2.10
effect (Animated Text Effect) §17.3.2.11
em (Emphasis Mark) §17.3.2.12
emboss (Embossing) §17.3.2.13
fitText (Manual Run Width) §17.3.2.14
highlight (Text Highlighting) §17.3.2.15
i (Italics) §17.3.2.16
iCs (Complex Script Italics) §17.3.2.17
imprint (Imprinting) §17.3.2.18
kern (Font Kerning) §17.3.2.19
lang (Languages for Run Content) §17.3.2.20
noProof (Do Not Check Spelling or Grammar) §17.3.2.21
oMath (Office Open XML Math) §17.3.2.22
outline (Display Character Outline) §17.3.2.23
position (Vertically Raised or Lowered Text) §17.3.2.24
rFonts (Run Fonts) §17.3.2.26
rPrChange (Revision Information for Run Properties) §17.13.5.31
rStyle (Referenced Character Style) §17.3.2.29
rtl (Right To Left Text) §17.3.2.30
shadow (Shadow) §17.3.2.31
shd (Run Shading) §17.3.2.32
smallCaps (Small Caps) §17.3.2.33
snapToGrid (Use Document Grid Settings For Inter-Character Spacing) §17.3.2.34
spacing (Character Spacing Adjustment) §17.3.2.35
specVanish (Paragraph Mark Is Always Hidden) §17.3.2.36
strike (Single Strikethrough) §17.3.2.37
sz (Non-Complex Script Font Size) §17.3.2.38
szCs (Complex Script Font Size) §17.3.2.39
u (Underline) §17.3.2.40
vanish (Hidden Text) §17.3.2.41
vertAlign (Subscript/Superscript Text) §17.3.2.42
w (Expanded/Compressed Text) §17.3.2.43
webHidden (Web Hidden Text) §17.3.2.44

[Note: The W3C XML Schema definition of this element’s content model (CT_RPr) is located in §A.1. end note]

[ISO/IEC 29500-1 1st Edition]

rPr (Run Properties)

This element specifies the set of run properties which shall be applied to the run.

[Example: Consider a character style defined as follows:

<w:style w:type="character" w:styleId="TestCharStyle">  
  <w:rPr>  
    <w:dstrike/>  
  </w:rPr>  
</w:style>  

The rPr element specified within the style element specifies the set of run properties which must be applied to the referencing run. In this example, the single run property applied is the fact that the paragraph must be displayed with double strikethrough via the dstrike element (§17.3.2.9). end example]

Parent Elements
style (§17.7.4.17)
Child Elements Subclause
b (Bold) §17.3.2.1
bCs (Complex Script Bold) §17.3.2.2
bdr (Text Border) §17.3.2.4
caps (Display All Characters As Capital Letters) §17.3.2.5
color (Run Content Color) §17.3.2.6
cs (Use Complex Script Formatting on Run) §17.3.2.7
dstrike (Double Strikethrough) §17.3.2.9
eastAsianLayout (East Asian Typography Settings) §17.3.2.10
effect (Animated Text Effect) §17.3.2.11
em (Emphasis Mark) §17.3.2.12
emboss (Embossing) §17.3.2.13
fitText (Manual Run Width) §17.3.2.14
highlight (Text Highlighting) §17.3.2.15
i (Italics) §17.3.2.16
iCs (Complex Script Italics) §17.3.2.17
imprint (Imprinting) §17.3.2.18
kern (Font Kerning) §17.3.2.19
lang (Languages for Run Content) §17.3.2.20
noProof (Do Not Check Spelling or Grammar) §17.3.2.21
oMath (Office Open XML Math) §17.3.2.22
outline (Display Character Outline) §17.3.2.23
position (Vertically Raised or Lowered Text) §17.3.2.24
rFonts (Run Fonts) §17.3.2.26
rPrChange (Revision Information for Run Properties) §17.13.5.31
rStyle (Referenced Character Style) §17.3.2.29
rtl (Right To Left Text) §17.3.2.30
shadow (Shadow) §17.3.2.31
shd (Run Shading) §17.3.2.32
smallCaps (Small Caps) §17.3.2.33
snapToGrid (Use Document Grid Settings For Inter-Character Spacing) §17.3.2.34
spacing (Character Spacing Adjustment) §17.3.2.35
specVanish (Paragraph Mark Is Always Hidden) §17.3.2.36
strike (Single Strikethrough) §17.3.2.37
sz (Non-Complex Script Font Size) §17.3.2.38
szCs (Complex Script Font Size) §17.3.2.39
u (Underline) §17.3.2.40
vanish (Hidden Text) §17.3.2.41
vertAlign (Subscript/Superscript Text) §17.3.2.42
w (Expanded/Compressed Text) §17.3.2.43
webHidden (Web Hidden Text) §17.3.2.44

[Note: The W3C XML Schema definition of this element’s content model (CT_RPr) is located in §A.1. end note]

[ISO/IEC 29500-1 1st Edition]

rPr (Numbering Symbol Run Properties)

This element specifies the run properties which shall be applied to the numbering level's text specified in the lvlText element (§17.9.12) when it is applied to paragraphs in this document.

These run properties are applied to all numbering level text used by a given abstract numbering definition and numbering level. It should be noted that run properties specified on a numbered paragraph itself, or on text runs within a numbered paragraph, are separate from the run properties specified by rPr elements within a numbering level, as the latter affects only the numbering text itself, not the remainder of runs in the numbered paragraph.

[Example: Consider the WordprocessingML below which uses the rPr element to specify that the numbering symbol used within a given numbering level should be bold and of a 16 point font size:

<w:lvl w:ilvl="1">   
  …  
  <w:rPr>  
    <w:b />   
    <w:sz w:val="32" />   
  </w:rPr>  
</w:lvl>  

The resulting paragraph uses its regular paragraph formatting, but the numbering level text itself must be specifically formatted as bold in 16 point font. end example]

Parent Elements
lvl (§17.9.6); lvl (§17.9.7)
Child Elements Subclause
b (Bold) §17.3.2.1
bCs (Complex Script Bold) §17.3.2.2
bdr (Text Border) §17.3.2.4
caps (Display All Characters As Capital Letters) §17.3.2.5
color (Run Content Color) §17.3.2.6
cs (Use Complex Script Formatting on Run) §17.3.2.7
dstrike (Double Strikethrough) §17.3.2.9
eastAsianLayout (East Asian Typography Settings) §17.3.2.10
effect (Animated Text Effect) §17.3.2.11
em (Emphasis Mark) §17.3.2.12
emboss (Embossing) §17.3.2.13
fitText (Manual Run Width) §17.3.2.14
highlight (Text Highlighting) §17.3.2.15
i (Italics) §17.3.2.16
iCs (Complex Script Italics) §17.3.2.17
imprint (Imprinting) §17.3.2.18
kern (Font Kerning) §17.3.2.19
lang (Languages for Run Content) §17.3.2.20
noProof (Do Not Check Spelling or Grammar) §17.3.2.21
oMath (Office Open XML Math) §17.3.2.22
outline (Display Character Outline) §17.3.2.23
position (Vertically Raised or Lowered Text) §17.3.2.24
rFonts (Run Fonts) §17.3.2.26
rPrChange (Revision Information for Run Properties) §17.13.5.31
rStyle (Referenced Character Style) §17.3.2.29
rtl (Right To Left Text) §17.3.2.30
shadow (Shadow) §17.3.2.31
shd (Run Shading) §17.3.2.32
smallCaps (Small Caps) §17.3.2.33
snapToGrid (Use Document Grid Settings For Inter-Character Spacing) §17.3.2.34
spacing (Character Spacing Adjustment) §17.3.2.35
specVanish (Paragraph Mark Is Always Hidden) §17.3.2.36
strike (Single Strikethrough) §17.3.2.37
sz (Non-Complex Script Font Size) §17.3.2.38
szCs (Complex Script Font Size) §17.3.2.39
u (Underline) §17.3.2.40
vanish (Hidden Text) §17.3.2.41
vertAlign (Subscript/Superscript Text) §17.3.2.42
w (Expanded/Compressed Text) §17.3.2.43
webHidden (Web Hidden Text) §17.3.2.44

[Note: The W3C XML Schema definition of this element’s content model (CT_RPr) is located in §A.1. end note]

� ISO/IEC29500: 2008.

Constructors

RunProperties() RunProperties() RunProperties()

Initializes a new instance of the RunProperties class.

RunProperties(IEnumerable<OpenXmlElement>) RunProperties(IEnumerable<OpenXmlElement>) RunProperties(IEnumerable<OpenXmlElement>)

Initializes a new instance of the RunProperties class with the specified child elements.

RunProperties(OpenXmlElement[]) RunProperties(OpenXmlElement[]) RunProperties(OpenXmlElement[])

Initializes a new instance of the RunProperties class with the specified child elements.

RunProperties(String) RunProperties(String) RunProperties(String)

Initializes a new instance of the RunProperties class from outer XML.

Properties

Bold Bold Bold

Bold. Represents the following element tag in the schema: w:b

BoldComplexScript BoldComplexScript BoldComplexScript

BoldComplexScript. Represents the following element tag in the schema: w:bCs

Border Border Border

Border. Represents the following element tag in the schema: w:bdr

Caps Caps Caps

Caps. Represents the following element tag in the schema: w:caps

CharacterScale CharacterScale CharacterScale

CharacterScale. Represents the following element tag in the schema: w:w

ChildElements ChildElements ChildElements

Gets all the child nodes of the current element.

(Inherited from OpenXmlElement)
Color Color Color

Color. Represents the following element tag in the schema: w:color

ComplexScript ComplexScript ComplexScript

ComplexScript. Represents the following element tag in the schema: w:cs

ContextualAlternatives ContextualAlternatives ContextualAlternatives

ContextualAlternatives. Represents the following element tag in the schema: w14:cntxtAlts

DoubleStrike DoubleStrike DoubleStrike

DoubleStrike. Represents the following element tag in the schema: w:dstrike

EastAsianLayout EastAsianLayout EastAsianLayout

EastAsianLayout. Represents the following element tag in the schema: w:eastAsianLayout

Emboss Emboss Emboss

Emboss. Represents the following element tag in the schema: w:emboss

Emphasis Emphasis Emphasis

Emphasis. Represents the following element tag in the schema: w:em

ExtendedAttributes ExtendedAttributes ExtendedAttributes

Gets all extended attributes (attributes not defined in the schema) of the current element.

(Inherited from OpenXmlElement)
FillTextEffect FillTextEffect FillTextEffect

FillTextEffect. Represents the following element tag in the schema: w14:textFill

FirstChild FirstChild FirstChild

Gets the first child of the current OpenXmlElement element.

(Inherited from OpenXmlCompositeElement)
FitText FitText FitText

FitText. Represents the following element tag in the schema: w:fitText

FontSize FontSize FontSize

FontSize. Represents the following element tag in the schema: w:sz

FontSizeComplexScript FontSizeComplexScript FontSizeComplexScript

FontSizeComplexScript. Represents the following element tag in the schema: w:szCs

Glow Glow Glow

Glow. Represents the following element tag in the schema: w14:glow

HasAttributes HasAttributes HasAttributes

Gets a boolean value that indicates whether the current element has any attributes.

(Inherited from OpenXmlElement)
HasChildren HasChildren HasChildren

Gets a value that indicates whether the current element has any child elements.

(Inherited from OpenXmlCompositeElement)
Highlight Highlight Highlight

Highlight. Represents the following element tag in the schema: w:highlight

Imprint Imprint Imprint

Imprint. Represents the following element tag in the schema: w:imprint

InnerText InnerText InnerText

Gets or sets the concatenated values of the current node and all of its children.

(Inherited from OpenXmlCompositeElement)
InnerXml InnerXml InnerXml

Gets or sets the markup that represents only the child nodes of the current node.

(Inherited from OpenXmlCompositeElement)
Italic Italic Italic

Italic. Represents the following element tag in the schema: w:i

ItalicComplexScript ItalicComplexScript ItalicComplexScript

ItalicComplexScript. Represents the following element tag in the schema: w:iCs

Kern Kern Kern

Kern. Represents the following element tag in the schema: w:kern

Languages Languages Languages

Languages. Represents the following element tag in the schema: w:lang

LastChild LastChild LastChild

Gets the last child of the current OpenXmlElement element. Returns null (Nothing in Visual Basic) if there is no such OpenXmlElement element.

(Inherited from OpenXmlCompositeElement)
Ligatures Ligatures Ligatures

Ligatures. Represents the following element tag in the schema: w14:ligatures

LocalName LocalName LocalName

Gets the local name of the element.

MCAttributes MCAttributes MCAttributes

Sets the markup compatibility attributes. Returns null if no markup compatibility attributes are defined for the current element.

(Inherited from OpenXmlElement)
NamespaceDeclarations NamespaceDeclarations NamespaceDeclarations

Gets all the namespace declarations defined in the current element. Returns an empty enumerator if there is no namespace declaration.

(Inherited from OpenXmlElement)
NamespaceUri NamespaceUri NamespaceUri

Gets the namespace URI of the current element.

(Inherited from OpenXmlElement)
NoProof NoProof NoProof

NoProof. Represents the following element tag in the schema: w:noProof

NumberingFormat NumberingFormat NumberingFormat

NumberingFormat. Represents the following element tag in the schema: w14:numForm

NumberSpacing NumberSpacing NumberSpacing

NumberSpacing. Represents the following element tag in the schema: w14:numSpacing

OpenXmlElementContext OpenXmlElementContext OpenXmlElementContext

Gets the OpenXmlEementContext of the current element.

(Inherited from OpenXmlElement)
OuterXml OuterXml OuterXml

Gets the markup that represents the current element and all of its child elements.

(Inherited from OpenXmlElement)
Outline Outline Outline

Outline. Represents the following element tag in the schema: w:outline

Parent Parent Parent

Gets the parent element of the current element.

(Inherited from OpenXmlElement)
Position Position Position

Position. Represents the following element tag in the schema: w:position

Prefix Prefix Prefix

Gets the namespace prefix of current element.

(Inherited from OpenXmlElement)
Properties3D Properties3D Properties3D

Properties3D. Represents the following element tag in the schema: w14:props3d

Reflection Reflection Reflection

Reflection. Represents the following element tag in the schema: w14:reflection

RightToLeftText RightToLeftText RightToLeftText

RightToLeftText. Represents the following element tag in the schema: w:rtl

RunFonts RunFonts RunFonts

RunFonts. Represents the following element tag in the schema: w:rFonts

RunPropertiesChange RunPropertiesChange RunPropertiesChange

RunPropertiesChange. Represents the following element tag in the schema: w:rPrChange

RunStyle RunStyle RunStyle

RunStyle. Represents the following element tag in the schema: w:rStyle

Scene3D Scene3D Scene3D

Scene3D. Represents the following element tag in the schema: w14:scene3d

Shading Shading Shading

Shading. Represents the following element tag in the schema: w:shd

Shadow Shadow Shadow

Shadow. Represents the following element tag in the schema: w:shadow

Shadow14 Shadow14 Shadow14

Shadow14. Represents the following element tag in the schema: w14:shadow

SmallCaps SmallCaps SmallCaps

SmallCaps. Represents the following element tag in the schema: w:smallCaps

SnapToGrid SnapToGrid SnapToGrid

SnapToGrid. Represents the following element tag in the schema: w:snapToGrid

Spacing Spacing Spacing

Spacing. Represents the following element tag in the schema: w:spacing

SpecVanish SpecVanish SpecVanish

SpecVanish. Represents the following element tag in the schema: w:specVanish

Strike Strike Strike

Strike. Represents the following element tag in the schema: w:strike

StylisticSets StylisticSets StylisticSets

StylisticSets. Represents the following element tag in the schema: w14:stylisticSets

TextEffect TextEffect TextEffect

TextEffect. Represents the following element tag in the schema: w:effect

TextOutlineEffect TextOutlineEffect TextOutlineEffect

TextOutlineEffect. Represents the following element tag in the schema: w14:textOutline

Underline Underline Underline

Underline. Represents the following element tag in the schema: w:u

Vanish Vanish Vanish

Vanish. Represents the following element tag in the schema: w:vanish

VerticalTextAlignment VerticalTextAlignment VerticalTextAlignment

VerticalTextAlignment. Represents the following element tag in the schema: w:vertAlign

WebHidden WebHidden WebHidden

WebHidden. Represents the following element tag in the schema: w:webHidden

XmlQualifiedName XmlQualifiedName XmlQualifiedName

Gets the qualified name of the current element.

(Inherited from OpenXmlElement)
XName XName XName

Gets the qualified name of the current element.

(Inherited from OpenXmlElement)

Methods

AddAnnotation(Object) AddAnnotation(Object) AddAnnotation(Object)

Adds an object to the current OpenXmlElement element's list of annotations.

(Inherited from OpenXmlElement)
AddNamespaceDeclaration(String, String) AddNamespaceDeclaration(String, String) AddNamespaceDeclaration(String, String)

Adds a namepace declaration to the current node.

(Inherited from OpenXmlElement)
Ancestors() Ancestors() Ancestors()

Enumerates all of the current element's ancestors.

(Inherited from OpenXmlElement)
Ancestors<T>() Ancestors<T>() Ancestors<T>()

Enumerates only the current element's ancestors that have the specified type.

(Inherited from OpenXmlElement)
Annotation(Type) Annotation(Type) Annotation(Type)

Get the first annotation object of the specified type from the current OpenXmlElement element.

(Inherited from OpenXmlElement)
Annotation<T>() Annotation<T>() Annotation<T>()

Get the first annotation object of the specified type from the current OpenXmlElement element.

(Inherited from OpenXmlElement)
Annotations(Type) Annotations(Type) Annotations(Type)

Gets a collection of annotations with the specified type for the current OpenXmlElement element.

(Inherited from OpenXmlElement)
Annotations<T>() Annotations<T>() Annotations<T>()

Gets a collection of annotations with the specified type for the current OpenXmlElement element.

(Inherited from OpenXmlElement)
Append(IEnumerable<OpenXmlElement>) Append(IEnumerable<OpenXmlElement>) Append(IEnumerable<OpenXmlElement>)

Appends each element from a list of elements to the end of the current element's list of child elements.

(Inherited from OpenXmlElement)
Append(OpenXmlElement[]) Append(OpenXmlElement[]) Append(OpenXmlElement[])

Appends each element from an array of elements to the end of the current element's list of child elements.

(Inherited from OpenXmlElement)
AppendChild<T>(T) AppendChild<T>(T) AppendChild<T>(T)

Appends the specified element to the end of the current element's list of child nodes.

(Inherited from OpenXmlCompositeElement)
ClearAllAttributes() ClearAllAttributes() ClearAllAttributes()

Clears all of the attributes, including both known attributes and extended attributes.

(Inherited from OpenXmlElement)
Clone() Clone() Clone()

Creates a duplicate of the current node.

(Inherited from OpenXmlElement)
CloneNode(Boolean) CloneNode(Boolean) CloneNode(Boolean)

Creates a duplicate of this node.

Descendants() Descendants() Descendants()

Enumerates all of the current element's descendants.

(Inherited from OpenXmlElement)
Descendants<T>() Descendants<T>() Descendants<T>()

Enumerate all of the current element's descendants of type T.

(Inherited from OpenXmlElement)
Elements() Elements() Elements()

Enumerates all of the current element's children.

(Inherited from OpenXmlElement)
Elements<T>() Elements<T>() Elements<T>()

Enumerates only the current element's children that have the specified type.

(Inherited from OpenXmlElement)
ElementsAfter() ElementsAfter() ElementsAfter()

Enumerates all of the sibling elements that follow the current element and have the same parent as the current element.

(Inherited from OpenXmlElement)
ElementsBefore() ElementsBefore() ElementsBefore()

Enumerates all of the sibling elements that precede the current element and have the same parent as the current element.

(Inherited from OpenXmlElement)
GetAttribute(String, String) GetAttribute(String, String) GetAttribute(String, String)

Gets an Open XML attribute with the specified tag name and namespace URI.

(Inherited from OpenXmlElement)
GetAttributes() GetAttributes() GetAttributes()

Gets a list that contains a copy of all the attributes.

(Inherited from OpenXmlElement)
GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the child collection.

(Inherited from OpenXmlElement)
GetFirstChild<T>() GetFirstChild<T>() GetFirstChild<T>()

Finds the first child element in type T.

(Inherited from OpenXmlElement)
InsertAfter<T>(T, OpenXmlElement) InsertAfter<T>(T, OpenXmlElement) InsertAfter<T>(T, OpenXmlElement)

Inserts the specified element immediately after the specified reference element.

(Inherited from OpenXmlCompositeElement)
InsertAfterSelf<T>(T) InsertAfterSelf<T>(T) InsertAfterSelf<T>(T)

Inserts the specified element immediately after the current element.

(Inherited from OpenXmlElement)
InsertAt<T>(T, Int32) InsertAt<T>(T, Int32) InsertAt<T>(T, Int32)

Inserts the specified element at the specified index of the current element's children.

(Inherited from OpenXmlCompositeElement)
InsertBefore<T>(T, OpenXmlElement) InsertBefore<T>(T, OpenXmlElement) InsertBefore<T>(T, OpenXmlElement)

Inserts the specified element immediately before the specified reference element.

(Inherited from OpenXmlCompositeElement)
InsertBeforeSelf<T>(T) InsertBeforeSelf<T>(T) InsertBeforeSelf<T>(T)

Inserts the specified element immediately before the current element.

(Inherited from OpenXmlElement)
IsAfter(OpenXmlElement) IsAfter(OpenXmlElement) IsAfter(OpenXmlElement)

Determines if the current element appears after a specified element in document order.

(Inherited from OpenXmlElement)
IsBefore(OpenXmlElement) IsBefore(OpenXmlElement) IsBefore(OpenXmlElement)

Determines if the current element appears before a specified element in document order.

(Inherited from OpenXmlElement)
LookupNamespace(String) LookupNamespace(String) LookupNamespace(String)

Resolves the namespace prefix in the context of the current node.

(Inherited from OpenXmlElement)
LookupPrefix(String) LookupPrefix(String) LookupPrefix(String)

Finds the corresponding prefix for a namespace uri in the current element scope.

(Inherited from OpenXmlElement)
NextSibling() NextSibling() NextSibling()

Gets the OpenXmlElement element that immediately follows the current OpenXmlElement element. Returns null (Nothing in Visual Basic) if there is no next OpenXmlElement element.

(Inherited from OpenXmlElement)
NextSibling<T>() NextSibling<T>() NextSibling<T>()

Gets the OpenXmlElement element with the specified type that follows the current OpenXmlElement element. Returns null (Nothing in Visual Basic) if there is no next OpenXmlElement.

(Inherited from OpenXmlElement)
PrependChild<T>(T) PrependChild<T>(T) PrependChild<T>(T)

Inserts the specified element at the beginning of the current element's list of child nodes.

(Inherited from OpenXmlCompositeElement)
PreviousSibling() PreviousSibling() PreviousSibling()

Gets the OpenXmlElement element that immediately precedes the current OpenXmlElement element. Returns null (Nothing in Visual Basic ) if there is no preceding OpenXmlElement element.

(Inherited from OpenXmlElement)
PreviousSibling<T>() PreviousSibling<T>() PreviousSibling<T>()

Gets the OpenXmlElement element with the specified type that precedes the current OpenXmlElement. Returns null (Nothing in Visual Basic) if there is no preceding OpenXmlElement element.

(Inherited from OpenXmlElement)
Remove() Remove() Remove()

Removes the current element from its parent.

(Inherited from OpenXmlElement)
RemoveAllChildren() RemoveAllChildren() RemoveAllChildren()

Removes all of the current element's child elements.

(Inherited from OpenXmlCompositeElement)
RemoveAllChildren<T>() RemoveAllChildren<T>() RemoveAllChildren<T>()

Remove all of the current element's child elements that are of type T.

(Inherited from OpenXmlElement)
RemoveAnnotations(Type) RemoveAnnotations(Type) RemoveAnnotations(Type)

Removes the annotations of the specified type from the current OpenXmlElement element.

(Inherited from OpenXmlElement)
RemoveAnnotations<T>() RemoveAnnotations<T>() RemoveAnnotations<T>()

Removes the annotations with the specified type from the current OpenXmlElement element.

(Inherited from OpenXmlElement)
RemoveAttribute(String, String) RemoveAttribute(String, String) RemoveAttribute(String, String)

Removes the attribute from the current element.

(Inherited from OpenXmlElement)
RemoveChild<T>(T) RemoveChild<T>(T) RemoveChild<T>(T)

Removes the specified child element.

(Inherited from OpenXmlCompositeElement)
RemoveNamespaceDeclaration(String) RemoveNamespaceDeclaration(String) RemoveNamespaceDeclaration(String)

Removes the namespace declaration for the specified prefix. Removes nothing if there is no prefix.

(Inherited from OpenXmlElement)
ReplaceChild<T>(OpenXmlElement, T) ReplaceChild<T>(OpenXmlElement, T) ReplaceChild<T>(OpenXmlElement, T)

Replaces one of the current element's child elements with another OpenXmlElement element.

(Inherited from OpenXmlCompositeElement)
SetAttribute(OpenXmlAttribute) SetAttribute(OpenXmlAttribute) SetAttribute(OpenXmlAttribute)

Sets an attribute to the specified element. If the attribute is a known attribute, the value of the attribute is set. If the attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list.

(Inherited from OpenXmlElement)
SetAttributes(IEnumerable<OpenXmlAttribute>) SetAttributes(IEnumerable<OpenXmlAttribute>) SetAttributes(IEnumerable<OpenXmlAttribute>)

Sets a number of attributes to the element. If an attribute is a known attribute, the value of the attribute is set. If an attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list.

(Inherited from OpenXmlElement)
WriteTo(XmlWriter) WriteTo(XmlWriter) WriteTo(XmlWriter)

Saves the current node to the specified XmlWriter.

(Inherited from OpenXmlElement)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() Inherited from OpenXmlElement

Applies to