PP Ocean Posted March 10, 2017 Share Posted March 10, 2017 Hi,I am using 6.1 version. When I export the report to XLSX it is giving the message: "Excel found unreadable content....". When I click YES I can see the report in excel but the thing is I do not want to see that pop-up message. This is happening to XLSX only. XLS export is working fine.These are the properties I have used in JRXML.<property name="net.sf.jasperreports.export.xlsx.exclude.origin.keep.first.band.0" value="title"/><property name="net.sf.jasperreports.export.xlsx.exclude.origin.keep.first.band.1" value="pageHeader"/><property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.2" value="pageFooter"/><property name="net.sf.jasperreports.export.xlsx.exclude.origin.keep.first.band.3" value="columnHeader"/><property name="net.sf.jasperreports.export.xlsx.exclude.origin.keep.first.report.3" value="*"/><property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.4" value="columnFooter"/><property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.5" value="pageFooter"/><property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.6" value="lastPageFooter"/><property name="net.sf.jasperreports.export.xlsx.remove.empty.space.between.rows" value="true"/><property name="net.sf.jasperreports.export.xlsx.remove.empty.space.between.columns" value="true"/><property name="net.sf.jasperreports.export.xlsx.detect.cell.type" value="true"/><property name="net.sf.jasperreports.export.xlsx.collapse.row.span" value="true"/><property name="net.sf.jasperreports.export.xlsx.ignore.page.margins=true"/><property name="net.sf.jasperreports.export.xlsx.one.page.per.sheet=true"/><property name="net.sf.jasperreports.export.xlsx.wrap.text" value="true"/><property name="net.sf.jasperreports.export.xlsx.column.width.ratio" value="1.10f"/><property name="net.sf.jasperreports.export.xlsx.auto.fit.column" value="true"/>Any ideas please?Thanks Link to comment Share on other sites More sharing options...
dnaboka Posted March 10, 2017 Share Posted March 10, 2017 Does this happen in Microsoft Excel? Try using LibreOffice to open the file, for example. Link to comment Share on other sites More sharing options...
PP Ocean Posted March 10, 2017 Author Share Posted March 10, 2017 Yes this happening in Microsoft excel. Unfortunately we can't change it to LibreOffice. I need a solution for Microsoft excel only. Link to comment Share on other sites More sharing options...
szaharia Posted March 13, 2017 Share Posted March 13, 2017 This kind of issues may have various causes, such as wrong defined names, improper formula results, wrong local anchor names, etc.In order to identify the cause here, please post the JRXML file, and if possible, the generated XLSX workbook. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now