Browse Source

Merge pull request #1325 from laiyijie/master

修复全公式的行无法被读取的bug
developing
Jiaju Zhuang 4 years ago committed by GitHub
parent
commit
825eeb13e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/main/java/com/alibaba/excel/analysis/v03/handlers/FormulaRecordHandler.java

2
src/main/java/com/alibaba/excel/analysis/v03/handlers/FormulaRecordHandler.java

@ -3,6 +3,7 @@ package com.alibaba.excel.analysis.v03.handlers;
import java.math.BigDecimal;
import java.util.Map;
import com.alibaba.excel.enums.RowTypeEnum;
import org.apache.poi.hssf.model.HSSFFormulaParser;
import org.apache.poi.hssf.record.FormulaRecord;
import org.apache.poi.hssf.record.Record;
@ -78,5 +79,6 @@ public class FormulaRecordHandler extends AbstractXlsRecordHandler implements Ig
cellMap.put((int)frec.getColumn(), tempCellData);
break;
}
xlsReadContext.xlsReadSheetHolder().setTempRowType(RowTypeEnum.DATA);
}
}

Loading…
Cancel
Save