Create it with create() and then configure it on the builders
The parsed [TOC] text is turned into TocBlock nodes.
Rendered into table of contents based on the headings in the document
| Modifier and Type | Field and Description |
|---|---|
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final NullableDataKey | |
| public static final DataKey | |
| public static final AttributablePart | |
| public static final AttributablePart |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TocExtension | |
| public void | extend(Parser.
parser builder with which to register extensions parserBuilderImplements com. This method is called on all extensions so that they can register their custom processors |
| public void | |
| public void | parserOptions(MutableDataHolder
option set that will be used for the builder options)Implements com. This method is called first on all extensions so that they can adjust the options that must be common to all extensions. |
| public void |
| AST_INCLUDE_OPTIONS | back to summary |
|---|---|
| public static final DataKey<Boolean> AST_INCLUDE_OPTIONS | |
| BLANK_LINE_SPACER | back to summary |
|---|---|
| public static final DataKey<Boolean> BLANK_LINE_SPACER | |
| CASE_SENSITIVE_TOC_TAG | back to summary |
|---|---|
| public static final DataKey<Boolean> CASE_SENSITIVE_TOC_TAG | |
| DIV_CLASS | back to summary |
|---|---|
| public static final DataKey<String> DIV_CLASS | |
| FORMAT_OPTIONS | back to summary |
|---|---|
| public static final DataKey<TocOptions> FORMAT_OPTIONS | |
| FORMAT_UPDATE_ON_FORMAT | back to summary |
|---|---|
| public static final DataKey<SimTocGenerateOnFormat> FORMAT_UPDATE_ON_FORMAT | |
| IS_HTML | back to summary |
|---|---|
| public static final DataKey<Boolean> IS_HTML | |
| IS_NUMBERED | back to summary |
|---|---|
| public static final DataKey<Boolean> IS_NUMBERED | |
| IS_TEXT_ONLY | back to summary |
|---|---|
| public static final DataKey<Boolean> IS_TEXT_ONLY | |
| LEVELS | back to summary |
|---|---|
| public static final DataKey<Integer> LEVELS | |
| LIST_CLASS | back to summary |
|---|---|
| public static final DataKey<String> LIST_CLASS | |
| LIST_TYPE | back to summary |
|---|---|
| public static final DataKey<TocOptions. | |
| TITLE | back to summary |
|---|---|
| public static final NullableDataKey<String> TITLE | |
| TITLE_LEVEL | back to summary |
|---|---|
| public static final DataKey<Integer> TITLE_LEVEL | |
| TOC_CONTENT | back to summary |
|---|---|
| public static final AttributablePart TOC_CONTENT | |
| TOC_LIST | back to summary |
|---|---|
| public static final AttributablePart TOC_LIST | |
| TocExtension | back to summary |
|---|---|
| private TocExtension() | |
| create | back to summary |
|---|---|
| public static TocExtension create() | |
| extend | back to summary |
|---|---|
| public void extend(Parser. Implements com. Doc from com. This method is called on all extensions so that they can register their custom processors | |
| extend | back to summary |
|---|---|
public void extend(HtmlRenderer.
| |
| parserOptions | back to summary |
|---|---|
| public void parserOptions(MutableDataHolder options) Implements com. Doc from com. This method is called first on all extensions so that they can adjust the options that must be common to all extensions.
| |
| rendererOptions | back to summary |
|---|---|
public void rendererOptions(@NotNull MutableDataHolder options)
| |