public CellStyleListFactory(Engine engine, ExcelInterop interop) : base(engine, "CellStyleList") { if (interop == null) { throw new ArgumentNullException(nameof(interop)); } _interop = interop; }
public CellStyleListInstance(Engine engine, ExcelInterop interop) : base(engine) { if (interop == null) { throw new ArgumentNullException(nameof(interop)); } _interop = interop; }
public WorkbookFactory(Engine engine, ExcelInterop interop) : base(engine, "Workbook") { if (interop == null) { throw new ArgumentNullException(nameof(interop)); } _interop = interop; }
public RowInstance(Engine engine, ExcelInterop interop) : base(engine) { if (interop == null) { throw new ArgumentNullException(nameof(interop)); } _cellList = interop.CellList.Construct(); _cellList.Row = this; FastAddProperty("cells", _cellList, true, false, true); }
public SheetInstance(Engine engine, ExcelInterop interop) : base(engine) { if (interop == null) { throw new ArgumentNullException(nameof(interop)); } _interop = interop; _rowList = interop.RowList.Construct(); _rowList.Sheet = this; FastAddProperty("rows", _rowList, true, false, true); var mergeRegionList = interop.MergeRegionList.Construct(); mergeRegionList.Sheet = this; FastAddProperty("mergeRegions", mergeRegionList, true, false, true); }
public WorkbookInstance(Engine engine, XSSFWorkbook workbook, ExcelInterop interop) : base(engine) { if (workbook == null) { throw new ArgumentNullException(nameof(workbook)); } Workbook = workbook; _interop = interop; _sheetList = interop.SheetList.Construct(); _sheetList.Workbook = this; FastAddProperty("sheets", _sheetList, true, false, true); _cellStyleList = interop.CellStyleList.Construct(); _cellStyleList.Workbook = this; FastAddProperty("cellStyles", _cellStyleList, true, false, true); }