Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RunPropertiesDefault class

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

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

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ChildElementInfoAttribute(typeof(RunPropertiesBaseStyle))]
public class RunPropertiesDefault : OpenXmlCompositeElement

[ISO/IEC 29500-1 1st Edition]

rPrDefault (Default Run Properties)

This element specifies the presence of a set of default run properties for the current document. The actual run properties are stored within the rPr child element of the current element.

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 in the document, 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 rPrDefault element is a container for the set of default run properties for this document. end example]

Parent Elements

docDefaults (§17.7.5.1)

Child Elements

Subclause

rPr (Run Properties)

§17.7.5.4

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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.