Table of Contents

Class DocxList

Namespace
PDiffy
Assembly
PDiffy.dll

A list the document uses: its id, the definition it numbers from (w:abstractNumId, or the definition of the list style it links to) and the levels used.

public sealed record DocxList : IEquatable<DocxList>
Inheritance
DocxList
Implements
Inherited Members

Properties

Definition

The id of the definition the list numbers from, such as "3". Lists that share a definition share its counters, unless one restarts its numbering with a start override.

public required string Definition { get; init; }

Property Value

string

Id

The list's id (w:numId), which List refers to it by.

public required int Id { get; init; }

Property Value

int

Levels

The levels the document's paragraphs use, outermost first, not every level defined.

public required IReadOnlyList<DocxListLevel> Levels { get; init; }

Property Value

IReadOnlyList<DocxListLevel>