|
|
@ -550,6 +550,10 @@ public class ExcelKit {
|
|
|
|
List<String> rowData = new ArrayList<>();
|
|
|
|
List<String> rowData = new ArrayList<>();
|
|
|
|
for (int j = 0; j < tableWidth; j++) {
|
|
|
|
for (int j = 0; j < tableWidth; j++) {
|
|
|
|
Cell cell = row.getCell(j);
|
|
|
|
Cell cell = row.getCell(j);
|
|
|
|
|
|
|
|
if (cell == null) {
|
|
|
|
|
|
|
|
rowData.add(null);
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
// 如果单元格是公式类型
|
|
|
|
// 如果单元格是公式类型
|
|
|
|
if (cell.getCellType() == CellType.FORMULA) {
|
|
|
|
if (cell.getCellType() == CellType.FORMULA) {
|
|
|
|
// 计算公式结果
|
|
|
|
// 计算公式结果
|
|
|
|