HtmlTable
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řístup | Popis: |
|---|---|---|---|
cols | : number | Čtení | Získá cols. |
count | : number | Čtení | Vrací počet. |
height | : number | Čtení | Získá výšku. |
caption | `string | undefined` | Čtení |
headers | string[] | Čtení | Získá hlavičky. |
rows | string[][] | Čtení | Vrací řádky. |
colWidths | number[] | Čtení | Získá šířky col. |
rowHeights | number[] | Čtení | Získá výšky řádků. |
hiddenRows | boolean[] | Čtení | Získá skryté řádky. |
pictures | PictureInfo[] | Č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) → `CellStyle | undefined` |
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>) → HtmlTable | Volá parse(html, cssClasses) na této instanci HtmlTable. |
mergeTables(tables: HtmlTable[]) → HtmlTable | Volá mergeTables(tables) na této instanci HtmlTable. |
toHtml(options: HtmlSaveOptions) → string | Volá toHtml(options) na této instanci HtmlTable. |