private void extractMetadata(POIXMLProperties.CoreProperties properties, Metadata metadata) {
        PackagePropertiesPart propsHolder = properties.getUnderlyingProperties();

        setProperty(metadata, OfficeOpenXMLCore.CATEGORY, propsHolder.getCategoryProperty());
        setProperty(metadata, OfficeOpenXMLCore.CONTENT_STATUS,
                propsHolder.getContentStatusProperty());
        setProperty(metadata, TikaCoreProperties.CREATED, propsHolder.getCreatedProperty());
        addMultiProperty(metadata, TikaCoreProperties.CREATOR, propsHolder.getCreatorProperty());
        setProperty(metadata, TikaCoreProperties.DESCRIPTION, propsHolder.getDescriptionProperty());
        setProperty(metadata, TikaCoreProperties.IDENTIFIER, propsHolder.getIdentifierProperty());
        addProperty(metadata, DublinCore.SUBJECT, propsHolder.getSubjectProperty());
        addProperty(metadata, Office.KEYWORDS, propsHolder.getKeywordsProperty());
        setProperty(metadata, TikaCoreProperties.LANGUAGE, propsHolder.getLanguageProperty());
        setProperty(metadata, TikaCoreProperties.MODIFIER, propsHolder.getLastModifiedByProperty());
        setProperty(metadata, TikaCoreProperties.PRINT_DATE, propsHolder.getLastPrintedProperty());
        setProperty(metadata, TikaCoreProperties.MODIFIED, propsHolder.getModifiedProperty());
        setProperty(metadata, OfficeOpenXMLCore.REVISION, propsHolder.getRevisionProperty());

        setProperty(metadata, TikaCoreProperties.TITLE, propsHolder.getTitleProperty());
        setProperty(metadata, OfficeOpenXMLCore.VERSION, propsHolder.getVersionProperty());

    }
OOXML metadata extractor.
<p/>
Currently POI doesn't support metadata extraction for OOXML.

@see OOXMLExtractor#getMetadataExtractor()
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/MetadataExtractor.java