简体   繁体   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

During export report as Excel sheet via JRXlsExporter I got the error: Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV') 通过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') . Invalid column index (256). Allowable column range for BIFF8 is (0..255) or ('A'..'IV') How to fix this issue? 如何解决这个问题?

JasperReports is using Apache POI library for exporting reports to MS Excel format. JasperReports使用Apache POI库将报告导出为MS Excel格式。

The engine has several exporters for proceeding export to MS Excel format: 该引擎有多个导出器,可以继续导出为MS Excel格式:

The old versions of MS Excel have limitation of using less than 257 columns at workbook. MS Excel的旧版本在工作簿上使用少于257列的限制。 The new versions (2007+) have the new limitation: 16 384 columns. 新版本(2007+)具有新的限制: 16 384列。

The JRXlsxExporter uses the API (based on XSSF ) that allow to export report in a new format ( .xlsx ). JRXlsxExporter使用API​​(基于XSSF )允许以新格式( .xlsx )导出报告。 The JRXlsExporter is using HSSF implementation of Apache POI . JRXlsExporter正在使用Apache POI的 HSSF实现。

To avoid this error it is enough to use JRXlsxExporter . 为了避免此错误,使用JRXlsxExporter足够了。


More info: 更多信息:

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

相关问题 使用 apache-poi 从 a.ppt 解析 embedded.xlsx 文件时出错。提供的 POIFSFileSystem 不包含 BIFF8“工作簿”条目 - Error when parsing an embedded .xlsx file from a .ppt using apache-poi. The supplied POIFSFileSystem does not contain a BIFF8 'Workbook' entry 使用java.awt.image.BufferedImage创建BIFF8 BITMAP记录需要花费很多时间 - 有没有更好的方法? - Using java.awt.image.BufferedImage for creating BIFF8 BITMAP record takes much time - Is there any better approach? Jasperreports excel 无法导出 - Jasperreports excel failed to export 以HTML格式导出JasperReports - Export JasperReports in HTML format jasperreports - excel 导出 - jasperreports - excel export 如何使用JasperReports在Excel中显示双精度字段 - How to display the double field in Excel using JasperReports JasperReports Server:如何使用url将报告导出为html文件 - JasperReports Server: How to export report as html file using url 如何在不使用prepareStatement的情况下避免在JasperReports中进行sql注入 - How to avoid sql injection in JasperReports without using prepareStatement 如何在JasperReports生成的Excel报表中删除空列 - How to remove empty column in excel report generated by JasperReports JasperReports导出为ex​​cel auto size columns - JasperReports export to excel auto size columns
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM