com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IPresentationFactory

  • All Known Implementing Classes:
    PresentationFactory


    public interface IPresentationFactory

    Allows to create presentation via COM interface

    • Method Detail

      • createPresentation

        IPresentation createPresentation()

        Creates new presentation.

        Returns:
        New presentation
      • createPresentation

        IPresentation createPresentation(ILoadOptions options)

        Creates new presentation with additional load options

        Parameters:
        options - Load options
        Returns:
        New presentation
      • getPresentationInfo

        IPresentationInfo getPresentationInfo(java.lang.String file)

        Gets info about presentation in specified file.

        Parameters:
        file - Presentation file.
        Returns:
        Presentation info
      • getPresentationInfo

        IPresentationInfo getPresentationInfo(java.io.InputStream stream)

        Gets info about presentation in specified stream.

        Parameters:
        stream - Presentation stream.
        Returns:
        Presentation info.
      • readPresentation

        IPresentation readPresentation(byte[] data)

        Reads an existing presentation from array

        Parameters:
        data - Array to read
        Returns:
        Read presentation
      • readPresentation

        IPresentation readPresentation(byte[] data,
                                       ILoadOptions options)

        Reads an existing presentation from array with additional load options

        Parameters:
        data - Array to read
        options - Load options
        Returns:
        Read presentation
      • readPresentation

        IPresentation readPresentation(java.io.InputStream stream)

        Reads an existing presentation from stream

        Parameters:
        stream - Input stream to read
        Returns:
        Read presentation
      • readPresentation

        IPresentation readPresentation(java.io.InputStream stream,
                                       ILoadOptions options)

        Reads an existing presentation from stream with additional load options

        Parameters:
        stream - Input stream to read
        options - Load options
        Returns:
        Read presentation
      • readPresentation

        IPresentation readPresentation(java.lang.String file)

        Reads an existing presentation from file

        Parameters:
        file - File name
        Returns:
        Read presentation
      • readPresentation

        IPresentation readPresentation(java.lang.String file,
                                       ILoadOptions options)

        Reads an existing presentation from stream with additional load options

        Parameters:
        file - File name
        options - Load options
        Returns:
        Read presentation
      • getPresentationText

        IPresentationText getPresentationText(java.lang.String file,
                                              int mode)

        Retrieves the raw text from the slides

        Parameters:
        file - Input file
        mode - Extraction mode
        Returns:
        The instance of PresentationText containing the SlideText array representing the raw slides text
      • getPresentationText

        IPresentationText getPresentationText(java.io.InputStream stream,
                                              int mode)

        Retrieves the raw text from the slides

        Parameters:
        stream - Input stream
        mode - Extraction mode
        Returns:
        The instance of PresentationText containing the SlideText array representing the raw slides text
      • getPresentationText

        IPresentationText getPresentationText(java.io.InputStream stream,
                                              int mode,
                                              ILoadOptions options)

        Retrieves the raw text from the slides

        Parameters:
        stream - Input stream
        mode - Extraction mode
        options - Load options
        Returns:
        The instance of PresentationText containing the SlideText array representing the raw slides text