ParagraphPropertiesDefault Class

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

Inheritance Hierarchy

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

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

Syntax

声明
<ChildElementInfoAttribute(GetType(ParagraphPropertiesBaseStyle))> _
Public Class ParagraphPropertiesDefault _
    Inherits OpenXmlCompositeElement
用法
Dim instance As ParagraphPropertiesDefault
[ChildElementInfoAttribute(typeof(ParagraphPropertiesBaseStyle))]
public class ParagraphPropertiesDefault : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ParagraphPropertiesBaseStyle <w:pPr>

[ISO/IEC 29500-1 第 1 个版本]

17.7.3.3 pPrDefault (Default Paragraph Properties)

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

If this element is omitted, then the default paragraph properties for the current document are non-existent (i.e. there are no default paragraph 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:pPrDefault>
<w:pPr>
<w:jc w:val="center"/>
</w:pPr>
</w:pPrDefault>
…
</w:docDefaults>

The pPrDefault element is a container for the set of default paragraph properties for this document. end example]

Parent Elements

docDefaults (§17.7.5.1)

Child Elements

Subclause

pPr (Paragraph Properties)

§17.7.5.2

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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

ParagraphPropertiesDefault Members

DocumentFormat.OpenXml.Wordprocessing Namespace