public class XSLFPowerPointExtractor extends POIXMLTextExtractor
| Modifier and Type | Field and Description |
|---|---|
static XSLFRelation[] |
SUPPORTED_TYPES |
document| Constructor and Description |
|---|
XSLFPowerPointExtractor(OPCPackage container) |
XSLFPowerPointExtractor(XMLSlideShow slideshow) |
XSLFPowerPointExtractor(XSLFSlideShow slideshow) |
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Gets the slide text, but not the notes text
|
String |
getText(boolean slideText,
boolean notesText)
Gets the requested text from the file
|
String |
getText(boolean slideText,
boolean notesText,
boolean masterText)
Gets the requested text from the file
|
static void |
main(String[] args) |
void |
setMasterByDefault(boolean masterByDefault)
Should a call to getText() return text from master? Default is no
|
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, getMetadataTextExtractor, getPackagepublic static final XSLFRelation[] SUPPORTED_TYPES
public XSLFPowerPointExtractor(XMLSlideShow slideshow)
public XSLFPowerPointExtractor(XSLFSlideShow slideshow) throws org.apache.xmlbeans.XmlException, IOException
org.apache.xmlbeans.XmlExceptionIOExceptionpublic XSLFPowerPointExtractor(OPCPackage container) throws org.apache.xmlbeans.XmlException, OpenXML4JException, IOException
org.apache.xmlbeans.XmlExceptionOpenXML4JExceptionIOExceptionpublic void setSlidesByDefault(boolean slidesByDefault)
public void setNotesByDefault(boolean notesByDefault)
public void setMasterByDefault(boolean masterByDefault)
public String getText()
getText in class POITextExtractorpublic String getText(boolean slideText, boolean notesText)
slideText - Should we retrieve text from slides?notesText - Should we retrieve text from notes?public String getText(boolean slideText, boolean notesText, boolean masterText)
slideText - Should we retrieve text from slides?notesText - Should we retrieve text from notes?masterText - Should we retrieve text from master slides?Copyright © 2020. All rights reserved.