protected void handleEmbededOfficeDoc(
DirectoryEntry dir, XHTMLContentHandler xhtml)
throws IOException, SAXException, TikaException {
// Is it an embedded OLE2 document, or an embedded OOXML document?
try {
Entry ooxml = dir.getEntry("Package");
// It's OOXML
TikaInputStream ooxmlStream = TikaInputStream.get(
new DocumentInputStream((DocumentEntry)ooxml)
);