class Numbering
extends XmlFile
import { Numbering } from "https://deno.land/x/docxml@5.3.0/src/files/Numbering.ts";
Properties
private
readonly
abstracts: NumberMap<AbstractNumbering>The abstract numbering rules.
Each item correlates with <w:abstractNum>
private
readonly
concretes: NumberMap<ConcreteNumbering>Concrete numbering rules, the ones that are directly associated with zero or more paragraphs.
Each item correlates with <w:num>
Methods
protected
toNode(): Documentadd(abstract: number | AbstractNumberingWithOptionalId): number
Register a concrete implementation of an abstract numbering style and return the concrete identifier.
Not meant for public use.
addAbstract(style: AbstractNumberingWithOptionalId): number
Register a new abstract numberign style and return the identifier.
Not meant for public use.
isEmpty()
Static Methods
fromArchive(archive: Archive, location: string): Promise<Numbering>