HtmlTable

개요

HtmlTable은 Aspose.Cells FOSS for TypeScript의 클래스입니다.

이 클래스는 TypeScript 프로그램에서 HtmlTable 객체를 위해 10개의 메서드를 선언합니다. 사용 가능한 메서드에는 addHeader, addRow, constructor, getCellStyle, mergeTables, parse, parseAll, setCssClasses, toHtml, toWorksheet가 포함됩니다. 공개 멤버는 Aspose.Cells FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다. 속성: caption, colWidths, color, cols, count, headers, 그리고 6개가 더 있습니다.

속성

이름유형액세스설명
cols: number읽기열을 가져옵니다.
count: number읽기카운트를 가져옵니다.
height: number읽기높이를 가져옵니다.
caption`stringundefined`읽기
headersstring[]읽기헤더를 가져옵니다.
rowsstring[][]읽기행을 가져옵니다.
colWidthsnumber[]읽기열 너비를 가져옵니다.
rowHeightsnumber[]읽기행 높이를 가져옵니다.
hiddenRowsboolean[]읽기숨겨진 행을 가져옵니다.
picturesPictureInfo[]읽기그 그림을 가져옵니다.
style: string읽기스타일을 가져옵니다.
color: string읽기색상을 가져옵니다.
style: string읽기스타일을 가져옵니다.
color: string읽기색상을 가져옵니다.

메서드

시그니처설명
constructor(caption: string)이 HtmlTable 인스턴스에서 constructor(caption)를 호출합니다.
setCssClasses(classes: Map<string, CellStyle>)css 클래스 값을 설정합니다.
getCellStyle(row: number, col: number) → `CellStyleundefined`
addHeader(header: string)이 HtmlTable 인스턴스에서 addHeader(header)를 호출합니다.
addRow(row: string[])이 HtmlTable 인스턴스에서 addRow(row)를 호출합니다.
parseAll(html: string, cssClasses: Map<string, CellStyle>) → HtmlTable[]이 HtmlTable 인스턴스에서 parseAll(html, cssClasses)를 호출합니다.
toWorksheet(worksheet: Worksheet, options: HtmlParseOptions)이 HtmlTable 인스턴스에서 toWorksheet(worksheet, options)를 호출합니다.
parse(html: string, cssClasses: Map<string, CellStyle>) → HtmlTable이 HtmlTable 인스턴스에서 parse(html, cssClasses)를 호출합니다.
mergeTables(tables: HtmlTable[]) → HtmlTable이 HtmlTable 인스턴스에서 mergeTables(tables)를 호출합니다.
toHtml(options: HtmlSaveOptions) → string이 HtmlTable 인스턴스에서 toHtml(options)를 호출합니다.

참조

 한국어