Create it with create() and then configure it on the builders
The parsed macros text is turned into MacroReference nodes.
| 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 |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MacrosExtension | |
| public void | extend(Formatter.
Implements com.
|
| 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 | rendererOptions(@NotNull 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. |
| public boolean | transferReferences(MutableDataHolder
destination document for references document, DataHolder source document for references included)Implements com. This method is called to transfer references from included document to the source document |
| MACRO_DEFINITIONS | back to summary |
|---|---|
| public static final DataKey<MacroDefinitionRepository> MACRO_DEFINITIONS | |
| MACRO_DEFINITIONS_KEEP | back to summary |
|---|---|
| public static final DataKey<KeepType> MACRO_DEFINITIONS_KEEP | |
| MACRO_DEFINITIONS_PLACEMENT | back to summary |
|---|---|
| public static final DataKey<ElementPlacement> MACRO_DEFINITIONS_PLACEMENT | |
| MACRO_DEFINITIONS_SORT | back to summary |
|---|---|
| public static final DataKey<ElementPlacementSort> MACRO_DEFINITIONS_SORT | |
| SOURCE_WRAP_MACRO_REFERENCES | back to summary |
|---|---|
| public static final DataKey<Boolean> SOURCE_WRAP_MACRO_REFERENCES | |
| MacrosExtension | back to summary |
|---|---|
| private MacrosExtension() | |
| create | back to summary |
|---|---|
| public static MacrosExtension create() | |
| extend | back to summary |
|---|---|
| public void extend(Formatter. Implements com.
| |
| 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) Implements com. Doc from com. This method is called first on all extensions so that they can adjust the options.
| |
| transferReferences | back to summary |
|---|---|
| public boolean transferReferences(MutableDataHolder document, DataHolder included) Implements com. Doc from com. This method is called to transfer references from included document to the source document
| |