Package org.apache.poi.xslf.extractor
Class XSLFExtractor
- java.lang.Object
-
- org.apache.poi.sl.extractor.SlideShowExtractor<XSLFShape,XSLFTextParagraph>
-
- org.apache.poi.xslf.extractor.XSLFExtractor
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,POITextExtractor,POIXMLTextExtractor
public class XSLFExtractor extends org.apache.poi.sl.extractor.SlideShowExtractor<XSLFShape,XSLFTextParagraph> implements POIXMLTextExtractor
Helper class to extract text from an OOXML Powerpoint file
-
-
Constructor Summary
Constructors Constructor Description XSLFExtractor(XMLSlideShow slideshow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLSlideShowgetDocument()Returns opened documentPOIXMLPropertiesTextExtractorgetMetadataTextExtractor()Returns another text extractor, which is able to output the textual content of the document metadata / properties, such as author and title.-
Methods inherited from class org.apache.poi.sl.extractor.SlideShowExtractor
getCodepoints, getCodepointsInSparseBitSet, getFilesystem, getOLEShapes, getText, getText, isCloseFilesystem, setCloseFilesystem, setCommentsByDefault, setMasterByDefault, setNotesByDefault, setSlidesByDefault
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.poi.extractor.POITextExtractor
getFilesystem, getText, isCloseFilesystem, setCloseFilesystem
-
Methods inherited from interface org.apache.poi.ooxml.extractor.POIXMLTextExtractor
checkMaxTextSize, close, getCoreProperties, getCustomProperties, getExtendedProperties, getPackage
-
-
-
-
Constructor Detail
-
XSLFExtractor
public XSLFExtractor(XMLSlideShow slideshow)
-
-
Method Detail
-
getDocument
public XMLSlideShow getDocument()
Description copied from interface:POIXMLTextExtractorReturns opened document- Specified by:
getDocumentin interfacePOITextExtractor- Specified by:
getDocumentin interfacePOIXMLTextExtractor- Overrides:
getDocumentin classorg.apache.poi.sl.extractor.SlideShowExtractor<XSLFShape,XSLFTextParagraph>- Returns:
- the processed document
-
getMetadataTextExtractor
public POIXMLPropertiesTextExtractor getMetadataTextExtractor()
Description copied from interface:POITextExtractorReturns another text extractor, which is able to output the textual content of the document metadata / properties, such as author and title.- Specified by:
getMetadataTextExtractorin interfacePOITextExtractor- Specified by:
getMetadataTextExtractorin interfacePOIXMLTextExtractor- Overrides:
getMetadataTextExtractorin classorg.apache.poi.sl.extractor.SlideShowExtractor<XSLFShape,XSLFTextParagraph>- Returns:
- the metadata and text extractor
-
-