Class XSLFPowerPointExtractor

All Implemented Interfaces:
Closeable, AutoCloseable

@Deprecated @Removal(version="5.0.0") public class XSLFPowerPointExtractor extends POIXMLTextExtractor
Deprecated.
Extractor for XSLF SlideShows
  • Field Details

    • SUPPORTED_TYPES

      public static final XSLFRelation[] SUPPORTED_TYPES
      Deprecated.
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Deprecated.
      Throws:
      Exception
    • setSlidesByDefault

      public void setSlidesByDefault(boolean slidesByDefault)
      Deprecated.
      Should a call to getText() return slide text? Default is yes
    • setNotesByDefault

      public void setNotesByDefault(boolean notesByDefault)
      Deprecated.
      Should a call to getText() return notes text? Default is no
    • setCommentsByDefault

      public void setCommentsByDefault(boolean commentsByDefault)
      Deprecated.
      Should a call to getText() return comments text? Default is no
    • setMasterByDefault

      public void setMasterByDefault(boolean masterByDefault)
      Deprecated.
      Should a call to getText() return text from master? Default is no
    • getText

      public String getText()
      Deprecated.
      Gets the slide text, but not the notes text
      Specified by:
      getText in class POITextExtractor
      Returns:
      All the text from the document
    • getText

      public String getText(boolean slideText, boolean notesText)
      Deprecated.
      Gets the requested text from the file
      Parameters:
      slideText - Should we retrieve text from slides?
      notesText - Should we retrieve text from notes?
    • getText

      public String getText(boolean slideText, boolean notesText, boolean masterText)
      Deprecated.
      Gets the requested text from the file
      Parameters:
      slideText - Should we retrieve text from slides?
      notesText - Should we retrieve text from notes?
      masterText - Should we retrieve text from master slides?
      Returns:
      the extracted text
    • getText

      public String getText(boolean slideText, boolean notesText, boolean commentText, boolean masterText)
      Deprecated.
      Gets the requested text from the file
      Parameters:
      slideText - Should we retrieve text from slides?
      notesText - Should we retrieve text from notes?
      commentText - Should we retrieve text from comments?
      masterText - Should we retrieve text from master slides?
      Returns:
      the extracted text
    • getText

      public static String getText(XSLFSlide slide, boolean slideText, boolean notesText, boolean masterText)
      Deprecated.
      Gets the requested text from the slide
      Parameters:
      slide - the slide to retrieve the text from
      slideText - Should we retrieve text from slides?
      notesText - Should we retrieve text from notes?
      masterText - Should we retrieve text from master slides?
      Returns:
      the extracted text
    • getText

      public static String getText(XSLFSlide slide, boolean slideText, boolean notesText, boolean commentText, boolean masterText)
      Deprecated.
      Gets the requested text from the slide
      Parameters:
      slide - the slide to retrieve the text from
      slideText - Should we retrieve text from slides?
      notesText - Should we retrieve text from notes?
      commentText - Should we retrieve text from comments?
      masterText - Should we retrieve text from master slides?
      Returns:
      the extracted text