共用方式為


StartNumberingValue Class

Starting Value.When the object is serialized out as xml, its qualified name is w:start.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.NonNegativeDecimalNumberType
        DocumentFormat.OpenXml.Wordprocessing.StartNumberingValue

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

Syntax

'Declaration
Public Class StartNumberingValue _
    Inherits NonNegativeDecimalNumberType
'Usage
Dim instance As StartNumberingValue
public class StartNumberingValue : NonNegativeDecimalNumberType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.9.26 start (Starting Value)

This element specifies the starting value for the numbering used by the parent numbering level within a given numbering level definition. This value is used when this level initially starts in a document, as well as whenever it is restarted via the properties set in the lvlRestart element (§17.9.11).

If this element is omitted, then the starting value shall be zero (0).

[Example: Consider the following WordprocessingML fragment for an abstract numbering definition:

<w:abstractNum w:abstractNumId="1">
  …
  <w:lvl w:ilvl="0">
    <w:start w:val="2" />
    <w:numFmt w:val="upperLetter"/> 
    …
  </w:lvl>
</w:abstractNum>

In this example, since upper case Western letters (upperLetter) are being used as numbering symbols for this numbering level, the first instance of a numbering paragraph associated with this abstract numbering definition and numbering level would have the numbering symbol B, the second letter in the number format.

Subsequent numbered paragraphs with this abstract numbering definition and at this level would have their numbering symbols incremented from B (the starting value for this numbering level). end example]

Parent Elements

lvl (§17.9.6); lvl (§17.9.7)

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

StartNumberingValue Members

DocumentFormat.OpenXml.Wordprocessing Namespace