public final class MarkdownTableFormatter extends TableFormatter
Provides the functionality to format the table as Markdown formatting.
Constructor and Description |
---|
MarkdownTableFormatter()
Initializes a new instance
of the
MarkdownTableFormatter class. |
Modifier and Type | Method and Description |
---|---|
String |
closeTable()
Closes the current table.
|
protected String |
formatText(TableRow item,
DocumentPartOptions documentPartOptions)
Converts
item to the string with formatting. |
getColumnWidthCollection
getPreviousDocumentPartOptions, getPreviousItem, getText, getText, isEmpty, isFirstItem, reset
public MarkdownTableFormatter()
Initializes a new instance
of the MarkdownTableFormatter
class.
public String closeTable()
Closes the current table.
closeTable
in class TableFormatter
protected String formatText(TableRow item, DocumentPartOptions documentPartOptions)
Converts item
to the string with formatting.
formatText
in class DocumentPartFormatter<TableRow>
item
- The item for formatting.documentPartOptions
- The options for formatting.item
.Copyright © 2019. All rights reserved.