UNPKG

@mertdeveci55/univer-import-export

Version:

Excel/CSV import and export library for Univer spreadsheets with full format preservation

32 lines (31 loc) 980 B
import { IStyleData, IWorkbookData, IWorksheetData, Nullable } from '@univerjs/core'; import { IResources } from '@univerjs/core/lib/types/services/resource-manager/type'; import { HyperLink } from './UniverSheet'; import { ILuckyFile } from '../ToLuckySheet/ILuck'; interface Sheets { [sheetId: string]: Partial<IWorksheetData & { hyperLink: HyperLink[]; }>; } export declare class UniverWorkBook implements IWorkbookData { id: string; rev?: number | undefined; name: string; appVersion: string; locale: any; styles: Record<string, Nullable<IStyleData>>; sheetOrder: string[]; sheets: Sheets; resources?: IResources | undefined; constructor(file: ILuckyFile); get mode(): IWorkbookData; private handleHyperLinks; private handleImage; private handleChart; private handleNames; private handleCondition; private handleVerification; private handleFilter; private collectStyles; } export {};