public final class HtmlTableFormatter extends TableFormatter
Provides the functionality to format the table as HTML formatting.
Constructor and Description |
---|
HtmlTableFormatter()
Initializes a new instance
of the
HtmlTableFormatter 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 HtmlTableFormatter()
Initializes a new instance
of the HtmlTableFormatter
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.