Overview
Workbook is a class in Aspose.Cells FOSS for Typescript.
Properties
| Name | Type | Access | Description |
|---|
worksheets | WorksheetCollection | Read | |
sharedStrings | string[] | Read | |
isProtected | boolean | Read | |
charts | ChartInfo[] | Read | |
images | ImageInfo[] | Read | |
activeTab | number | Read/Write | |
password | : string | Read | |
saveFormat | : SaveFormat | Read | |
password | : string | Read | |
saveFormat | : SaveFormat | Read | |
col | : number | Read | |
colOff | : number | Read | |
row | : number | Read | |
rowOff | : number | Read | |
col | : number | Read | |
colOff | : number | Read | |
row | : number | Read | |
rowOff | : number | Read | |
id | : number | Read | |
code | : string | Read | |
fontId | : number | Read | |
fillId | : number | Read | |
borderId | : number | Read | |
numFmtId | : number | Read | |
style | : Style | Read | |
sheetName | : string | Read | |
cells | : { [key: string]: CellValue } | Read | |
Methods
| Signature | Description |
|---|
constructor(createDefault: boolean) | |
load(filePath: string, password: string) → Promise<Workbook> | |
getNumFmt(numFmtId: string | null) → string | |
protect(protect: boolean, password: string) | |
save(filePath: string, options: { password?: string; saveFormat?: SaveFormat }) | |
toHtml() → string | |
toCsv() → string | |
toJson() → string | |
toMarkdown() → string | |
See Also