コード例 #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         
 }
コード例 #2
0
ファイル: OoXml.cs プロジェクト: przemekwa/SejExcelExport
 internal gSheet(OoXml d, int i, string n, gStream s)
 {
     Document = d; Index = i;
     Name = n;
     Stream = s;
 }
コード例 #3
0
ファイル: OoXml.cs プロジェクト: przemekwa/SejExcelExport
        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  
        }
コード例 #4
0
 internal gSheet(OoXml d, int i, string n, gStream s)
 {
     Document = d; Index = i;
     Name     = n;
     Stream   = s;
 }
コード例 #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
        }
コード例 #6
0
 public ExcelReader(string filename)
 {
     source = new OoXml(filename);                                                                           // Open the excel file
     sheet = source.sheets.Values.First<gSheet>();                                                           // Get the first sheet
 }