aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi/extractor
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2010-01-26 11:39:44 +0000
committerNick Burch <nick@apache.org>2010-01-26 11:39:44 +0000
commit63dc16b762dc4184dcf410525216b36987e8087d (patch)
tree57915d3f303a1d8efaa941e4ac9af0a473459b44 /src/ooxml/java/org/apache/poi/extractor
parent675b6ad97661a30f696ee22774f7e50bb5a0ea63 (diff)
downloadpoi-63dc16b762dc4184dcf410525216b36987e8087d.tar.gz
poi-63dc16b762dc4184dcf410525216b36987e8087d.zip
New event based xssf text extractor (XSSFEventBasedExcelExtractor)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@903182 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org/apache/poi/extractor')
-rw-r--r--src/ooxml/java/org/apache/poi/extractor/ExtractorFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ooxml/java/org/apache/poi/extractor/ExtractorFactory.java b/src/ooxml/java/org/apache/poi/extractor/ExtractorFactory.java
index ed7f22ac8d..ee3da8c614 100644
--- a/src/ooxml/java/org/apache/poi/extractor/ExtractorFactory.java
+++ b/src/ooxml/java/org/apache/poi/extractor/ExtractorFactory.java
@@ -50,6 +50,7 @@ import org.apache.poi.poifs.filesystem.Entry;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.xslf.XSLFSlideShow;
import org.apache.poi.xslf.extractor.XSLFPowerPointExtractor;
+import org.apache.poi.xssf.extractor.XSSFEventBasedExcelExtractor;
import org.apache.poi.xssf.extractor.XSSFExcelExtractor;
import org.apache.poi.xssf.usermodel.XSSFRelation;
import org.apache.poi.xwpf.extractor.XWPFWordExtractor;
@@ -161,8 +162,7 @@ public class ExtractorFactory {
corePart.getContentType().equals(XSSFRelation.TEMPLATE_WORKBOOK.getContentType()) ||
corePart.getContentType().equals(XSSFRelation.MACROS_WORKBOOK.getContentType())) {
if(getPreferEventExtractor()) {
- // TODO
- return new XSSFExcelExtractor(pkg);
+ return new XSSFEventBasedExcelExtractor(pkg);
} else {
return new XSSFExcelExtractor(pkg);
}