Closed wpzym1125 closed 11 months ago
4.4.0版本测试正常
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: 王培 @.> 发送时间: 2023年12月11日 15:56 收件人: liaochong/myexcel @.> 抄送: Subscribed @.***> 主题: Re: [liaochong/myexcel] Freemarker导出的时候excel样式没生效 (Issue #407)
您好, ExcelBuilder excelBuilder = new FreemarkerExcelBuilder(); Workbook workbook = excelBuilder.classpathTemplate("/templates/importUserExcelTemplate.ftl").workbookType(WorkbookType.XLSX).applyDefaultStyle() .build(dataMap); 1702281315540.png (view on web) 导出的excel里面没有背景色
是我参数设置的不对么?麻烦看下,谢谢
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
我删除了applyDefaultStyle 但是我设置了1个背景色,文字就没有垂直居中了,这个是什么样式设置的?
您好,
ExcelBuilder excelBuilder = new FreemarkerExcelBuilder(); Workbook workbook = excelBuilder.classpathTemplate("/templates/importUserExcelTemplate.ftl").workbookType(WorkbookType.XLSX).applyDefaultStyle() .build(dataMap); 导出的excel里面没有背景色
是我参数设置的不对么?麻烦看下,谢谢