예제 #1
0
        public ExcelDataPage2(ExcelWorksheet sheet)
        {
            settings = new StatPageSettings(sheet);

            var excelTable = sheet.Tables.Where(x => x.Address.Start.Row >= 3).FirstOrDefault();

            table = new RowDataTable(excelTable);
        }
예제 #2
0
        public ExcelStatPage(ExcelWorkbook workbook, string name)
        {
            this.name = name;

            var sheet = workbook.Worksheets[name];


            settings = new StatPageSettings(sheet);
            tables   = new StatPageTables(sheet);

            var tablesRows = tables.GetTablesRowsNums();

            texts = new StatPageTexts(sheet, tablesRows);
        }