19.7.3 Choosing how far to expand contents and index subentries

By default, clicking a “+” icon expands only the subentries at the next level down in the contents or index; any subentries at that level that have subentries of their own remain unexpanded. You can choose how many levels to expand.

Contents expansion levels

To specify how many subentry levels to expand in the table of contents:

[OmniHelpOptions]
; TocGroupsOpen = No (default, open TOC with groups closed) or Yes
TocGroupsOpen=No
; TocOpenLevel = level to open to, default 0 for top level only.
TocOpenLevel=0

If you set TocOpenLevel to a number greater than zero, also make sure that TocGroupsOpen=No; otherwise, all levels are expanded when you click a “+” icon.

Index expansion levels

To specify how many subentry levels to expand in the index:

[OmniHelpOptions]
; IdxGroupsOpen = No (default, open Index with groups closed) or Yes
IdxGroupsOpen=No
; IdxOpenLevel = level to open to, default 0 for top level only.
IdxOpenLevel=0

If you set IdxOpenLevel to a number greater than zero, also make sure that IdxGroupsOpen=No; otherwise, all levels are expanded when you click a “+” icon.

Previous Topic:  19.7.2 Choosing whether to use expanding contents or index

Next Topic:  19.7.4 Providing alternate expansion icons for contents or index

Parent Topic:  19.7 Configuring contents and index for OmniHelp

Sibling Topics:

19.7.1 Understanding OmniHelp contents and index creation

19.7.2 Choosing whether to use expanding contents or index

19.7.4 Providing alternate expansion icons for contents or index

19.7.5 Excluding Open All and Close All buttons

19.7.6 Redirecting See and See also index entries

Table of ContentsIndex