Hello. I just started learning about xlsx4j. I'm having difficulty get the values from the cells. I have a simple excel file with a few text found in the rows and columns, these are "hello" and "there".
Below is my code:
SpreadsheetMLPackage spread = SpreadsheetMLPackage.load(new java.io.File(excelPath));
WorkbookPart wbPart = spread.getWorkbookPart();
WorksheetPart wsPart = wbPart.getWorksheet(0);
SheetData sheetData = wsPart.getContents().getSheetData();
List<Row> rows = wsPart.getContents().getSheetData().getRow();
for(int i =0; i<rows.size();i++){
List<Cell> cell = rows.get(i).getC();
for(int j=0;j<cell.size();j++){
Cell c = ...