HtmlTable

Přehled

HtmlTable je třída v Aspose.Cells FOSS pro TypeScript.

Tato třída deklaruje 10 metod pro objekty HtmlTable v programech TypeScript. Dostupné metody zahrnují: addHeader, addRow, constructor, getCellStyle, mergeTables, parse, parseAll, setCssClasses, toHtml, toWorksheet. Veřejné členy jsou přístupné jakékoli aplikaci TypeScript po instalaci balíčku Aspose.Cells FOSS pro TypeScript. Vlastnosti: caption, colWidths, color, cols, count, headers, a dalších 6.

Vlastnosti

Název:Typ:PřístupPopis:
cols: numberČteníZíská cols.
count: numberČteníVrací počet.
height: numberČteníZíská výšku.
caption`stringundefined`Čtení
headersstring[]ČteníZíská hlavičky.
rowsstring[][]ČteníVrací řádky.
colWidthsnumber[]ČteníZíská šířky col.
rowHeightsnumber[]ČteníZíská výšky řádků.
hiddenRowsboolean[]ČteníZíská skryté řádky.
picturesPictureInfo[]ČteníZíská obrázky.
style: stringČteníZíská styl.
color: stringČteníZíská barvu.
style: stringČteníZíská styl.
color: stringČteníZíská barvu.

Metody

Podpis:Popis:
constructor(caption: string)Volá konstruktor(caption) na této instanci HtmlTable.
setCssClasses(classes: Map<string, CellStyle>)Nastavuje hodnotu css tříd.
getCellStyle(row: number, col: number) → `CellStyleundefined`
addHeader(header: string)Volá addHeader(header) na této instanci HtmlTable.
addRow(row: string[])Volá addRow(row) na této instanci HtmlTable.
parseAll(html: string, cssClasses: Map<string, CellStyle>) → HtmlTable[]Volá parseAll(html, cssClasses) na této instanci HtmlTable.
toWorksheet(worksheet: Worksheet, options: HtmlParseOptions)Volá toWorksheet(worksheet, options) na této instanci HtmlTable.
parse(html: string, cssClasses: Map<string, CellStyle>) → HtmlTableVolá parse(html, cssClasses) na této instanci HtmlTable.
mergeTables(tables: HtmlTable[]) → HtmlTableVolá mergeTables(tables) na této instanci HtmlTable.
toHtml(options: HtmlSaveOptions) → stringVolá toHtml(options) na této instanci HtmlTable.

Viz také:

 Čeština