如何在Apache POI中设置Excel默认行高 [英] How To Set Excel Default Row Height in Apache POI

查看:1140
本文介绍了如何在Apache POI中设置Excel默认行高的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Apache POI 3.7与Spring MVC 3.1结合使用.

I'm using Apache POI 3.7 with Spring MVC 3.1.

如何在apache POI中设置excel默认行高?

How to set excel default row height in apache POI?

我尝试了sheet.setDefaultRowHeight((short) 100)sheet.setDefaultRowHeightInPoints(100)

但这是行不通的.

对这个问题有什么建议吗?

Any suggestion for this problem?

谢谢.

推荐答案

我已将此问题发布到Apache POI的问题跟踪器上,并且有人确认这是一个错误.

I've posted this issue on Apache POI's issue tracker and someone confirmed that it's a bug.

https://issues.apache.org/bugzilla/show_bug.cgi? id = 52626

它已在修订r1243240

这篇关于如何在Apache POI中设置Excel默认行高的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆