Table of Contents
These styles define the look and feel of the table of contents popup.
Common
| Attribute | Type | Default | Description |
|---|---|---|---|
| integer | 500 | Popup width In pixels |
| integer | 16 | Level indentation In pixels |
| boolean | true | Display page numbers |
Items
Label text format
info
Inherits from popups.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Page number text format
info
Inherits from popups.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Page number size In pixels |
| color | Page number color | |
| percent | 0.5 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Level formats
The table of contents can display up to 6 nested levels of items.
Level 1
info
Inherits from toc.items.label
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 18 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | true | Use bold text |
| boolean | false | Use italic text |
info
Inherits from toc.items.pagenumber
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Level 2
info
Inherits from toc.items.label
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 16 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | true | Use bold text |
| boolean | false | Use italic text |
info
Inherits from toc.items.pagenumber
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Level 3
info
Inherits from toc.items.label
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 14 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
info
Inherits from toc.items.pagenumber
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Level 4
info
Inherits from toc.items.label
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 12 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
info
Inherits from toc.items.pagenumber
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Level 5
info
Inherits from toc.items.label
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 11 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
info
Inherits from toc.items.pagenumber
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Level 6
info
Inherits from toc.items.label
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 9 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
info
Inherits from toc.items.pagenumber
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |