@Deprecated @Removal(version="5.0.0") public class XSLFPowerPointExtractor extends POIXMLTextExtractor
Modifier and Type | Field and Description |
---|---|
static XSLFRelation[] |
SUPPORTED_TYPES
Deprecated.
|
Constructor and Description |
---|
XSLFPowerPointExtractor(OPCPackage container)
Deprecated.
|
XSLFPowerPointExtractor(XMLSlideShow slideShow)
Deprecated.
|
XSLFPowerPointExtractor(XSLFSlideShow slideShow)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Deprecated.
Gets the slide text, but not the notes text
|
java.lang.String |
getText(boolean slideText,
boolean notesText)
Deprecated.
Gets the requested text from the file
|
java.lang.String |
getText(boolean slideText,
boolean notesText,
boolean masterText)
Deprecated.
Gets the requested text from the file
|
java.lang.String |
getText(boolean slideText,
boolean notesText,
boolean commentText,
boolean masterText)
Deprecated.
Gets the requested text from the file
|
static java.lang.String |
getText(XSLFSlide slide,
boolean slideText,
boolean notesText,
boolean masterText)
Deprecated.
Gets the requested text from the slide
|
static java.lang.String |
getText(XSLFSlide slide,
boolean slideText,
boolean notesText,
boolean commentText,
boolean masterText)
Deprecated.
Gets the requested text from the slide
|
static void |
main(java.lang.String[] args)
Deprecated.
|
void |
setCommentsByDefault(boolean commentsByDefault)
Deprecated.
Should a call to getText() return comments text? Default is no
|
void |
setMasterByDefault(boolean masterByDefault)
Deprecated.
Should a call to getText() return text from master? Default is no
|
void |
setNotesByDefault(boolean notesByDefault)
Deprecated.
Should a call to getText() return notes text?
Default is no
|
void |
setSlidesByDefault(boolean slidesByDefault)
Deprecated.
Should a call to getText() return slide text?
Default is yes
|
checkMaxTextSize, close, getCoreProperties, getCustomProperties, getDocument, getExtendedProperties, getMetadataTextExtractor, getPackage
setFilesystem
public static final XSLFRelation[] SUPPORTED_TYPES
public XSLFPowerPointExtractor(XMLSlideShow slideShow)
public XSLFPowerPointExtractor(XSLFSlideShow slideShow)
public XSLFPowerPointExtractor(OPCPackage container) throws org.apache.xmlbeans.XmlException, OpenXML4JException, java.io.IOException
org.apache.xmlbeans.XmlException
OpenXML4JException
java.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void setSlidesByDefault(boolean slidesByDefault)
public void setNotesByDefault(boolean notesByDefault)
public void setCommentsByDefault(boolean commentsByDefault)
public void setMasterByDefault(boolean masterByDefault)
public java.lang.String getText()
getText
in class POITextExtractor
public java.lang.String getText(boolean slideText, boolean notesText)
slideText
- Should we retrieve text from slides?notesText
- Should we retrieve text from notes?public java.lang.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?public java.lang.String getText(boolean slideText, boolean notesText, boolean commentText, boolean masterText)
slideText
- Should we retrieve text from slides?notesText
- Should we retrieve text from notes?commentText
- Should we retrieve text from comments?masterText
- Should we retrieve text from master slides?public static java.lang.String getText(XSLFSlide slide, boolean slideText, boolean notesText, boolean masterText)
slide
- the slide to retrieve the text fromslideText
- Should we retrieve text from slides?notesText
- Should we retrieve text from notes?masterText
- Should we retrieve text from master slides?public static java.lang.String getText(XSLFSlide slide, boolean slideText, boolean notesText, boolean commentText, boolean masterText)
slide
- the slide to retrieve the text fromslideText
- Should we retrieve text from slides?notesText
- Should we retrieve text from notes?commentText
- Should we retrieve text from comments?masterText
- Should we retrieve text from master slides?Copyright 2020 The Apache Software Foundation or its licensors, as applicable.