Skip to content
Document Authoring DA  API Docs v2.1.0
npmGitHub

TableOfContentsFieldDefinitionNEW

TableOfContentsFieldDefinition:

{
type: "tableOfContents";
outlineLevels: { from: number; to: number } | null;
}

A table of contents (Word’s TOC): one paragraph per heading, with the page the heading is on.

type: "tableOfContents"


outlineLevels: { from: number; to: number; } | null

The heading levels listed, inclusive at both ends, or null for every level.