@univerjs-proexchange-clientfacadeinterfacesIfuniverexchangeclientmixin

@univerjs-pro/exchange-client v0.5.1Docs


Interface: IFUniverExchangeClientMixin

Methods

exportXLSXBySnapshot()

exportXLSXBySnapshot(snapshot): Promise<undefined | File>

Export XLSX file by workbook data

Parameters

ParameterType
snapshotIWorkbookData

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

ParameterType
unitIdstring

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

ParameterTypeDescription
filestring | FileFile 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

ParameterTypeDescription
filestring | FileFile 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

ParameterTypeDescription
filestring | FileFile 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

ParameterTypeDescription
filestring | FileFile path or file object

Returns

Promise<undefined | string>

Defined in

packages/exchange-client/src/facade/f-univer.ts:11