Exemplo n.º 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         
 }
Exemplo n.º 2
0
 internal gSheet(OoXml d, int i, string n, gStream s)
 {
     Document = d; Index = i;
     Name = n;
     Stream = s;
 }
Exemplo n.º 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  
        }
Exemplo n.º 4
0
 internal gSheet(OoXml d, int i, string n, gStream s)
 {
     Document = d; Index = i;
     Name     = n;
     Stream   = s;
 }
Exemplo n.º 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
        }
Exemplo n.º 6
0
 public ExcelReader(string filename)
 {
     source = new OoXml(filename);                                                                           // Open the excel file
     sheet = source.sheets.Values.First<gSheet>();                                                           // Get the first sheet
 }