Jump to content
Changes to the Jaspersoft community edition download ×

excel unreadable data


rb5h

Recommended Posts

Hello,

I am new with Jasperreports.

 I successfully generated an xlsx file but when I open it, I get the following message "unreadable data".

I am using JRXlsxExporter.

The file size is 888Kb.

I am using Jasperreports 3.7.6 and POI 3.7.

 I do not have this problem with JRXlsExporter.
 Is it possible that the problem was solved for XLS but not for XLSX?

 

Thanks.

Code:
JRXlsxExporter exporterX = new JRXlsxExporter();exporterX.setParameter(JRExporterParameter.INPUT_FILE_NAME, destFileName);exporterX.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, destFileName.replace("jrprint", "xlsx"));exporterX.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE, Boolean.TRUE);
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...