@evidential-fortune-sheet/fortune-excel
Version:
An Excel import/export import library for FortuneSheet
51 lines (50 loc) • 1.3 kB
TypeScript
import { IuploadfileList } from "../common/ICommon";
import { FortuneFileBase } from "./FortuneBase";
export declare class FortuneFile {
private files;
private sheetNameList;
private readXml;
private fileName;
private styles;
private sharedStrings;
private calcChain;
private imageList;
private sheets?;
private info?;
constructor(files: IuploadfileList, fileName: string);
/**
* @return All sheet name of workbook
*/
private getSheetNameList;
/**
* @param sheetName WorkSheet'name
* @return sheet file name and path in zip
*/
private getSheetFileBysheetId;
/**
* @return workBook information
*/
getWorkBookInfo(): void;
/**
* @return All sheet , include whole information
*/
getSheetsFull(isInitialCell?: boolean): void;
private columnWidthSet;
private rowHeightSet;
private extendArray;
private imagePositionCaculation;
/**
* @return drawing file string
*/
private getDrawingFile;
private getDrawingRelsFile;
/**
* @return All sheet base information widthout cell and config
*/
getSheetsWithoutCell(): void;
/**
* @return FortuneSheet file json
*/
Parse(): void;
serialize(): FortuneFileBase;
}