PresentationFactory
PresentationFactory class
Allows to create presentation via COM interface
PresentationFactory
| Name | Description |
|---|---|
| PresentationFactory() |
Returns: PresentationFactory
createPresentation
| Name | Description |
|---|---|
| createPresentation () | Creates new presentation. |
Returns: Presentation
createPresentation
| Name | Description |
|---|---|
| createPresentation (LoadOptions) | Creates new presentation with additional load options |
Parameters:
| Name | Type | Description |
|---|---|---|
| options | LoadOptions | Load options |
Returns: Presentation
getInstance
| Name | Description |
|---|---|
| getInstance () | Presentation factory static instance. Read-only PresentationFactory. |
Returns: PresentationFactory
getPresentationInfo
| Name | Description |
|---|---|
| getPresentationInfo (String) | Creates new PresentationInfo object from file and binds presentation to it. |
Parameters:
| Name | Type | Description |
|---|---|---|
| file | String | Presentation file. |
Returns: PresentationInfo
getPresentationInfo
| Name | Description |
|---|---|
| getPresentationInfo (InputStream) | Creates new PresentationInfo object from stream and binds presentation to it. Gets info about presentation in specified stream. |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | InputStream | Presentation stream. |
Returns: PresentationInfo
getPresentationText
| Name | Description |
|---|---|
| getPresentationText (String, int) | Retrieves the raw text from the slides |
Parameters:
| Name | Type | Description |
|---|---|---|
| file | String | Input file |
| mode | int | Extraction mode |
Returns: PresentationText
getPresentationText
| Name | Description |
|---|---|
| getPresentationText (InputStream, int) | Retrieves the raw text from the slides |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | InputStream | Input stream |
| mode | int | Extraction mode |
Returns: PresentationText
getPresentationText
| Name | Description |
|---|---|
| getPresentationText (InputStream, int, LoadOptions) | Retrieves the raw text from the slides |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | InputStream | Input stream |
| mode | int | Extraction mode |
| options | LoadOptions | Load options |
Returns: PresentationText
readPresentation
| Name | Description |
|---|---|
| readPresentation (byte[]) | Reads an existing presentation from array |
Parameters:
| Name | Type | Description |
|---|---|---|
| data | byte[] | Array to read |
Returns: Presentation
readPresentation
| Name | Description |
|---|---|
| readPresentation (byte[], LoadOptions) | Reads an existing presentation from array with additional load options |
Parameters:
| Name | Type | Description |
|---|---|---|
| data | byte[] | Array to read |
| options | LoadOptions | Load options |
Returns: Presentation
readPresentation
| Name | Description |
|---|---|
| readPresentation (InputStream) | Reads an existing presentation from stream |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | InputStream | Input stream to read |
Returns: Presentation
readPresentation
| Name | Description |
|---|---|
| readPresentation (InputStream, LoadOptions) | Reads an existing presentation from stream with additional load options |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | InputStream | Input stream to read |
| options | LoadOptions | Load options |
Returns: Presentation
readPresentation
| Name | Description |
|---|---|
| readPresentation (String) | Reads an existing presentation from file |
Parameters:
| Name | Type | Description |
|---|---|---|
| file | String | File name |
Returns: Presentation
readPresentation
| Name | Description |
|---|---|
| readPresentation (String, LoadOptions) | Reads an existing presentation from stream with additional load options |
Parameters:
| Name | Type | Description |
|---|---|---|
| file | String | File name |
| options | LoadOptions | Load options |
Returns: Presentation