IPresentationFactory
public interface IPresentationFactory
Allows to create presentation via COM interface
Methods
Method | Description |
---|---|
createPresentation() | Creates new presentation. |
createPresentation(ILoadOptions options) | Creates new presentation with additional load options |
getPresentationInfo(String file) | Gets info about presentation in specified file. |
getPresentationInfo(InputStream stream) | Gets info about presentation in specified stream. |
readPresentation(byte[] data) | Reads an existing presentation from array |
readPresentation(byte[] data, ILoadOptions options) | Reads an existing presentation from array with additional load options |
readPresentation(InputStream stream) | Reads an existing presentation from stream |
readPresentation(InputStream stream, ILoadOptions options) | Reads an existing presentation from stream with additional load options |
readPresentation(String file) | Reads an existing presentation from file |
readPresentation(String file, ILoadOptions options) | Reads an existing presentation from stream with additional load options |
getPresentationText(String file, int mode) | Retrieves the raw text from the slides |
getPresentationText(InputStream stream, int mode) | Retrieves the raw text from the slides |
getPresentationText(InputStream stream, int mode, ILoadOptions options) | Retrieves the raw text from the slides |
createPresentation()
public abstract IPresentation createPresentation()
Creates new presentation.
Returns: IPresentation - New presentation
createPresentation(ILoadOptions options)
public abstract IPresentation createPresentation(ILoadOptions options)
Creates new presentation with additional load options
Parameters:
Parameter | Type | Description |
---|---|---|
options | ILoadOptions | Load options |
Returns: IPresentation - New presentation
getPresentationInfo(String file)
public abstract IPresentationInfo getPresentationInfo(String file)
Gets info about presentation in specified file.
Parameters:
Parameter | Type | Description |
---|---|---|
file | java.lang.String | Presentation file. |
Returns: IPresentationInfo - Presentation info
getPresentationInfo(InputStream stream)
public abstract IPresentationInfo getPresentationInfo(InputStream stream)
Gets info about presentation in specified stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | Presentation stream. |
Returns: IPresentationInfo - Presentation info.
readPresentation(byte[] data)
public abstract IPresentation readPresentation(byte[] data)
Reads an existing presentation from array
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] | Array to read |
Returns: IPresentation - Read presentation
readPresentation(byte[] data, ILoadOptions options)
public abstract IPresentation readPresentation(byte[] data, ILoadOptions options)
Reads an existing presentation from array with additional load options
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] | Array to read |
options | ILoadOptions | Load options |
Returns: IPresentation - Read presentation
readPresentation(InputStream stream)
public abstract IPresentation readPresentation(InputStream stream)
Reads an existing presentation from stream
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | Input stream to read |
Returns: IPresentation - Read presentation
readPresentation(InputStream stream, ILoadOptions options)
public abstract IPresentation readPresentation(InputStream stream, ILoadOptions options)
Reads an existing presentation from stream with additional load options
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | Input stream to read |
options | ILoadOptions | Load options |
Returns: IPresentation - Read presentation
readPresentation(String file)
public abstract IPresentation readPresentation(String file)
Reads an existing presentation from file
Parameters:
Parameter | Type | Description |
---|---|---|
file | java.lang.String | File name |
Returns: IPresentation - Read presentation
readPresentation(String file, ILoadOptions options)
public abstract IPresentation readPresentation(String file, ILoadOptions options)
Reads an existing presentation from stream with additional load options
Parameters:
Parameter | Type | Description |
---|---|---|
file | java.lang.String | File name |
options | ILoadOptions | Load options |
Returns: IPresentation - Read presentation
getPresentationText(String file, int mode)
public abstract IPresentationText getPresentationText(String file, int mode)
Retrieves the raw text from the slides
Parameters:
Parameter | Type | Description |
---|---|---|
file | java.lang.String | Input file |
mode | int | Extraction mode |
Returns: IPresentationText - The instance of PresentationText containing the SlideText array representing the raw slides text
getPresentationText(InputStream stream, int mode)
public abstract IPresentationText getPresentationText(InputStream stream, int mode)
Retrieves the raw text from the slides
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | Input stream |
mode | int | Extraction mode |
Returns: IPresentationText - The instance of PresentationText containing the SlideText array representing the raw slides text
getPresentationText(InputStream stream, int mode, ILoadOptions options)
public abstract IPresentationText getPresentationText(InputStream stream, int mode, ILoadOptions options)
Retrieves the raw text from the slides
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | Input stream |
mode | int | Extraction mode |
options | ILoadOptions | Load options |
Returns: IPresentationText - The instance of PresentationText containing the SlideText array representing the raw slides text