XLS Format of the Report

Hi All

When generating the report in XLS form I am getting the diffrent sizes of Cells with White Background

The Code is shown Below

 

Kindly let me know if I missed some property?

Code:
exporter = xlsExporter;
 
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
 
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, outputFile.getCanonicalPath());
 
exporter.setParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE);
 
exporter.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE, Boolean.TRUE);
 
exporter.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE);
 
exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE);
 
 
exporter.exportReport();
 
</td></tr></tbody></table>
prashantckc's picture
Joined: Feb 24 2009 - 11:29am
Last seen: 14 years 3 months ago

0 Answers:

No answers yet
Feedback
randomness