即使在使用apache poi的代码相同的情况下,excel单元也会在不同的机器上收缩
我已经开发了一个用于下载Excel表格的java
代码。 我正在使用apache POI
。 这个东西worked well on all machine
。
但是,当same code
部署到different server
, even though the cells were having the data
cells got Shrinked
到非常小的宽度。
任何想法为什么发生这种情况?
因为您正在使用自动大小的列,并且字体安装不正确。
有关相关问题,请参阅Apache POI autoSizeColumn错误地resize