sheetjs/misc/flow.js
SheetJS a8736580a5 version bump 0.10.0: cleanup
- updated SSF to 0.9.2
- XLSB style records and number format writing
- CSV avoid parseFloat (fixes #646 h/t @jabbermarky)
- CSV recognize mac line ending (fixes #648 h/t @charlesread)
- BIFF2 format table refactored to align with SSF
- BIFF5 image data exposure
- SSF custom format auto table update (fixes #267 h/t @Fangmingdu)
- eslint more checks
- browser test timeout extended to 10 seconds
2017-05-09 14:07:57 -04:00

99 lines
1.4 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;
Workbook?: WBWBProps;
SSF?: {[n:number]:string};
cfb?: any;
};
type WorkbookProps = {
SheetNames?: Array<string>;
}
type WBWBProps = {
Sheets: Array<WBWSProp>;
};
type WBWSProp = {
Hidden?: number;
name?: string;
}
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 RowInfo = {
hidden:?boolean; // if true, the row is hidden
hpx?:number; // height in screen pixels
hpt?:number; // height in points
};
type ColInfo = {
hidden:?boolean; // if true, the column is hidden
wpx?:number; // width in screen pixels
width:number; // width in Excel's "Max Digit Width", width*256 is integral
wch?:number; // width in characters
MDW?:number; // Excel's "Max Digit Width" unit, always integral
};
type AOA = Array<Array<any> >;
*/