| 
									
										
										
										
											2015-04-02 20:32:22 +00:00
										 |  |  | ///<reference path='cfb.d.ts'/>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-11-15 13:35:01 +00:00
										 |  |  | interface Cell { | 
					
						
							|  |  |  |   v; | 
					
						
							| 
									
										
										
										
											2014-02-07 10:53:40 +00:00
										 |  |  |   w?: string; | 
					
						
							|  |  |  |   t?: string; | 
					
						
							|  |  |  |   f?: string; | 
					
						
							|  |  |  |   r?: string; | 
					
						
							|  |  |  |   h?: string; | 
					
						
							|  |  |  |   c?: any; | 
					
						
							|  |  |  |   z?: string; | 
					
						
							| 
									
										
										
										
											2015-04-02 20:32:22 +00:00
										 |  |  |   ixfe?: number; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface CellAddress { | 
					
						
							|  |  |  |   c: number; | 
					
						
							|  |  |  |   r: number; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface CellRange { | 
					
						
							|  |  |  |   s: CellAddress; | 
					
						
							|  |  |  |   e: CellAddress; | 
					
						
							| 
									
										
										
										
											2013-11-15 13:35:01 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-02 20:32:22 +00:00
										 |  |  | interface WorksheetBase { | 
					
						
							|  |  |  |   '!range':CellRange; | 
					
						
							|  |  |  |   '!ref':string; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface Worksheet extends WorksheetBase { | 
					
						
							| 
									
										
										
										
											2013-11-15 13:35:01 +00:00
										 |  |  |   [key: string]: Cell; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface Worksheets { | 
					
						
							|  |  |  |   [key: string]: Worksheet; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface Workbook { | 
					
						
							|  |  |  |   SheetNames: string[]; | 
					
						
							|  |  |  |   Sheets: Worksheets; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | interface XLSX { | 
					
						
							| 
									
										
										
										
											2015-04-02 20:32:22 +00:00
										 |  |  |   parse_xlscfb(cfb:CFBContainer): Workbook; | 
					
						
							|  |  |  |   read; | 
					
						
							| 
									
										
										
										
											2013-11-15 13:35:01 +00:00
										 |  |  |   readFile(filename: string): Workbook;  | 
					
						
							|  |  |  |   utils: { | 
					
						
							| 
									
										
										
										
											2015-04-02 20:32:22 +00:00
										 |  |  |     encode_col(col: number): string; | 
					
						
							|  |  |  |     encode_row(row: number): string; | 
					
						
							|  |  |  |     encode_cell(cell: CellAddress): string; | 
					
						
							|  |  |  |     encode_range; | 
					
						
							|  |  |  |     decode_col(col: string): number; | 
					
						
							|  |  |  |     decode_row(row: string): number; | 
					
						
							|  |  |  |     split_cell(cell: string): string[]; | 
					
						
							|  |  |  |     decode_cell(cell: string): CellAddress; | 
					
						
							|  |  |  |     decode_range(cell: string): CellRange; | 
					
						
							|  |  |  |     sheet_to_csv(worksheet: Worksheet): string; | 
					
						
							| 
									
										
										
										
											2013-11-15 13:35:01 +00:00
										 |  |  |     get_formulae(worksheet: Worksheet): string[]; | 
					
						
							|  |  |  |     make_csv(worksheet: Worksheet): string; | 
					
						
							| 
									
										
										
										
											2015-04-02 20:32:22 +00:00
										 |  |  |     sheet_to_row_object_array(worksheet: Worksheet): Object[]; | 
					
						
							| 
									
										
										
										
											2013-11-15 13:35:01 +00:00
										 |  |  |   }; | 
					
						
							| 
									
										
										
										
											2015-04-02 20:32:22 +00:00
										 |  |  |   verbose: Number; | 
					
						
							|  |  |  |   CFB:CFB; | 
					
						
							|  |  |  |   main; | 
					
						
							| 
									
										
										
										
											2013-11-15 13:35:01 +00:00
										 |  |  | } |