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


LevelSuffix Class

Content Between Numbering Symbol and Paragraph Text.When the object is serialized out as xml, its qualified name is w:suff.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.LevelSuffix

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

Syntax

'Declaration
Public Class LevelSuffix _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As LevelSuffix
public class LevelSuffix : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

17.9.29 suff (Content Between Numbering Symbol and Paragraph Text)

This element specifies the content which shall be added between a given numbering level's text and the text of every numbered paragraph which references that numbering level.

If this element is omitted, then its value shall be assumed to be tab.

[Example: Consider the numbered paragraph below:

DocumentFormat.OpenXml.Wordprocessing.LevelSuffix-

In this example, a space exists between the numbering symbol 1. and the numbered paragraph text Test. The space would be specified in WordprocessingML as follows:

<w:lvl w:ilvl="0"> 
  …
  <w:suff w:val="space" /> 
  …
</w:lvl>

The suff element with an attribute value of space specifies that the character between the numbering's level text and the paragraph text must be a space. end example]

Parent Elements

lvl (§17.9.6); lvl (§17.9.7)

Attributes

Description

val (Character Type Between Numbering and Text)

Specifies the character which shall follow the list number.

[Example: Consider a numbered for which a tab exists between the numbering symbol and the numbered paragraph's text. The tab would be specified in WordprocessingML as follows:

<w:lvl w:ilvl="0"> 
  …
  <w:suff w:val="tab" /> 
  …
</w:lvl>

The val attribute with a value of tab specifies that the character between the numbering's level text and the paragraph text must be a tab. This tab follows normal tab stop rules. end example]

The possible values for this attribute are defined by the ST_LevelSuffix simple type (§17.18.46).

[Note: The W3C XML Schema definition of this element’s content model (CT_LevelSuffix) 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

LevelSuffix Members

DocumentFormat.OpenXml.Wordprocessing Namespace