public ExcelRow(Row row, IExcelDocumentStyle documentStyle, IExcelSharedStrings excelSharedStrings) { this.row = row; this.documentStyle = documentStyle; this.excelSharedStrings = excelSharedStrings; }
public ExcelWorksheet(IExcelDocument excelDocument, WorksheetPart worksheetPart, IExcelDocumentStyle documentStyle, IExcelSharedStrings excelSharedStrings, ILog logger) { worksheet = worksheetPart.Worksheet; ExcelDocument = excelDocument; this.documentStyle = documentStyle; this.excelSharedStrings = excelSharedStrings; this.logger = logger; rowsCache = new TreeDictionary <uint, Row>(); var sheetData = worksheet.GetFirstChild <SheetData>(); if (sheetData != null) { rowsCache.AddAll(sheetData.Elements <Row>().Select(x => new C5.KeyValuePair <uint, Row>(x.RowIndex, x))); } }
public ExcelCell(Cell cell, IExcelDocumentStyle documentStyle, IExcelSharedStrings excelSharedStrings) { this.cell = cell; this.documentStyle = documentStyle; this.excelSharedStrings = excelSharedStrings; }