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


AbstractNumId Class

Abstract Numbering Definition Reference.When the object is serialized out as xml, its qualified name is w:abstractNumId.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

17.9.2 abstractNumId (Abstract Numbering Definition Reference)

This element specifies the abstract numbering definition information whose properties shall be inherited by the parent numbering definition instance.

[Example: Consider the WordprocessingML for a document with two numbering definition instances, each referencing a different abstract numbering definition:

<w:numbering>
<w:abstractNum w:abstractNumId="0">
…
</w:abstractNum>
  <w:abstractNum w:abstractNumId="1">
    …
</w:abstractNum>
…
<w:num w:numId="1">
<w:abstractNumId w:val="0" />
</w:num>
<w:num w:numId="2">
<w:abstractNumId w:val="1" />
</w:num>
  …
</w:numbering>

The two numbering definition instances reference the abstract numbering definitions with abstractNumId attribute values of 0 and 1 respectively, via their abstractNumId elements. end example]

Parent Elements

num (§17.9.16)

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

AbstractNumId Members

DocumentFormat.OpenXml.Wordprocessing Namespace