[]
Ƭ CheckCancelCallback: () => boolean
▸ (): boolean
The type of callback that gets called before sheet rendering, the render process will be canceled if the function returns true.
boolean
node_modules/@grapecity/ar-js-xlsx/dist/ar-js-xlsx.d.ts:44
Ƭ OnProgressCallback: (pageNumber: number) => void
▸ (pageNumber): void
The type of callback that gets called after each sheet is rendered.
| Name | Type |
|---|---|
pageNumber |
number |
void
node_modules/@grapecity/ar-js-xlsx/dist/ar-js-xlsx.d.ts:42
Ƭ PageSettings: Object
Page settings.
| Name | Type | Description |
|---|---|---|
orientation? |
"portrait" | "landscape" |
Page orientation. |
size? |
PageSize |
Page size. |
node_modules/@grapecity/ar-js-xlsx/dist/ar-js-xlsx.d.ts:15
Ƭ PageSize: "Letter" | "Legal" | "Executive" | "A4" | "A5" | "B5" | "Envelope_10" | "Envelope_DL" | "Envelope_C5" | "Envelope_B5" | "Envelope_Monarch" | "Double_Japan_Postcard_Rotated" | "K16_197x273_mm"
Page size
node_modules/@grapecity/ar-js-xlsx/dist/ar-js-xlsx.d.ts:8
Ƭ XlsxExportResult: Object
Export result
| Name | Type | Description |
|---|---|---|
data |
Blob |
Result content. |
download |
(filename?: string) => void |
- |
node_modules/@grapecity/ar-js-xlsx/dist/ar-js-xlsx.d.ts:35
Ƭ XlsxSettings: Object
Xlsx export settings.
| Name | Type | Description |
|---|---|---|
info? |
XlsxSettingsInfo |
Document metadata. |
pageSettings? |
PageSettings |
Page settings. |
password? |
string |
Encrypts a document with a password. |
sheetName? |
string |
The sheet name prefix, e.g. "Sheet_". |
node_modules/@grapecity/ar-js-xlsx/dist/ar-js-xlsx.d.ts:22
Ƭ XlsxSettingsInfo: Object
Xlsx info
| Name | Type | Description |
|---|---|---|
creator? |
string |
Creator |
node_modules/@grapecity/ar-js-xlsx/dist/ar-js-xlsx.d.ts:10
▸ exportDocument(source, settings?, onProgress?, checkCancel?): Promise<XlsxExportResult>
Exports a provided PageDocument to the XLSX format and returns it as Blob.
| Name | Type | Description |
|---|---|---|
source |
PageDocument | VDomRenderer |
The document to export. |
settings? |
XlsxSettings |
Export settings. |
onProgress? |
OnProgressCallback |
The callback that gets called after each sheet is rendered. |
checkCancel? |
CheckCancelCallback |
The callback that gets called before sheet rendering, the render process will be canceled if the function returns true. |
Promise<XlsxExportResult>
node_modules/@grapecity/ar-js-xlsx/dist/ar-js-xlsx.d.ts:53