UseNormalStyleForList Class

Do Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text.When the object is serialized out as xml, its qualified name is w:useNormalStyleForList.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.UseNormalStyleForList

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

Syntax

声明
Public Class UseNormalStyleForList _
    Inherits OnOffType
用法
Dim instance As UseNormalStyleForList
public class UseNormalStyleForList : OnOffType

Remarks

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

9.7.3.51 useNormalStyleForList (Do Not Automatically Apply List Paragraph Style To Bulleted/Numbered Text)

This element specifies whether applications shall automatically apply the paragraph style with the styleId attribute ListParagraph when numbering is applied to a paragraph currently formatted using the default paragraph style.

Typically, when a paragraph is formatted using the default paragraph style, and numbering is subsequently applied, the paragraph style with the styleId attribute ListParagraph when numbering is applied to ensure that paragraph properties are appropriate for a numbered paragraph. This element, when present with a val attribute value of true (or equivalent), specifies that no alternate paragraph style shall ever be applied

[Example: Consider a WordprocessingML document with five unnumbered paragraphs:

DocumentFormat.OpenXml.Wordprocessing.UseNormalSty

If numbering is applied to the three center paragraphs, the default presentation would have the ListParagraph style applied as well:

DocumentFormat.OpenXml.Wordprocessing.UseNormalSty

However, if this compatibility setting is turned on:

<w:compat>
<w:useNormalStyleForList />
</w:compat>

Then the new paragraph style must not be applied, resulting in the following output:

DocumentFormat.OpenXml.Wordprocessing.UseNormalSty

end example]

Parent Elements

compat (Part 1, §17.15.1.21)

This element's content model is defined by the common boolean property definition in Part 1, §17.17.4.

© 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

UseNormalStyleForList Members

DocumentFormat.OpenXml.Wordprocessing Namespace