public ExcelWriter(string filename)
 {
     template = new OoXml(filename);                                         // Open the template
     sheet    = template.sheets.Values.First <gSheet>();                     // Get the first sheet
     GetMapping();                                                           // Get the mapping
     sheet.SetSource(OnDataRow, fixedRows);                                  // Set data call back, keep first row of the template
 }
Exemple #2
0
 public ExcelReader(string filename)
 {
     source = new OoXml(filename);                                                                           // Open the excel file
     sheet  = source.sheets.Values.First <gSheet>();                                                         // Get the first sheet
 }