# RtfListNumbering

Tracks numbering for one story in document order. Overrides share their definition's counters, with an authored start override applied on its first use.

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RtfListNumbering.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfListNumbering.cs#L6)

**Modifiers**

sealed

Tracks numbering for one story in document order. Overrides share their definition's counters, with an authored start override applied on its first use.

## Inheritance

- object
- RtfListNumbering

Filter members 

Show inherited

## Constructors

`public RtfListNumbering(RtfDocument document)` [#](#constructor-ctor-officeimo-rtf-rtfdocument)

[RtfListNumbering.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfListNumbering.cs#L6)

Creates numbering state for a document. Use a separate state for each independent header, footer or note story.

Parameters

**document OfficeIMO.Rtf.RtfDocument required**

## Methods

`public RtfListMarker? Next(RtfParagraph paragraph)` [#](#method-next-officeimo-rtf-rtfparagraph)

[RtfListNumbering.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Rtf/Model/RtfListNumbering.cs#L14)

Advances the paragraph's list and returns its marker, or null for a paragraph outside a list.

Parameters

**paragraph OfficeIMO.Rtf.RtfParagraph required**

Returns

`RtfListMarker?`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:4D5FCA6B4467787A69A51F4EABA2280A49948FD6D73F778C47EFB066EF071679 -->
