HtmlDocument

HtmlDocument

Přehled

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

Tato třída deklaruje 6 metod pro objekty HtmlDocument v programech TypeScript. Dostupné metody zahrnují: getOriginalAnchor, load, loadOriginalAnchors, parse, toExcel, toWorkbook. Veřejné členy jsou přístupné jakékoli aplikaci TypeScript po instalaci balíčku Aspose.Cells FOSS pro TypeScript. Vlastnosti: color, cssClasses, filePath, html, images, name, a ještě 3 další.

Vlastnosti

Název:Typ:PřístupPopis:
name: stringČteníZíská název.
html: stringČteníZíská html.
cssClasses: Map<string, CellStyle>ČteníZíská css třídy.
filePath: stringČteníZíská cestu k souboru.
style: stringČteníZíská styl.
color: stringČteníZíská barvu.
style: stringČteníZíská styl.
color: stringČteníZíská barvu.
tablesHtmlTable[]ČteníZíská tabulky.
htmlstringČteníZíská HTML.
images: ImageInfo[]ČteníZíská obrázky.
shapes: any[]ČteníZíská tvary.

Metody

Podpis:Popis:
load(filePath: string) → Promise<HtmlDocument>Volá load(filePath) na této instanci HtmlDocument.
loadOriginalAnchors(filePath: string) → Promise<void>Volá loadOriginalAnchors(filePath) na této instanci HtmlDocument.
getOriginalAnchor(name: string) → `ShapeAnchorundefined`
parse(html: string) → HtmlDocumentVolá parse(html) na této instanci HtmlDocument.
toWorkbook(options: HtmlParseOptions) → WorkbookVolá toWorkbook(options) na této instanci HtmlDocument.
toExcel(filePath: string, options: HtmlParseOptions)Volá toExcel(filePath, options) na této instanci HtmlDocument.

Viz také:

 Čeština