@ SuppressWarnings ( "rawtypes" ) private void createExcelReport ( ) { logger . entering ( ) ; wb = new HSSFWorkbook ( ) ; Styles . initStyles ( wb ) ; // Report Details this . createReportInfo ( ) ; // Map of sheet names - individual reports and corresponding data this . createReportMap ( ) ; // Render reports in the Workbook for ( ReportMap rm : fullReportMap ) { List < BaseReport < ? > > allReports = rm . getGeneratedReport ( ) ; allReports . iterator ( ) . next ( ) . generateRep ( this . wb , rm . getName ( ) , rm . getGeneratedReport ( ) ) ; } logger . exiting ( ) ; }
Initialized styles used in the workbook . Generates the report related info . Creates the structure of the Excel Reports