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
 internal gSheet(OoXml d, int i, string n, gStream s)
 {
     Document = d; Index = i;
     Name = n;
     Stream = s;
 }
Exemple #3
0
        public  gSheet Sheet = null;                                                                                            // This links to a data sheet if his stream implements a data sheet

        public gStream(OoXml doc, ZipStorer zip, ZipStorer.ZipFileEntry z)                                                      // This constructor is called when creating the stream from the source template
        {
            Document = doc;                                                                                                     // Save a reference to the document  
            zfe = z;                                                                                                            // Store the ZipFileEntry  
        }
Exemple #4
0
 internal gSheet(OoXml d, int i, string n, gStream s)
 {
     Document = d; Index = i;
     Name     = n;
     Stream   = s;
 }
Exemple #5
0
        public gSheet Sheet = null;                                                                                             // This links to a data sheet if his stream implements a data sheet

        public gStream(OoXml doc, ZipStorer zip, ZipStorer.ZipFileEntry z)                                                      // This constructor is called when creating the stream from the source template
        {
            Document = doc;                                                                                                     // Save a reference to the document
            zfe      = z;                                                                                                       // Store the ZipFileEntry
        }
 public ExcelReader(string filename)
 {
     source = new OoXml(filename);                                                                           // Open the excel file
     sheet = source.sheets.Values.First<gSheet>();                                                           // Get the first sheet
 }