Table of Contents

Class NumberingLevel

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

One level definition of an abstract numbering (ECMA-376 Part 1 §17.9.6 w:lvl). The number format is kept as the raw ST_NumberFormat token (§17.18.59) so all sixty-plus formats round-trip verbatim; counter evaluation is a later phase.

public sealed class NumberingLevel : UnknownXmlHost
Inheritance
NumberingLevel
Inherited Members

Constructors

NumberingLevel(int)

Initializes a level.

Properties

CharacterFormat

Gets or sets the run formatting of the number/bullet itself (w:rPr), or null.

IsLegal

Gets or sets whether higher-level placeholders render as decimal regardless of their format (w:isLgl), or null.

Justification

Gets or sets the alignment of the number itself (w:lvlJc), or null.

Level

Gets the zero-based level index.

LevelText

Gets or sets the level text template with %1–%9 placeholders (w:lvlText), or null.

NumberFormat

Gets or sets the raw ST_NumberFormat token (w:numFmt), for example "decimal" or "bullet", or null.

ParagraphFormat

Gets or sets the paragraph formatting the level contributes (w:pPr — chiefly indents), or null.

ParagraphStyleId

Gets or sets the paragraph style bound to this level (w:pStyle), or null.

PictureBulletId

Gets or sets the picture bullet id (w:lvlPicBulletId), or null.

Restart

Gets or sets the level whose increment restarts this level's counter (w:lvlRestart), or null.

Start

Gets or sets the starting value (w:start), or null.

Suffix

Gets or sets what follows the number (w:suff), or null (tab).

Methods

Clone()

Creates a deep copy.