private void handleWMF(byte[] bytes, ContentHandler contentHandler,
                           EmbeddedDocumentExtractor embeddedDocumentExtractor)
            throws IOException, SAXException, TikaException {
        Metadata embeddedMetadata = new Metadata();
        embeddedMetadata.set(Metadata.CONTENT_TYPE, WMF_MEDIA_TYPE.toString());
        if (embeddedDocumentExtractor.shouldParseEmbedded(embeddedMetadata)) {
            try (TikaInputStream tis = TikaInputStream.get(bytes)) {
                embeddedDocumentExtractor
                        .parseEmbedded(tis, new EmbeddedContentHandler(contentHandler),
                                embeddedMetadata, true);

            }

        }

    }
Extracts files embedded in EMF and offers a
very rough capability to extract text if there
is text stored in the EMF.
<p/>
To improve text extraction, we'd have to implement
quite a bit more at the POI level.  We'd want to track changes
in font and use that information for identifying character sets,
inserting spaces and new lines.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/EMFParser.java