sheetjs-clone/misc/flow.js
SheetJS 70c48a74b9 API Improvements
- `aoa_to_sheet` function (fixes #314 h/t @fonzy2013 @rvdwijngaard)
- `writeFileAsync` function (fixes #396 h/t @barbalex)
- `sheet_to_json` tests + docs + blankrows (fixes #602 h/t @EEaglehouse)
- write number format scan now includes every index >= 50
- propagate SSF IE8 fixes (fixes #171 h/t @sheetjsdev)
- update shim for extendscript (see #603 h/t @firas3d)
- more flow type definitions
2017-03-24 21:36:40 -04:00

73 lines
1.1 KiB
JavaScript

/*::
type ZIPFile = any;
type XLString = {
t:string;
r?:string;
h?:string;
};
type WorkbookFile = any;
type Workbook = {
SheetNames: Array<string>;
Sheets: any;
Props?: any;
Custprops?: any;
Themes?: any;
SSF?: {[n:number]:string};
cfb?: any;
};
interface CellAddress {
r:number;
c:number;
};
type CellAddrSpec = CellAddress | string;
type Cell = any;
type Range = {
s: CellAddress;
e: CellAddress;
}
type Worksheet = any;
type Sheet2CSVOpts = any;
type Sheet2JSONOpts = any;
type ParseOpts = any;
type WriteOpts = any;
type WriteFileOpts = any;
type RawData = any;
interface TypeOpts {
type:string;
}
type XLSXModule = any;
type SST = {
[n:number]:XLString;
Count:number;
Unique:number;
push(x:XLString):void;
length:number;
};
type Comment = any;
type ColInfo = {
MDW?:number; // Excel's "Max Digit Width" unit, always integral
width:number; // width in Excel's "Max Digit Width", width*256 is integral
wpx?:number; // width in screen pixels
wch?:number; // intermediate character calculation
};
type AOA = Array<Array<any> >;
*/