SlideShowExtractor
instead@Deprecated @Removal(version="5.0.0") public final class PowerPointExtractor extends POIOLE2TextExtractor
document
Constructor and Description |
---|
PowerPointExtractor(DirectoryNode dir)
Deprecated.
Creates a PowerPointExtractor, from a specific place
inside an open
POIFSFileSystem |
PowerPointExtractor(HSLFSlideShow slideShow)
Deprecated.
|
PowerPointExtractor(HSLFSlideShowImpl ss)
Deprecated.
Creates a PowerPointExtractor, from a HSLFSlideShow
|
PowerPointExtractor(java.io.InputStream iStream)
Deprecated.
Creates a PowerPointExtractor, from an Input Stream
|
PowerPointExtractor(POIFSFileSystem fs)
Deprecated.
Creates a PowerPointExtractor, from an open POIFSFileSystem
|
PowerPointExtractor(java.lang.String fileName)
Deprecated.
Creates a PowerPointExtractor, from a file
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNotes()
Deprecated.
Fetches all the notes text from the slideshow, but not the slide text
|
java.util.List<HSLFObjectShape> |
getOLEShapes()
Deprecated.
|
java.lang.String |
getText()
Deprecated.
Fetches all the slide text from the slideshow, but not the notes, unless
you've called setSlidesByDefault() and setNotesByDefault() to change this
|
java.lang.String |
getText(boolean getSlideText,
boolean getNoteText)
Deprecated.
Fetches text from the slideshow, be it slide text or note text.
|
java.lang.String |
getText(boolean getSlideText,
boolean getNoteText,
boolean getCommentText,
boolean getMasterText)
Deprecated.
|
static void |
main(java.lang.String[] args)
Deprecated.
Basic extractor.
|
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
|
getDocSummaryInformation, getDocument, getMetadataTextExtractor, getRoot, getSummaryInformation
close, setFilesystem
public PowerPointExtractor(HSLFSlideShow slideShow)
public PowerPointExtractor(java.lang.String fileName) throws java.io.IOException
fileName
- The name of the file to extract fromjava.io.IOException
public PowerPointExtractor(java.io.InputStream iStream) throws java.io.IOException
iStream
- The input stream containing the PowerPoint documentjava.io.IOException
public PowerPointExtractor(POIFSFileSystem fs) throws java.io.IOException
fs
- the POIFSFileSystem containing the PowerPoint documentjava.io.IOException
public PowerPointExtractor(DirectoryNode dir) throws java.io.IOException
POIFSFileSystem
dir
- the POIFS Directory containing the PowerPoint documentjava.io.IOException
public PowerPointExtractor(HSLFSlideShowImpl ss)
ss
- the HSLFSlideShow to extract text frompublic static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
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 getSlideText, boolean getNoteText)
getSlideText
- fetch slide textgetNoteText
- fetch note textpublic java.lang.String getText(boolean getSlideText, boolean getNoteText, boolean getCommentText, boolean getMasterText)
public java.lang.String getNotes()
public java.util.List<HSLFObjectShape> getOLEShapes()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.