Skip to content

Conversation

@huangmingsir
Copy link

  • 新增 ColumnWidthMatchStyleStrategy 类实现自适应列宽功能。增加了日期类型数据的自适应支持
  • 在 ExcelUtils 类中使用新的列宽处理器替换原有的 LongestMatchColumnWidthStyleStrategy
  • LongestMatchColumnWidthStyleStrategy默认的自适应宽度效果如下(列宽偏小+不支持日期类型)
    ​​​​
    Uploading 1733363085909.png…

hmb added 4 commits November 26, 2024 18:38
- 针对执行结果为 null 的情况增加了日志记录
- 为了避免 ConcurrentHashMap put空指针异常,将 result 设置为空字符串
- 新增 ColumnWidthMatchStyleStrategy 类实现自适应列宽功能
- 在 ExcelUtils 类中使用新的列宽处理器替换原有的 LongestMatchColumnWidthStyleStrategy
@YunaiV
Copy link
Owner

YunaiV commented Dec 7, 2024

收到!我研究下!

@YunaiV YunaiV merged commit 3efadfe into YunaiV:master-jdk17 Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants