public class TablesExtension extends Object implements Parser.ParserExtension, HtmlRenderer.HtmlRendererExtension, Formatter.FormatterExtension
Create it with create() and then configure it on the builders
(Parser.Builder.extensions(Iterable),
HtmlRenderer.Builder.extensions(Iterable)).
The parsed tables are turned into TableBlock blocks.
EMPTY_LIST, EMPTY_SET| Constructor and Description |
|---|
TablesExtension() |
| Modifier and Type | Method and Description |
|---|---|
static Extension |
create() |
void |
extend(Formatter.Builder builder) |
void |
extend(HtmlRenderer.Builder rendererBuilder,
String rendererType) |
void |
extend(Parser.Builder parserBuilder) |
void |
parserOptions(MutableDataHolder options) |
void |
rendererOptions(MutableDataHolder options) |
public static final DataKey<DiscretionaryText> FORMAT_LEFT_ALIGN_MARKER
public static final DataKey<Integer> FORMAT_MIN_SEPARATOR_COLUMN_WIDTH
public static final DataKey<CharWidthProvider> FORMAT_CHAR_WIDTH_PROVIDER
public static Extension create()
public void extend(Formatter.Builder builder)
extend in interface Formatter.FormatterExtensionpublic void rendererOptions(MutableDataHolder options)
rendererOptions in interface Formatter.FormatterExtensionrendererOptions in interface HtmlRenderer.HtmlRendererExtensionpublic void parserOptions(MutableDataHolder options)
parserOptions in interface Parser.ParserExtensionpublic void extend(Parser.Builder parserBuilder)
extend in interface Parser.ParserExtensionpublic void extend(HtmlRenderer.Builder rendererBuilder, String rendererType)
extend in interface HtmlRenderer.HtmlRendererExtensionCopyright © 2017. All rights reserved.