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


StartOverrideNumberingValue Class

Numbering Level Starting Value Override.When the object is serialized out as xml, its qualified name is w:startOverride.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.DecimalNumberType
        DocumentFormat.OpenXml.Wordprocessing.StartOverrideNumberingValue

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

Syntax

'Declaration
Public Class StartOverrideNumberingValue _
    Inherits DecimalNumberType
'Usage
Dim instance As StartOverrideNumberingValue
public class StartOverrideNumberingValue : DecimalNumberType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.9.27 startOverride (Numbering Level Starting Value Override)

This element specifies the number which the specified level override shall begin with. 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 they disagree, this value shall override the starting number of the child lvl element (§17.9.6).

[Example: Consider the WordprocessingML fragment for a numbering level definition in a WordprocessingML document:

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

In this example, since upper case Roman numerals (upperRoman) 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 II, 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 II (the starting value for this numbering level). end example]

Parent Elements

lvlOverride (§17.9.9)

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

StartOverrideNumberingValue Members

DocumentFormat.OpenXml.Wordprocessing Namespace