Subversion Repositories SmartDukaan

Rev

Rev 24215 | Rev 25380 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24215 Rev 24222
Line 437... Line 437...
437
			}
437
			}
438
			
438
			
439
			for (int index = 0; index < 18; index++) {
439
			for (int index = 0; index < 18; index++) {
440
				sheet.autoSizeColumn(index);
440
				sheet.autoSizeColumn(index);
441
			}
441
			}
442
			
442
		}
443
			try {
443
		try {
444
				workbook.write(outputStream);
444
			workbook.write(outputStream);
445
				workbook.close();
445
			workbook.close();
446
			} catch (IOException ioException) {
446
		} catch (IOException ioException) {
447
				LOGGER.error("Unable to generate excel file", ioException);
447
			LOGGER.error("Unable to generate excel file", ioException);
448
			}
-
 
449
		}
448
		}
450
	}
449
	}
451
 
450
 
452
	public static void writeSchemeModels(List<SchemeModel> schemeModels, OutputStream outputStream) {
451
	public static void writeSchemeModels(List<SchemeModel> schemeModels, OutputStream outputStream) {
453
		SXSSFWorkbook workbook = new SXSSFWorkbook();
452
		SXSSFWorkbook workbook = new SXSSFWorkbook();