diff options
Diffstat (limited to 'poi-ooxml/src')
-rw-r--r-- | poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java index a8bc2ca678..5524ded59b 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/extractor/XSSFExcelExtractor.java @@ -224,6 +224,10 @@ public class XSSFExcelExtractor CellType type = cell.getCellType(); if (type == CellType.FORMULA) { type = cell.getCachedFormulaResultType(); + if (type == CellType.STRING) { + handleStringCell(text, cell); + return; + } } if (type == CellType.NUMERIC) { |