case WORKBOOK:
Locale locale = context.get(Locale.class, Locale.getDefault());
new ExcelExtractor(context).parse(filesystem, xhtml, locale);
break;
case VISIO:
VisioTextExtractor visioTextExtractor =
new VisioTextExtractor(filesystem);
for (String text : visioTextExtractor.getAllText()) {
xhtml.element("p", text);
}
break;
case OUTLOOK:
if (!outlookExtracted) {