private void handlePart(PackagePart packagePart, XWPFListManager xwpfListManager,
                            StringBuilder buffer) throws IOException, SAXException, TikaException {

        Map<String, String> hyperlinks = loadHyperlinkRelationships(packagePart);
        try (InputStream stream = packagePart.getInputStream()) {
            XMLReaderUtils.parseSAX(CloseShieldInputStream.wrap(stream),
                    new OOXMLWordAndPowerPointTextHandler(new XWPFToTextContentHandler(buffer),
                    hyperlinks), new ParseContext());
        }

    }
Experimental class that is based on POI's XSSFEventBasedExcelExtractor
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/xwpf/XWPFEventBasedWordExtractor.java