Class TableParserHtml
System.Object
  MarkdownMonster.Windows.TableParserHtml
public class TableParserHtml : object

Class Members

MemberDescription

Constructor

DetectTableType

determines if a string contains a given type of Markdown Table

public MarkdownTableType DetectTableType(string tableMarkdown)

FormatMarkdownTable

Re-Formats a Markdown table to nicely formatted output (size permitting)

public string FormatMarkdownTable(string tableMarkdown)

GetColumnInfo

Retrieves information about each of the columns in the table including max width and title. Looks at the first row of the table data.

public List GetColumnInfo(TableData data)

public List GetColumnInfo(TableData data,     bool forPipeTable)

ParseCsvFileToData

public TableData ParseCsvFileToData(string filename,     string delimiter)

ParseCsvStreamToData

public TableData ParseCsvStreamToData(Stream stream,     string delimiter)

ParseCsvStringToData

public TableData ParseCsvStringToData(string csvContent,     string delimiter)

ParseHtmlToData

Parses and HTML table to a TableData object

public TableData ParseHtmlToData(string html)

ParseJsonToData

Parses JSON Object Collection to table data.

public TableData ParseJsonToData(string json,     string fieldExclusions)

ParseMarkdownGridTableToData

Parses a Markdown Grid table to a Data Observable Collection

public TableData ParseMarkdownGridTableToData(string tableMarkdown)

ParseMarkdownToData

Parses a table represented as Markdown or HTML into an Observable collection

public TableData ParseMarkdownToData(string tableMarkdown)

ToGridTableMarkdown

public string ToGridTableMarkdown(TableData tableData)

ToPipeTableMarkdown

public string ToPipeTableMarkdown(TableData tableData)

ToTableHtml

Takes the input collection and parses it into an HTML string. First row is considered to be the header of the table.

public string ToTableHtml(TableData tableData)

ErrorMessage

MaxColumnWidth

Maximum column width that's to be padded. If greater values are rendering ragged

TableData

The data to process

Requirements

Namespace: MarkdownMonster.Windows
Assembly: markdownmonster.exe

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic