Workbook

Overview

Workbook is a class in Aspose.Cells FOSS for Typescript.

Properties

NameTypeAccessDescription
worksheetsWorksheetCollectionRead
sharedStringsstring[]Read
isProtectedbooleanRead
chartsChartInfo[]Read
imagesImageInfo[]Read
activeTabnumberRead/Write
password: stringRead
saveFormat: SaveFormatRead
password: stringRead
saveFormat: SaveFormatRead
col: numberRead
colOff: numberRead
row: numberRead
rowOff: numberRead
col: numberRead
colOff: numberRead
row: numberRead
rowOff: numberRead
id: numberRead
code: stringRead
fontId: numberRead
fillId: numberRead
borderId: numberRead
numFmtId: numberRead
style: StyleRead
sheetName: stringRead
cells: { [key: string]: CellValue }Read

Methods

SignatureDescription
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