johnnypoll Posted July 25, 2008 Share Posted July 25, 2008 We use JRXlsExporter to export from a JasperPrint to an Excel format XLS file. We are using the latest apache POI and Jasper Reports 3.0.0.For a simple 1 page financial type report which looks fine in the report viewer, the exported XLS loses some of the values, appearing as blank instead. All the layout, and lines look fine, just a smattering of missing values.Any tips gratefully received. Link to comment Share on other sites More sharing options...
johnnypoll Posted July 28, 2008 Author Share Posted July 28, 2008 The problem was that I was drawing a line within the height of the text field containing the numeric data. By encroaching on the space of the text with my line element, I obviously upset the XLS output. By reducing the height of the text element and placing the line immediately below that height, the XLS output is fine. Link to comment Share on other sites More sharing options...
arunsdharan Posted October 20, 2008 Share Posted October 20, 2008 i dont knw whether this is te right answer but try JExcelApiExporter to export it to xls file.First i used JRXlsExporter ,it has some data loss on large data.so i tried the JExcelApiExporter .its works fine.u need jasperreports-1.2.7.jar,jxl.jar,png-encoder-1.5.jar to run this. poi-2.0-final-20040126.jar(Additioonal one).i hope this will rectify ur problem 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