List of usage examples for org.apache.poi.hslf.extractor PowerPointExtractor getMetadataTextExtractor
@Override
public POITextExtractor getMetadataTextExtractor()
From source file:uk.ac.liverpool.MSOffice.MSPowerpoint.java
License:Open Source License
private String extractFeature(SlideShow s, HSLFSlideShow hppt, ExtractionFeature f) throws IOException { PowerPointExtractor p; switch (f) {/* w ww .j a v a2s. co m*/ case SIMPLETEXT: p = new PowerPointExtractor(hppt); return p.getText(true, false); case SIMPLENOTES: p = new PowerPointExtractor(hppt); return p.getText(false, true); // break; case SVGGRAPHICS: throw new IOException("Unimplemented"); case XMLTEXT: return extraxtXMLText(s); // break; case METADATA: p = new PowerPointExtractor(hppt); return p.getMetadataTextExtractor().getText(); default: break; } return null; }