public class TablesExtension extends Object implements com.vladsch.flexmark.parser.Parser.ParserExtension, com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtension, com.vladsch.flexmark.formatter.internal.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.
| Modifier and Type | Field and Description |
|---|---|
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
APPEND_MISSING_COLUMNS |
static com.vladsch.flexmark.util.options.DataKey<String> |
CLASS_NAME |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
COLUMN_SPANS |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
DISCARD_EXTRA_COLUMNS |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
FORMAT_ADJUST_COLUMN_WIDTH |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
FORMAT_APPLY_COLUMN_ALIGNMENT |
static com.vladsch.flexmark.util.options.DataKey<com.vladsch.flexmark.util.mappers.CharWidthProvider> |
FORMAT_CHAR_WIDTH_PROVIDER |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
FORMAT_FILL_MISSING_COLUMNS |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
FORMAT_LEAD_TRAIL_PIPES |
static com.vladsch.flexmark.util.options.DataKey<com.vladsch.flexmark.util.format.options.DiscretionaryText> |
FORMAT_LEFT_ALIGN_MARKER |
static com.vladsch.flexmark.util.options.DataKey<Integer> |
FORMAT_MIN_SEPARATOR_COLUMN_WIDTH |
static com.vladsch.flexmark.util.options.DataKey<Integer> |
FORMAT_MIN_SEPARATOR_DASHES |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
FORMAT_REMOVE_CAPTION |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
FORMAT_SPACE_AROUND_PIPES |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
HEADER_SEPARATOR_COLUMN_MATCH |
static com.vladsch.flexmark.util.options.DataKey<Integer> |
MAX_HEADER_ROWS |
static com.vladsch.flexmark.util.options.DataKey<Integer> |
MIN_HEADER_ROWS |
static com.vladsch.flexmark.util.options.DataKey<Integer> |
MIN_SEPARATOR_DASHES |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
MULTI_LINE_ROWS |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
TRIM_CELL_WHITESPACE |
static com.vladsch.flexmark.util.options.DataKey<Boolean> |
WITH_CAPTION |
| Constructor and Description |
|---|
TablesExtension() |
| Modifier and Type | Method and Description |
|---|---|
static com.vladsch.flexmark.Extension |
create() |
void |
extend(com.vladsch.flexmark.formatter.internal.Formatter.Builder builder) |
void |
extend(com.vladsch.flexmark.html.HtmlRenderer.Builder rendererBuilder,
String rendererType) |
void |
extend(com.vladsch.flexmark.parser.Parser.Builder parserBuilder) |
void |
parserOptions(com.vladsch.flexmark.util.options.MutableDataHolder options) |
void |
rendererOptions(com.vladsch.flexmark.util.options.MutableDataHolder options) |
public static final com.vladsch.flexmark.util.options.DataKey<Integer> MAX_HEADER_ROWS
public static final com.vladsch.flexmark.util.options.DataKey<Integer> MIN_HEADER_ROWS
public static final com.vladsch.flexmark.util.options.DataKey<Integer> MIN_SEPARATOR_DASHES
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> APPEND_MISSING_COLUMNS
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> DISCARD_EXTRA_COLUMNS
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> TRIM_CELL_WHITESPACE
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> COLUMN_SPANS
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> HEADER_SEPARATOR_COLUMN_MATCH
public static final com.vladsch.flexmark.util.options.DataKey<String> CLASS_NAME
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> WITH_CAPTION
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> MULTI_LINE_ROWS
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> FORMAT_LEAD_TRAIL_PIPES
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> FORMAT_SPACE_AROUND_PIPES
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> FORMAT_ADJUST_COLUMN_WIDTH
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> FORMAT_APPLY_COLUMN_ALIGNMENT
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> FORMAT_FILL_MISSING_COLUMNS
public static final com.vladsch.flexmark.util.options.DataKey<Boolean> FORMAT_REMOVE_CAPTION
public static final com.vladsch.flexmark.util.options.DataKey<com.vladsch.flexmark.util.format.options.DiscretionaryText> FORMAT_LEFT_ALIGN_MARKER
public static final com.vladsch.flexmark.util.options.DataKey<Integer> FORMAT_MIN_SEPARATOR_COLUMN_WIDTH
public static final com.vladsch.flexmark.util.options.DataKey<Integer> FORMAT_MIN_SEPARATOR_DASHES
public static final com.vladsch.flexmark.util.options.DataKey<com.vladsch.flexmark.util.mappers.CharWidthProvider> FORMAT_CHAR_WIDTH_PROVIDER
public static com.vladsch.flexmark.Extension create()
public void extend(com.vladsch.flexmark.formatter.internal.Formatter.Builder builder)
extend in interface com.vladsch.flexmark.formatter.internal.Formatter.FormatterExtensionpublic void rendererOptions(com.vladsch.flexmark.util.options.MutableDataHolder options)
rendererOptions in interface com.vladsch.flexmark.formatter.internal.Formatter.FormatterExtensionrendererOptions in interface com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtensionpublic void parserOptions(com.vladsch.flexmark.util.options.MutableDataHolder options)
parserOptions in interface com.vladsch.flexmark.parser.Parser.ParserExtensionpublic void extend(com.vladsch.flexmark.parser.Parser.Builder parserBuilder)
extend in interface com.vladsch.flexmark.parser.Parser.ParserExtensionpublic void extend(com.vladsch.flexmark.html.HtmlRenderer.Builder rendererBuilder,
String rendererType)
extend in interface com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtensionCopyright © 2018. All rights reserved.