Class HSLFSlideShow

java.lang.Object
org.apache.poi.POIDocument
org.apache.poi.hslf.usermodel.HSLFSlideShow
All Implemented Interfaces:
Closeable, AutoCloseable, GenericRecord, SlideShow<HSLFShape,HSLFTextParagraph>

public final class HSLFSlideShow extends POIDocument implements SlideShow<HSLFShape,HSLFTextParagraph>, Closeable, GenericRecord
This class is a friendly wrapper on top of the more scary HSLFSlideShow. TODO: - figure out how to match notes to their correct sheet (will involve understanding DocSlideList and DocNotesList) - handle Slide creation cleaner
  • Field Details

  • Constructor Details

    • HSLFSlideShow

      public HSLFSlideShow(HSLFSlideShowImpl hslfSlideShow)
      Constructs a Powerpoint document from the underlying HSLFSlideShow object. Finds the model stuff from this
      Parameters:
      hslfSlideShow - the HSLFSlideShow to base on
    • HSLFSlideShow

      public HSLFSlideShow()
      Constructs a new, empty, Powerpoint document.
    • HSLFSlideShow

      public HSLFSlideShow(InputStream inputStream) throws IOException
      Constructs a Powerpoint document from an input stream.
      Throws:
      IOException - If reading data from the stream fails
      RuntimeException - a number of runtime exceptions can be thrown, especially if there are problems with the input format
    • HSLFSlideShow

      public HSLFSlideShow(POIFSFileSystem poifs) throws IOException
      Constructs a Powerpoint document from an POIFSFileSystem.
      Throws:
      IOException - If reading data from the file-system fails
      RuntimeException - a number of runtime exceptions can be thrown, especially if there are problems with the input format
    • HSLFSlideShow

      public HSLFSlideShow(DirectoryNode root) throws IOException
      Constructs a Powerpoint document from an DirectoryNode.
      Throws:
      IOException - If reading data from the DirectoryNode fails
      RuntimeException - a number of runtime exceptions can be thrown, especially if there are problems with the input format
  • Method Details