This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun generateExcel() { | |
try { | |
val workbook = HSSFWorkbook() | |
val spreadSheet = workbook.createSheet("Sell Report") | |
/*Header "Sampe..."*/ | |
val rowA = spreadSheet.createRow(0) | |
val cellAA = rowA.createCell(0) | |
cellAA.setCellValue(HSSFRichTextString("Sampe")) | |
cellAA.setCellStyle( |