繁体   English   中英

在使用JasperReports导出为Excel格式的过程中如何避免'BIFF8的允许列范围为(0..255)或('A'..'IV')'错误

[英]How to avoid 'Allowable column range for BIFF8 is (0..255) or ('A'..'IV')' error during export to Excel format using JasperReports

通过JRXlsExporter将报表导出为Excel工作表时,出现错误: Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV') Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV') 如何解决这个问题?

JasperReports使用Apache POI库将报告导出为MS Excel格式。

该引擎有多个导出器,可以继续导出为MS Excel格式:

MS Excel的旧版本在工作簿上使用少于257列的限制。 新版本(2007+)具有新的限制: 16 384列。

JRXlsxExporter使用API​​(基于XSSF )允许以新格式( .xlsx )导出报告。 JRXlsExporter正在使用Apache POI的 HSSF实现。

为了避免此错误,使用JRXlsxExporter足够了。


更多信息:

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM