Example #1
0
 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         
 }