[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
numStyleLink (Numbering Style Reference)
This element specifies an abstract numbering does not contain the actual numbering properties for its type, but rather serves as a reference to a numbering style stored in the document, which shall be applied when this abstract numbering definition is referenced, and itself points at the actual underlying abstract numbering definition to be used.
The numbering style that is to be applied when this abstract numbering definition is referenced is identified by the string contained in numStyleLink's val attribute.
[Example: Consider the abstract numbering definition below:
<w:abstractNum w:abstractNumId="0">
<w:nsid w:val="38901FA4" />
<w:multiLevelType w:val="multilevel" />
<w:numStyleLink w:val="TestNumberingStyle" />
</w:abstractNum>
This abstract numbering definition references the numbering style with a styleId attribute equal to TestNumberingStyle, as follows below:
<w:style w:type="numbering" w:styleId="TestNumberingStyle">
…
</w:style>
Therefore, this numbering style shall be applied whenever the base abstract numbering definition is inherited by a numbered paragraph. end example]
Parent Elements |
abstractNum (§2.9.1) |
Attributes |
Description |
val (String Value) |
Specifies that its contents will contain a string.
The contents of this string are interpreted based on the context of the parent XML element.
[Example: Consider the following WordprocessingML fragment:
<w:pPr> <w:pStyle w:val="heading1" /> </w:pPr>
The value of the val attribute is the ID of the associated paragraph style's styleId.
However, consider the following fragment:
<w:sdtPr> <w:alias w:val="SDT Title Example" /> ... </w:sdtPr>
In this case, the decimal number in the val attribute is the caption of the parent structured document tag. In each case, the value is interpreted in the context of the parent element. end example]
The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_String">
<attribute name="val" type="ST_String" use="required"/>
</complexType>