/// <summary> /// /// </summary> /// <param name="sheetName"></param> /// <param name="openXMLExcel"></param> /// <param name="data"></param> /// <param name="sheetId"></param> public SheetHelper(string sheetName, OpenXMLExcelBase openXMLExcel, T data, uint?sheetId = null) { _sheetName = sheetName; _openXMLExcel = openXMLExcel; _data = data; _sheetId = sheetId; }
/// <summary> /// /// </summary> /// <param name="fileName">文件名(含后缀)</param> /// <param name="data">数据</param> public ReportHelper(string fileName, T data) { ReportFullName = Path.Combine(_filePath, fileName); _openXMLExcel = new OpenXMLExcel(); _data = data; }
public Sheet2Helper(string sheetName, OpenXMLExcelBase openXMLExcel, object data, uint?sheetId = null) : base(sheetName, openXMLExcel, data, sheetId) { }
public Sheet3Helper(string sheetName, OpenXMLExcelBase openXMLExcel, IReadOnlyList <Sheet3Data> data, uint?sheetId = null) : base(sheetName, openXMLExcel, data, sheetId) { }