excel-spring-boot-starter icon indicating copy to clipboard operation
excel-spring-boot-starter copied to clipboard

alibaba easyexcel spring boot starter

Results 20 excel-spring-boot-starter issues
Sort by recently updated
recently updated
newest added

高级填充那块,模板文件都木有,是否支持复杂模板导出呢

当使用Spel动态指定导出excel的文件名时, @ResponseExcel(name = "#{T(java.lang.Math).PI * 80}", sheets = @Sheet(sheetName = "导出数据")) 报错“org.springframework.expression.spel.SpelParseException: Expression [#{T(java.lang.Math).PI * 80}] @1: EL1043E: Unexpected token. Expected 'identifier' but was 'lcurly({)'”

## 问题说明 查看源码,定义了`SingleSheetWriteHandler`和`ManySheetWriteHandler`来进行相应导出操作,里面的`support`方法来判断使用哪一个类。由于数据长度为零,两次`support`调用都返回false,导致没有文件导出。 数据为空时不进行导出,不太符合一般的业务逻辑,这种情况下导出空的文件更符合预期。希望维护者能更新这一块的逻辑,或让用户通过参数自定义导出行为。 ## 临时解决方法 如果想临时修改这部分逻辑,可以实现自定义的`SingleSheetWriteHandler`,修改默认`support`实现。 代码示例 ```java @Component public class MySingleSheetWriteHandler extends SingleSheetWriteHandler { public MySingleSheetWriteHandler(ExcelConfigProperties configProperties, ObjectProvider) obj; if (objList.isEmpty()) { return true; } return !(objList.get(0) instanceof...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.alibaba:easyexcel](https://togithub.com/alibaba/easyexcel) | `4.0.0` -> `4.0.1` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.alibaba:easyexcel/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

https://www.91mszl.com/zhangwuji/article/details/1479

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) | `3.6.3` -> `3.7.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

合并单元格,批注,超链接。 .extraRead(CellExtraTypeEnum.COMMENT) .extraRead(CellExtraTypeEnum.HYPERLINK) .extraRead(CellExtraTypeEnum.MERGE)