Watch Star Fork

GVPHutool / hutoolJavaApache-2.0

ExcelUtil 导出超出4000行数据问题 #IH05B

任务
已完成
猪大宝大小胖子  Created at

ExcelWriter writer = ExcelUtil.getWriter(); Map<String, String> alias = MapUtil.newHashMap(); alias.put("...", "..."); .... writer.setHeaderAlias(alias); ArrayList rows = CollUtil.newArrayList('这是一个超出4000的list'); writer.write(rows); 报错java.lang.IllegalStateException: The maximum number of cell styles was exceeded. You can define up to 4000 styles in a .xls workbook

1463_loolly 127743_shangfabao total 2 participants

Comments (2)

1463_loolly
Looly 2017-12-25 19:45 owner

这是由于在处理带小数的数字和日期时复制样式造成的。3.3.0会修复此问题。感谢~

127743_shangfabao
猪大宝大小胖子 2017-12-26 13:03

@loolly 客气了,为了更好用的工具包

Sign in and comment

Assignee
Labels
bug
enhancement
Milestone
Branch
Scheduled start
Not set
Scheduled end
Not set
Top level
Priority

Help Search