Class TableParagraphPreProcessor
java.lang.Object
com.vladsch.flexmark.ext.tables.internal.TableParagraphPreProcessor
- All Implemented Interfaces:
ParagraphPreProcessor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TableParserOptionsprivate static BitSetprivate static HashMap<Character, CharacterNodeFactory> private static HashMap<Character, CharacterNodeFactory> private static BitSet(package private) Pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncleanUpInlinedSeparators(InlineParser inlineParser, TableRow tableRow, List<Node> sepList) static ParagraphPreProcessorFactoryFactory()private static TableCell.AlignmentgetAlignment(boolean left, boolean right) static PatterngetTableHeaderSeparator(int minColumnDashes, String intellijDummyIdentifier) private List<TableCell.Alignment> parseAlignment(BasedSequence separatorLine) intpreProcessBlock(Paragraph block, ParserState state) Process Paragraph Content on closing of the paragraph block to removeIndex non-text lines.private static List<BasedSequence> split(BasedSequence input, boolean columnSpans, boolean wantPipes)
-
Field Details
-
pipeCharacters
-
separatorCharacters
-
pipeNodeMap
-
pipeIntelliJNodeMap
-
options
-
TABLE_HEADER_SEPARATOR
Pattern TABLE_HEADER_SEPARATOR
-
-
Constructor Details
-
TableParagraphPreProcessor
-
-
Method Details
-
Factory
-
getTableHeaderSeparator
-
preProcessBlock
Description copied from interface:ParagraphPreProcessorProcess Paragraph Content on closing of the paragraph block to removeIndex non-text lines.This is used by extensions to take leading lines from a paragraph and convert them to other blocks
by Default leading lines that define references are removed and Reference nodes are inserted before.
- Specified by:
preProcessBlockin interfaceParagraphPreProcessor- Parameters:
block- paragraph node to processstate- parser state- Returns:
- number of characters processed from the start of the block
-
cleanUpInlinedSeparators
-
parseAlignment
-
split
private static List<BasedSequence> split(BasedSequence input, boolean columnSpans, boolean wantPipes) -
getAlignment
-