gpt4 book ai didi

java - Apache POI : is there a way to get the plus at the top instead of the bottom? 的单元格分组

转载 作者:行者123 更新时间:2023-11-30 06:59:17 25 4
gpt4 key购买 nike

我正在使用 Apache POI,我想将一些单元格组合在一起。但是,扩展图标显示为 1 cell below而不是 1 cell above .有什么办法可以解决这个问题吗?

在 Excel 中,我通常会单击“大纲”高级选项并取消选中“详细信息下方的摘要行”选项来解决此问题。任何帮助将不胜感激。

最佳答案

您可以在 Sheet/XSSFSheet 上使用以下方法

sheet.setRowSumsBelow(false);

关于java - Apache POI : is there a way to get the plus at the top instead of the bottom? 的单元格分组,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31709149/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com