Partager via


NumberingStart Class

Footnote and Endnote Numbering Starting Value.When the object is serialized out as xml, its qualified name is w:numStart.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

17.11.20 numStart (Footnote and Endnote Numbering Starting Value)

This element specifies the starting number or character for the first automatically numbered footnotes or endnote in the document, as well as the first automatically numbered footnotes after each restart point specified by the numRestart element (§17.11.19). This value shall be specified in decimal number units, then translated accordingly to the appropriate numbering format.

If this element is omitted, then the starting value shall be 1.

[Example: Consider the following footnote reference with the number format set to upper case letters and starting character set to D:

DocumentFormat.OpenXml.Wordprocessing.NumberingSta

The number format is specified by the following WordprocessingML:

<w:footnotePr>
  <w:numFmt w:val="upperLetter" />
  <w:numStart w:val="4" />
</w:footnotePr>

Since D is the fourth letter in the alphabet, the starting character is set to 4. end example]

Parent Elements

endnotePr (§17.11.4); endnotePr (§17.11.5); footnotePr (§17.11.12); footnotePr (§17.11.11)

Attributes

Description

val (Decimal Number Value)

Specifies that the contents of this attribute contains a decimal number.

The contents of this decimal number are interpreted based on the context of the parent XML element.

[Example: Consider the following numeric WordprocessingML property of simple type ST_DecimalNumber:

<… w:val="1512645511" />

The value of the val attribute is a decimal number whose value must be interpreted in the context of the parent element. end example]

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

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

NumberingStart Members

DocumentFormat.OpenXml.Wordprocessing Namespace