addProperty(metadata, Metadata.VERSION, propsHolder.getVersionProperty());
}
private void extractMetadata(ExtendedProperties properties,
Metadata metadata) {
CTProperties propsHolder = properties.getUnderlyingProperties();
addProperty(metadata, Metadata.APPLICATION_NAME, propsHolder
.getApplication());
addProperty(metadata, Metadata.APPLICATION_VERSION, propsHolder
.getAppVersion());
addProperty(metadata, Metadata.CHARACTER_COUNT, propsHolder
.getCharacters());
addProperty(metadata, Metadata.CHARACTER_COUNT_WITH_SPACES, propsHolder
.getCharactersWithSpaces());
addProperty(metadata, Metadata.PUBLISHER, propsHolder.getCompany());
addProperty(metadata, Metadata.LINE_COUNT, propsHolder.getLines());
addProperty(metadata, Metadata.MANAGER, propsHolder.getManager());
addProperty(metadata, Metadata.NOTES, propsHolder.getNotes());
addProperty(metadata, Metadata.PAGE_COUNT, propsHolder.getPages());
addProperty(metadata, Metadata.PARAGRAPH_COUNT, propsHolder.getParagraphs());
addProperty(metadata, Metadata.PRESENTATION_FORMAT, propsHolder
.getPresentationFormat());
addProperty(metadata, Metadata.SLIDE_COUNT, propsHolder.getSlides());
addProperty(metadata, Metadata.TEMPLATE, propsHolder.getTemplate());
addProperty(metadata, Metadata.TOTAL_TIME, propsHolder.getTotalTime());
addProperty(metadata, Metadata.WORD_COUNT, propsHolder.getWords());
}