| 
									
										
										
										
											2017-02-03 20:50:45 +00:00
										 |  |  | /*:: | 
					
						
							|  |  |  | type ZIPFile = any; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-12 18:02:43 +00:00
										 |  |  | type XLString = { | 
					
						
							|  |  |  | 	t:string; | 
					
						
							|  |  |  | 	r?:string; | 
					
						
							|  |  |  | 	h?:string; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type WorkbookFile = any; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-03 20:50:45 +00:00
										 |  |  | type Workbook = { | 
					
						
							|  |  |  | 	SheetNames: Array<string>; | 
					
						
							|  |  |  | 	Sheets: any; | 
					
						
							| 
									
										
										
										
											2017-03-12 18:02:43 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	Props?: any; | 
					
						
							|  |  |  | 	Custprops?: any; | 
					
						
							| 
									
										
										
										
											2017-03-18 23:25:50 +00:00
										 |  |  | 	Themes?: any; | 
					
						
							| 
									
										
										
										
											2017-03-12 18:02:43 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-31 18:46:42 +00:00
										 |  |  | 	Workbook?: WBWBProps; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-13 18:21:22 +00:00
										 |  |  | 	SSF?: SSFTable; | 
					
						
							| 
									
										
										
										
											2017-03-12 18:02:43 +00:00
										 |  |  | 	cfb?: any; | 
					
						
							| 
									
										
										
										
											2017-02-03 20:50:45 +00:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-31 18:46:42 +00:00
										 |  |  | type WBWBProps = { | 
					
						
							|  |  |  | 	Sheets: Array<WBWSProp>; | 
					
						
							| 
									
										
										
										
											2017-05-13 18:21:22 +00:00
										 |  |  | 	Names?: Array<any>; | 
					
						
							| 
									
										
										
										
											2017-03-31 18:46:42 +00:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type WBWSProp = { | 
					
						
							|  |  |  | 	Hidden?: number; | 
					
						
							|  |  |  | 	name?: string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-10 19:23:01 +00:00
										 |  |  | interface CellAddress { | 
					
						
							|  |  |  | 	r:number; | 
					
						
							|  |  |  | 	c:number; | 
					
						
							|  |  |  | }; | 
					
						
							| 
									
										
										
										
											2017-03-25 01:36:40 +00:00
										 |  |  | type CellAddrSpec = CellAddress | string; | 
					
						
							| 
									
										
										
										
											2017-02-10 19:23:01 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | type Cell = any; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type Range = { | 
					
						
							|  |  |  | 	s: CellAddress; | 
					
						
							|  |  |  | 	e: CellAddress; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | type Worksheet = any; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type Sheet2CSVOpts = any; | 
					
						
							|  |  |  | type Sheet2JSONOpts = any; | 
					
						
							| 
									
										
										
										
											2017-05-13 18:21:22 +00:00
										 |  |  | type Sheet2HTMLOpts = any; | 
					
						
							| 
									
										
										
										
											2017-02-10 19:23:01 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | type ParseOpts = any; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type WriteOpts = any; | 
					
						
							|  |  |  | type WriteFileOpts = any; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type RawData = any; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface TypeOpts { | 
					
						
							|  |  |  | 	type:string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-03 20:50:45 +00:00
										 |  |  | type XLSXModule = any; | 
					
						
							| 
									
										
										
										
											2017-02-10 19:23:01 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-12 18:02:43 +00:00
										 |  |  | type SST = { | 
					
						
							|  |  |  | 	[n:number]:XLString; | 
					
						
							|  |  |  | 	Count:number; | 
					
						
							|  |  |  | 	Unique:number; | 
					
						
							|  |  |  | 	push(x:XLString):void; | 
					
						
							|  |  |  | 	length:number; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-10 19:23:01 +00:00
										 |  |  | type Comment = any; | 
					
						
							| 
									
										
										
										
											2017-03-20 09:02:25 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-09 18:07:57 +00:00
										 |  |  | type RowInfo = { | 
					
						
							| 
									
										
										
										
											2017-05-13 18:21:22 +00:00
										 |  |  | 	hidden?:boolean; // if true, the row is hidden
 | 
					
						
							| 
									
										
										
										
											2017-05-09 18:07:57 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	hpx?:number;     // height in screen pixels
 | 
					
						
							|  |  |  | 	hpt?:number;     // height in points
 | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-20 09:02:25 +00:00
										 |  |  | type ColInfo = { | 
					
						
							| 
									
										
										
										
											2017-05-13 18:21:22 +00:00
										 |  |  | 	hidden?:boolean; // if true, the column is hidden
 | 
					
						
							| 
									
										
										
										
											2017-05-09 18:07:57 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	wpx?:number;     // width in screen pixels
 | 
					
						
							| 
									
										
										
										
											2017-05-13 18:21:22 +00:00
										 |  |  | 	width?:number;    // width in Excel's "Max Digit Width", width*256 is integral
 | 
					
						
							| 
									
										
										
										
											2017-05-09 18:07:57 +00:00
										 |  |  | 	wch?:number;     // width in characters
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	MDW?:number;     // Excel's "Max Digit Width" unit, always integral
 | 
					
						
							| 
									
										
										
										
											2017-03-20 09:02:25 +00:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2017-03-25 01:36:40 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-13 18:21:22 +00:00
										 |  |  | interface Margins { | 
					
						
							|  |  |  | 	left?:number; | 
					
						
							|  |  |  | 	right?:number; | 
					
						
							|  |  |  | 	top?:number; | 
					
						
							|  |  |  | 	bottom?:number; | 
					
						
							|  |  |  | 	header?:number; | 
					
						
							|  |  |  | 	footer?:number; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface DefinedName { | 
					
						
							|  |  |  | 	Name:string; | 
					
						
							|  |  |  | 	Ref:string; | 
					
						
							|  |  |  | 	Sheet?:number; | 
					
						
							|  |  |  | 	Comment?:string; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface Hyperlink { | 
					
						
							|  |  |  | 	Target:string; | 
					
						
							|  |  |  | 	Tooltip?:string; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type SSFTable = any; | 
					
						
							| 
									
										
										
										
											2017-05-09 18:07:57 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-03-25 01:36:40 +00:00
										 |  |  | type AOA = Array<Array<any> >; | 
					
						
							| 
									
										
										
										
											2017-02-03 20:50:45 +00:00
										 |  |  | */ |