Поделиться через


RunPropertiesDefault Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(RunPropertiesBaseStyle))> _
Public Class RunPropertiesDefault _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As RunPropertiesDefault
[ChildElementInfoAttribute(typeof(RunPropertiesBaseStyle))]
public class RunPropertiesDefault : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • RunPropertiesBaseStyle <w:rPr>

[ISO/IEC 29500-1 1st Edition]

17.7.3.5 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.

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

RunPropertiesDefault Members

DocumentFormat.OpenXml.Wordprocessing Namespace