|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.POITextExtractor
org.apache.poi.POIXMLTextExtractor
org.apache.poi.xslf.extractor.XSLFPowerPointExtractor
public class XSLFPowerPointExtractor
| Field Summary | |
|---|---|
static XSLFRelation[] |
SUPPORTED_TYPES
|
| Constructor Summary | |
|---|---|
XSLFPowerPointExtractor(OPCPackage container)
|
|
XSLFPowerPointExtractor(XMLSlideShow slideshow)
|
|
XSLFPowerPointExtractor(XSLFSlideShow slideshow)
|
|
| Method Summary | |
|---|---|
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 |
java.lang.String |
getText(boolean slideText,
boolean notesText,
boolean masterText)
Gets the requested text from the file |
static java.lang.String |
getText(XSLFSlide slide,
boolean slideText,
boolean notesText,
boolean masterText)
Gets the requested text from the slide |
static void |
main(java.lang.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 |
| Methods inherited from class org.apache.poi.POIXMLTextExtractor |
|---|
checkMaxTextSize, close, getCoreProperties, getCustomProperties, getDocument, getExtendedProperties, getMetadataTextExtractor, getPackage |
| Methods inherited from class org.apache.poi.POITextExtractor |
|---|
setFilesystem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final XSLFRelation[] SUPPORTED_TYPES
| Constructor Detail |
|---|
public XSLFPowerPointExtractor(XMLSlideShow slideshow)
public XSLFPowerPointExtractor(XSLFSlideShow slideshow)
throws org.apache.xmlbeans.XmlException,
java.io.IOException
org.apache.xmlbeans.XmlException
java.io.IOException
public XSLFPowerPointExtractor(OPCPackage container)
throws org.apache.xmlbeans.XmlException,
OpenXML4JException,
java.io.IOException
org.apache.xmlbeans.XmlException
OpenXML4JException
java.io.IOException| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic void setSlidesByDefault(boolean slidesByDefault)
public void setNotesByDefault(boolean notesByDefault)
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 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?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||