@univerjs-pro/exchange-client v0.5.1 • Docs
Interface: IFUniverExchangeClientMixin
Methods
exportXLSXBySnapshot()
exportXLSXBySnapshot(snapshot): Promise<undefined | File>
Export XLSX file by workbook data
Parameters
Parameter | Type |
---|---|
snapshot | IWorkbookData |
Returns
Promise
<undefined
| File
>
Defined in
packages/exchange-client/src/facade/f-univer.ts:27
exportXLSXByUnitId()
exportXLSXByUnitId(unitId): Promise<undefined | File>
Export XLSX file by unit id
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
Promise
<undefined
| File
>
Defined in
packages/exchange-client/src/facade/f-univer.ts:22
importDOCXToSnapshot()
importDOCXToSnapshot(file): Promise<undefined | IDocumentData>
Import DOCX file to document data
Parameters
Parameter | Type | Description |
---|---|---|
file | string | File | File path or file object |
Returns
Promise
<undefined
| IDocumentData
>
Defined in
packages/exchange-client/src/facade/f-univer.ts:38
importDOCXToUnitId()
importDOCXToUnitId(file): Promise<undefined | string>
Import DOCX file to unit id
Parameters
Parameter | Type | Description |
---|---|---|
file | string | File | File path or file object |
Returns
Promise
<undefined
| string
>
Defined in
packages/exchange-client/src/facade/f-univer.ts:32
importXLSXToSnapshot()
importXLSXToSnapshot(file): Promise<undefined | IWorkbookData>
Import XLSX file to workbook data
Parameters
Parameter | Type | Description |
---|---|---|
file | string | File | File path or file object |
Returns
Promise
<undefined
| IWorkbookData
>
Defined in
packages/exchange-client/src/facade/f-univer.ts:17
importXLSXToUnitId()
importXLSXToUnitId(file): Promise<undefined | string>
Import XLSX file to unit id
Parameters
Parameter | Type | Description |
---|---|---|
file | string | File | File path or file object |
Returns
Promise
<undefined
| string
>
Defined in
packages/exchange-client/src/facade/f-univer.ts:11