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
'Declaración
Public Class UseNormalStyleForList _
Inherits OnOffType
'Uso
Dim instance As UseNormalStyleForList
public class UseNormalStyleForList : OnOffType
Remarks
[ISO/IEC 29500-1 1ª edición]
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:
If numbering is applied to the three center paragraphs, the default presentation would have the ListParagraph style applied as well:
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:
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. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.
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.