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:
Closeable,AutoCloseable,POITextExtractor,POIXMLTextExtractor
public class XSLFExtractor extends SlideShowExtractor<XSLFShape,XSLFTextParagraph> implements POIXMLTextExtractor
Helper class to extract text from an OOXML Powerpoint file
-
-
Field Summary
-
Fields inherited from class org.apache.poi.sl.extractor.SlideShowExtractor
slideshow
-
-
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 an OOXML properties text extractor for the document properties metadata, such as title and author.-
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
clone, equals, finalize, 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 classSlideShowExtractor<XSLFShape,XSLFTextParagraph>- Returns:
- the opened document
-
getMetadataTextExtractor
public POIXMLPropertiesTextExtractor getMetadataTextExtractor()
Description copied from interface:POIXMLTextExtractorReturns an OOXML properties text extractor for the document properties metadata, such as title and author.- Specified by:
getMetadataTextExtractorin interfacePOITextExtractor- Specified by:
getMetadataTextExtractorin interfacePOIXMLTextExtractor- Overrides:
getMetadataTextExtractorin classSlideShowExtractor<XSLFShape,XSLFTextParagraph>
-
-