ParagraphMarkRunProperties Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.ParagraphMarkRunProperties

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Deleted))> _
<ChildElementInfoAttribute(GetType(Inserted))> _
<ChildElementInfoAttribute(GetType(MoveFrom))> _
<ChildElementInfoAttribute(GetType(MoveTo))> _
<ChildElementInfoAttribute(GetType(ConflictInsertion), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ConflictDeletion), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(RunStyle))> _
<ChildElementInfoAttribute(GetType(RunFonts))> _
<ChildElementInfoAttribute(GetType(Bold))> _
<ChildElementInfoAttribute(GetType(BoldComplexScript))> _
<ChildElementInfoAttribute(GetType(Italic))> _
<ChildElementInfoAttribute(GetType(ItalicComplexScript))> _
<ChildElementInfoAttribute(GetType(Caps))> _
<ChildElementInfoAttribute(GetType(SmallCaps))> _
<ChildElementInfoAttribute(GetType(Strike))> _
<ChildElementInfoAttribute(GetType(DoubleStrike))> _
<ChildElementInfoAttribute(GetType(Outline))> _
<ChildElementInfoAttribute(GetType(Shadow))> _
<ChildElementInfoAttribute(GetType(Emboss))> _
<ChildElementInfoAttribute(GetType(Imprint))> _
<ChildElementInfoAttribute(GetType(NoProof))> _
<ChildElementInfoAttribute(GetType(SnapToGrid))> _
<ChildElementInfoAttribute(GetType(Vanish))> _
<ChildElementInfoAttribute(GetType(WebHidden))> _
<ChildElementInfoAttribute(GetType(Color))> _
<ChildElementInfoAttribute(GetType(Spacing))> _
<ChildElementInfoAttribute(GetType(CharacterScale))> _
<ChildElementInfoAttribute(GetType(Kern))> _
<ChildElementInfoAttribute(GetType(Position))> _
<ChildElementInfoAttribute(GetType(FontSize))> _
<ChildElementInfoAttribute(GetType(FontSizeComplexScript))> _
<ChildElementInfoAttribute(GetType(Highlight))> _
<ChildElementInfoAttribute(GetType(Underline))> _
<ChildElementInfoAttribute(GetType(TextEffect))> _
<ChildElementInfoAttribute(GetType(Border))> _
<ChildElementInfoAttribute(GetType(Shading))> _
<ChildElementInfoAttribute(GetType(FitText))> _
<ChildElementInfoAttribute(GetType(VerticalTextAlignment))> _
<ChildElementInfoAttribute(GetType(RightToLeftText))> _
<ChildElementInfoAttribute(GetType(ComplexScript))> _
<ChildElementInfoAttribute(GetType(Emphasis))> _
<ChildElementInfoAttribute(GetType(Languages))> _
<ChildElementInfoAttribute(GetType(EastAsianLayout))> _
<ChildElementInfoAttribute(GetType(SpecVanish))> _
<ChildElementInfoAttribute(GetType(Glow), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Shadow), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Reflection), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(TextOutlineEffect), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(FillTextEffect), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Scene3D), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Properties3D), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Ligatures), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NumberingFormat), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NumberSpacing), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(StylisticSets), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ContextualAlternatives), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(OfficeMath))> _
<ChildElementInfoAttribute(GetType(ParagraphMarkRunPropertiesChange))> _
Public Class ParagraphMarkRunProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ParagraphMarkRunProperties
[ChildElementInfoAttribute(typeof(Deleted))]
[ChildElementInfoAttribute(typeof(Inserted))]
[ChildElementInfoAttribute(typeof(MoveFrom))]
[ChildElementInfoAttribute(typeof(MoveTo))]
[ChildElementInfoAttribute(typeof(ConflictInsertion), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ConflictDeletion), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(RunStyle))]
[ChildElementInfoAttribute(typeof(RunFonts))]
[ChildElementInfoAttribute(typeof(Bold))]
[ChildElementInfoAttribute(typeof(BoldComplexScript))]
[ChildElementInfoAttribute(typeof(Italic))]
[ChildElementInfoAttribute(typeof(ItalicComplexScript))]
[ChildElementInfoAttribute(typeof(Caps))]
[ChildElementInfoAttribute(typeof(SmallCaps))]
[ChildElementInfoAttribute(typeof(Strike))]
[ChildElementInfoAttribute(typeof(DoubleStrike))]
[ChildElementInfoAttribute(typeof(Outline))]
[ChildElementInfoAttribute(typeof(Shadow))]
[ChildElementInfoAttribute(typeof(Emboss))]
[ChildElementInfoAttribute(typeof(Imprint))]
[ChildElementInfoAttribute(typeof(NoProof))]
[ChildElementInfoAttribute(typeof(SnapToGrid))]
[ChildElementInfoAttribute(typeof(Vanish))]
[ChildElementInfoAttribute(typeof(WebHidden))]
[ChildElementInfoAttribute(typeof(Color))]
[ChildElementInfoAttribute(typeof(Spacing))]
[ChildElementInfoAttribute(typeof(CharacterScale))]
[ChildElementInfoAttribute(typeof(Kern))]
[ChildElementInfoAttribute(typeof(Position))]
[ChildElementInfoAttribute(typeof(FontSize))]
[ChildElementInfoAttribute(typeof(FontSizeComplexScript))]
[ChildElementInfoAttribute(typeof(Highlight))]
[ChildElementInfoAttribute(typeof(Underline))]
[ChildElementInfoAttribute(typeof(TextEffect))]
[ChildElementInfoAttribute(typeof(Border))]
[ChildElementInfoAttribute(typeof(Shading))]
[ChildElementInfoAttribute(typeof(FitText))]
[ChildElementInfoAttribute(typeof(VerticalTextAlignment))]
[ChildElementInfoAttribute(typeof(RightToLeftText))]
[ChildElementInfoAttribute(typeof(ComplexScript))]
[ChildElementInfoAttribute(typeof(Emphasis))]
[ChildElementInfoAttribute(typeof(Languages))]
[ChildElementInfoAttribute(typeof(EastAsianLayout))]
[ChildElementInfoAttribute(typeof(SpecVanish))]
[ChildElementInfoAttribute(typeof(Glow), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Shadow), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Reflection), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(TextOutlineEffect), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(FillTextEffect), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Scene3D), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Properties3D), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Ligatures), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NumberingFormat), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NumberSpacing), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(StylisticSets), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ContextualAlternatives), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(OfficeMath))]
[ChildElementInfoAttribute(typeof(ParagraphMarkRunPropertiesChange))]
public class ParagraphMarkRunProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Inserted <w:ins>

  • Deleted <w:del>

  • MoveFrom <w:moveFrom>

  • MoveTo <w:moveTo>

  • DocumentFormat.OpenXml.Office2010.Word.ConflictInsertion <w14:conflictIns>

  • DocumentFormat.OpenXml.Office2010.Word.ConflictDeletion <w14:conflictDel>

  • RunStyle <w:rStyle>

  • RunFonts <w:rFonts>

  • Bold <w:b>

  • BoldComplexScript <w:bCs>

  • Italic <w:i>

  • ItalicComplexScript <w:iCs>

  • Caps <w:caps>

  • SmallCaps <w:smallCaps>

  • Strike <w:strike>

  • DoubleStrike <w:dstrike>

  • Outline <w:outline>

  • Shadow <w:shadow>

  • Emboss <w:emboss>

  • Imprint <w:imprint>

  • NoProof <w:noProof>

  • SnapToGrid <w:snapToGrid>

  • Vanish <w:vanish>

  • WebHidden <w:webHidden>

  • Color <w:color>

  • Spacing <w:spacing>

  • CharacterScale <w:w>

  • Kern <w:kern>

  • Position <w:position>

  • FontSize <w:sz>

  • FontSizeComplexScript <w:szCs>

  • Highlight <w:highlight>

  • Underline <w:u>

  • TextEffect <w:effect>

  • Border <w:bdr>

  • Shading <w:shd>

  • FitText <w:fitText>

  • VerticalTextAlignment <w:vertAlign>

  • RightToLeftText <w:rtl>

  • ComplexScript <w:cs>

  • Emphasis <w:em>

  • Languages <w:lang>

  • EastAsianLayout <w:eastAsianLayout>

  • SpecVanish <w:specVanish>

  • DocumentFormat.OpenXml.Office2010.Word.Glow <w14:glow>

  • DocumentFormat.OpenXml.Office2010.Word.Shadow <w14:shadow>

  • DocumentFormat.OpenXml.Office2010.Word.Reflection <w14:reflection>

  • DocumentFormat.OpenXml.Office2010.Word.TextOutlineEffect <w14:textOutline>

  • DocumentFormat.OpenXml.Office2010.Word.FillTextEffect <w14:textFill>

  • DocumentFormat.OpenXml.Office2010.Word.Scene3D <w14:scene3d>

  • DocumentFormat.OpenXml.Office2010.Word.Properties3D <w14:props3d>

  • DocumentFormat.OpenXml.Office2010.Word.Ligatures <w14:ligatures>

  • DocumentFormat.OpenXml.Office2010.Word.NumberingFormat <w14:numForm>

  • DocumentFormat.OpenXml.Office2010.Word.NumberSpacing <w14:numSpacing>

  • DocumentFormat.OpenXml.Office2010.Word.StylisticSets <w14:stylisticSets>

  • DocumentFormat.OpenXml.Office2010.Word.ContextualAlternatives <w14:cntxtAlts>

  • OfficeMath <w:oMath>

  • ParagraphMarkRunPropertiesChange <w:rPrChange>

[ISO/IEC 29500-1 1st Edition]

17.3.1.29 rPr (Run Properties for the Paragraph Mark)

This element specifies the set of run properties applied to the glyph used to represent the physical location of the paragraph mark for this paragraph. This paragraph mark, being a physical character in the document, can be formatted, and therefore shall be capable of representing this formatting like any other character in the document.

If this element is not present, the paragraph mark is unformatted, as with any other run of text.

[Example: Consider a run of text displayed as follows, including a display format using the pilcrow sign ¶ for the paragraph mark glyph:

This is some text and the paragraph mark.¶

If we format the display formatting for the paragraph mark by making it red and giving it a 72 point font size, then the WordprocessingML must reflect this formatting on the paragraph as follows:

<w:pPr>
  <w:rPr>
    <w:color w:val="FF0000" /> 
    <w:sz w:val="144" /> 
  </w:rPr>
</w:pPr>

The paragraph glyph's formatting is stored in the rPr element under the paragraph properties, since there is no run saved for the paragraph mark itself. end example]

Parent Elements

pPr (§17.3.1.26)

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

del (Deleted Paragraph)

§17.13.5.15

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

ins (Inserted Paragraph)

§17.13.5.20

kern (Font Kerning)

§17.3.2.19

lang (Languages for Run Content)

§17.3.2.20

moveFrom (Move Source Paragraph)

§17.13.5.21

moveTo (Move Destination Paragraph)

§17.13.5.26

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 on the Paragraph Mark)

§17.13.5.30

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_ParaRPr) is located in §A.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.

See Also

Reference

ParagraphMarkRunProperties Members

DocumentFormat.OpenXml.Wordprocessing Namespace