Link Here
|
102 |
if(corePart.getContentType().equals(XSSFRelation.TEMPLATE_WORKBOOK.getContentType())) { |
102 |
if(corePart.getContentType().equals(XSSFRelation.TEMPLATE_WORKBOOK.getContentType())) { |
103 |
return new XSSFExcelExtractor(pkg); |
103 |
return new XSSFExcelExtractor(pkg); |
104 |
} |
104 |
} |
|
|
105 |
if(corePart.getContentType().equals(XSSFRelation.MACRO_WORKBOOK.getContentType())) { |
106 |
return new XSSFExcelExtractor(pkg); |
107 |
} |
105 |
if(corePart.getContentType().equals(XWPFRelation.DOCUMENT.getContentType())) { |
108 |
if(corePart.getContentType().equals(XWPFRelation.DOCUMENT.getContentType())) { |
106 |
return new XWPFWordExtractor(pkg); |
109 |
return new XWPFWordExtractor(pkg); |
107 |
} |
110 |
} |
108 |
if(corePart.getContentType().equals(XWPFRelation.TEMPLATE.getContentType())) { |
111 |
if(corePart.getContentType().equals(XWPFRelation.TEMPLATE.getContentType())) { |
109 |
return new XWPFWordExtractor(pkg); |
112 |
return new XWPFWordExtractor(pkg); |
110 |
} |
113 |
} |
|
|
114 |
if(corePart.getContentType().equals(XWPFRelation.MACRO_DOCUMENT.getContentType())) { |
115 |
return new XWPFWordExtractor(pkg); |
116 |
} |
117 |
if(corePart.getContentType().equals(XWPFRelation.MACRO_TEMPLATE_DOCUMENT.getContentType())) { |
118 |
return new XWPFWordExtractor(pkg); |
119 |
} |
111 |
if(corePart.getContentType().equals(XSLFSlideShow.MAIN_CONTENT_TYPE)) { |
120 |
if(corePart.getContentType().equals(XSLFSlideShow.MAIN_CONTENT_TYPE)) { |
112 |
return new XSLFPowerPointExtractor(pkg); |
121 |
return new XSLFPowerPointExtractor(pkg); |
113 |
} |
122 |
} |