com.aspose.slides
Interface IPresentationFactory

All Known Implementing Classes:
PresentationFactory

public interface IPresentationFactory

Allows to create presentation via COM interface


Method Summary
 IPresentation createPresentation()
           Creates new presentation.
 IPresentation createPresentation(ILoadOptions options)
           Creates new presentation with additional load options
 IPresentationInfo getPresentationInfo(java.io.InputStream stream)
           
 IPresentationInfo getPresentationInfo(java.lang.String file)
           Gets info about presentation in specified file.
 IPresentation readPresentation(byte[] data)
           Reads an existing presentation from array
 IPresentation readPresentation(byte[] data, ILoadOptions options)
           Reads an existing presentation from array with additional load options
 IPresentation readPresentation(java.io.InputStream stream)
           Reads an existing presentation from stream
 IPresentation readPresentation(java.io.InputStream stream, ILoadOptions options)
           Reads an existing presentation from stream with additional load options
 IPresentation readPresentation(java.lang.String file)
           Reads an existing presentation from file
 IPresentation readPresentation(java.lang.String file, ILoadOptions options)
           Reads an existing presentation from stream with additional load options
 

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 - Presentatoin file.
Returns:
Presentation info

getPresentationInfo

IPresentationInfo getPresentationInfo(java.io.InputStream stream)

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


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.