Interface SlideShow<S extends Shape<S,​P>,​P extends TextParagraph<S,​P,​? extends TextRun>>

    • Method Detail

      • getSlideMasters

        List<? extends MasterSheet<S,​P>> getSlideMasters()
        Returns all slide masters. This doesn't include notes master and other arbitrary masters.
      • getPageSize

        Dimension getPageSize()
        Returns the current page size
        Returns:
        the page size
      • setPageSize

        void setPageSize​(Dimension pgsize)
        Change the current page size
        Parameters:
        pgsize - page size (in points)
      • addPicture

        PictureData addPicture​(byte[] pictureData,
                               PictureData.PictureType format)
                        throws IOException
        Adds a picture to the presentation.
        Parameters:
        pictureData - The bytes of the picture
        format - The format of the picture.
        Returns:
        the picture data reference.
        Throws:
        IOException
      • addPicture

        PictureData addPicture​(File pict,
                               PictureData.PictureType format)
                        throws IOException
        Adds a picture to the presentation.
        Parameters:
        pict - The file containing the image to add
        format - The format of the picture.
        Returns:
        the picture data reference
        Throws:
        IOException
        Since:
        3.15 beta 1
      • findPictureData

        PictureData findPictureData​(byte[] pictureData)
        check if a picture with this picture data already exists in this presentation
        Parameters:
        pictureData - The picture data to find in the SlideShow
        Returns:
        null if picture data is not found in this slideshow
        Since:
        3.15 beta 3
      • write

        void write​(OutputStream out)
            throws IOException
        Writes out the slideshow file the is represented by an instance of this class
        Parameters:
        out - The OutputStream to write to.
        Throws:
        IOException - If there is an unexpected IOException from the passed in OutputStream
      • getMetadataTextExtractor

        POITextExtractor getMetadataTextExtractor()
        Returns:
        an extractor for the slideshow metadata
        Since:
        POI 4.0.0
      • getPersistDocument

        Object getPersistDocument()
        Returns:
        the instance which handles the persisting of the slideshow, which is either a subclass of POIDocument or POIXMLDocument
        Since:
        POI 4.0.0