using NPOI.SS.UserModel;
namespace YBEE.EQM.Application;
///
/// EXCEL导出服务
///
public interface IExportExcelService
{
///
/// 导出 Excel 文件
///
///
///
///
byte[] ExportExcel(ExportExcelDto input);
///
/// 获取单元格表头和单元格样式
///
///
///
///
///
ExportExcelCellStyle GetCellStyle(IWorkbook wb, double fontSize = 10, double titleFontSize = 16);
///
/// 添加单元格
///
///
///
///
///
///
///
/// 0转为空白
///
ICell AddCell(object value, IRow row, int columnIndex, ICellStyle cellStyle, ISheet sheet = null, int? width = null, bool? zeroToBlank = false, CellType? cellType = null);
#region 图表
///
/// 导出柱状图
///
///
///
///
///
///
///
///
///
///
///
void CreateBarChart(ISheet sheet, IDrawing drawing, IClientAnchor anchor, int startDataRow, int endDataRow, int columnIndex, string title = null, string serieTitle = null, string catalogTitle = null, string valueTile = null);
#endregion
}