首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
Java
请问各位大神,导出报表中如何实现单元格合并
Entropy2019
·
2019-06-20 21:36:48 +08:00
· 1470 次点击
这是一个创建于 1925 天前的主题,其中的信息可能已经有所发展或是发生改变。
请问系统导出报表中如何实现单元格自动合并啊?
导出
请问
报表
合并
1 条回复
1
xiaolong620
2019-06-21 11:12:21 +08:00
//合并单元格
//int firstRow 起始行, int lastRow 结束行, int firstCol 起始列, int lastCol 结束
sheet.addMergedRegion(new CellRangeAddress(0,0,1,8));
是这个吗,不是就算了
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
1165 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms ·
UTC 18:24
·
PVG 02:24
·
LAX 11:24
·
JFK 14:24
Developed with
CodeLauncher
♥ Do have faith in what you're doing.