HtmlTable

Overview

HtmlTable is a class in Aspose.Cells FOSS for Typescript.

Properties

NameTypeAccessDescription
cols: numberRead
count: numberRead
height: numberRead
captionstring | undefinedRead
headersstring[]Read
rowsstring[][]Read
colWidthsnumber[]Read
rowHeightsnumber[]Read
hiddenRowsboolean[]Read
picturesPictureInfo[]Read
style: stringRead
color: stringRead
style: stringRead
color: stringRead

Methods

SignatureDescription
constructor(caption: string)
setCssClasses(classes: Map<string, CellStyle>)
getCellStyle(row: number, col: number)CellStyle | undefined
addHeader(header: string)
addRow(row: string[])
parseAll(html: string, cssClasses: Map<string, CellStyle>)HtmlTable[]
toWorksheet(worksheet: Worksheet, options: HtmlParseOptions)
parse(html: string, cssClasses: Map<string, CellStyle>)HtmlTable
mergeTables(tables: HtmlTable[])HtmlTable
toHtml(options: HtmlSaveOptions)string

See Also