org.apache.poi.xslf.extractor
public class XSLFPowerPointExtractor extends POIXMLTextExtractor
document| Constructor and Description |
|---|
XSLFPowerPointExtractor(OPCPackage container) |
XSLFPowerPointExtractor(XMLSlideShow slideshow) |
XSLFPowerPointExtractor(XSLFSlideShow slideshow) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText()
Gets the slide text, but not the notes text
|
java.lang.String |
getText(boolean slideText,
boolean notesText)
Gets the requested text from the file
|
static void |
main(java.lang.String[] args) |
void |
setNotesByDefault(boolean notesByDefault)
Should a call to getText() return notes text?
Default is no
|
void |
setSlidesByDefault(boolean slidesByDefault)
Should a call to getText() return slide text?
Default is yes
|
getCoreProperties, getCustomProperties, getDocument, getExtendedProperties, getMetadataTextExtractorpublic XSLFPowerPointExtractor(XMLSlideShow slideshow)
public XSLFPowerPointExtractor(XSLFSlideShow slideshow) throws XmlException, java.io.IOException
XmlExceptionjava.io.IOExceptionpublic XSLFPowerPointExtractor(OPCPackage container) throws XmlException, OpenXML4JException, java.io.IOException
XmlExceptionOpenXML4JExceptionjava.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic void setSlidesByDefault(boolean slidesByDefault)
public void setNotesByDefault(boolean notesByDefault)
public java.lang.String getText()
getText in class POITextExtractorpublic java.lang.String getText(boolean slideText,
boolean notesText)
slideText - Should we retrieve text from slides?notesText - Should we retrieve text from notes?Copyright 2016 The Apache Software Foundation or its licensors, as applicable.