Paged.The open publishing system
The format atlas
Element referenceResources/Styles

<TOCStyle> / Element reference

TOCStyle

The TOCStyle element in IDML: where it appears (Resources/Styles), its 12 attributes, their values, and how real documents use them.

Tier: ProProIIIreference

Definition

A table-of-contents recipe: a title, its paragraph style, and one entry per paragraph style to collect.

Lives in
Resources/Styles 272
Frequency
In 272 of the 305 documents of the census (89.2%), 2026-10-12
Attributes
12 observed, 5 of them vary between documents
Discussed in
Table of contents, Cross-references & hyperlinks, Resource parts and Styles

Structure

Relationships

Inside

TOCStyle

Contains

Where TOCStyle sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).

Attributes

AttributeTypeValuesSeen in
Name#
The name InDesign shows for the object in its panels. References between objects use Self, never the name.
keyword or textany100%
varies in 2
Self#
The object's ID, unique within the document. An attribute that refers to this object holds this value.
reference to TOCStyleany100%
varies in 2
Title#
The heading set at the top of the generated list, such as Contents.
keyword or textany100%
varies in 8
TitleStyle#
The paragraph style the title is set in, by Self.
reference to ParagraphStyleany100%
varies in 1
CreateBookmarks#
When true, the entries become bookmarks in exported PDF.
booleantrue27199.6%
IncludeBookDocuments#
When true, entries are also collected from the other documents of the book this document belongs to.
booleanfalse27199.6%
IncludeHidden#
Whether paragraphs on hidden layers are collected too.
booleanfalse27199.6%
NumberedParagraphs#keywordIncludeFullParagraph27099.6%
varies in 1
RunIn#
When true, all entries of a level run together in one paragraph instead of one per line.
booleanfalse27199.6%
SetStoryDirection#keywordHorizontal27199.6%
MakeAnchor#
When true, a text anchor is placed at each collected paragraph.
booleanfalse26697.8%
RemoveForcedLineBreak#
When true, forced line breaks are removed from the collected text.
booleanfalse8430.9%
The attributes documents set on TOCStyle (census of 2026-10-12, 305 documents). Seen in is the share of the 272 documents with a TOCStyle that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.

Evidence

Observed
In 272 of 305 documents (89.2%): Resources/Styles 272.
Census
Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
Counts are
Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.

Paged support

What Paged, one implementation of the format, does with TOCStyle. Nothing in this panel is part of the format; the reference above holds for any reader.

As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.

Parse
Reads 8 of the 12 attributes
Render
No feature of the capability record names this element
Edit
No attribute maps to a scriptable path
Write
Writes none of its attributes on IDML export

By attribute

AttributeParseEditWrite
Namereadsstyles.rs:1603—not written
Selfreadsstyles.rs:1602—not written
Titlereadsstyles.rs:1604—not written
TitleStylereadsstyles.rs:1605—not written
CreateBookmarksreadsstyles.rs:1610—not written
IncludeBookDocumentsreadsstyles.rs:1606—not written
IncludeHiddenreadsstyles.rs:1607—not written
NumberedParagraphsnot read—not written
RunInreadsstyles.rs:1608—not written
SetStoryDirectionnot read—not written
MakeAnchornot read—not written
RemoveForcedLineBreaknot read—not written

Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names TOCStyle.

On this page