| java.lang.Object org.apache.poi.POITextExtractor org.apache.poi.hslf.extractor.PowerPointExtractor
PowerPointExtractor | public class PowerPointExtractor extends POITextExtractor (Code) | | This class can be used to extract text from a PowerPoint file.
Can optionally also get the notes from one.
author: Nick Burch |
PowerPointExtractor | public PowerPointExtractor(String fileName) throws IOException(Code) | | Creates a PowerPointExtractor, from a file
Parameters: fileName - The name of the file to extract from |
PowerPointExtractor | public PowerPointExtractor(InputStream iStream) throws IOException(Code) | | Creates a PowerPointExtractor, from an Input Stream
Parameters: iStream - The input stream containing the PowerPoint document |
PowerPointExtractor | public PowerPointExtractor(POIFSFileSystem fs) throws IOException(Code) | | Creates a PowerPointExtractor, from an open POIFSFileSystem
Parameters: fs - the POIFSFileSystem containing the PowerPoint document |
PowerPointExtractor | public PowerPointExtractor(HSLFSlideShow ss) throws IOException(Code) | | Creates a PowerPointExtractor, from a HSLFSlideShow
Parameters: ss - the HSLFSlideShow to extract text from |
getNotes | public String getNotes()(Code) | | Fetches all the notes text from the slideshow, but not the slide text
|
getText | public String getText()(Code) | | Fetches all the slide text from the slideshow, but not the notes
|
getText | public String getText(boolean getSlideText, boolean getNoteText)(Code) | | Fetches text from the slideshow, be it slide text or note text.
Because the final block of text in a TextRun normally have their
last \n stripped, we add it back
Parameters: getSlideText - fetch slide text Parameters: getNoteText - fetch note text |
main | public static void main(String args) throws IOException(Code) | | Basic extractor. Returns all the text, and optionally all the notes
|
|
|