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
getPresentationInfoFromBytes
| Name | Description |
|---|---|
| getPresentationInfoFromBytes (Bytes[]) | Creates new PresentationInfo object from stream and binds presentation to it. Gets info about presentation in specified stream. |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | Bytes[] | 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
getPresentationTextFromBytes
| Name | Description |
|---|---|
| getPresentationTextFromBytes (Bytes[], int) | Retrieves the raw text from the slides |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | Bytes[] | Input stream |
| mode | int | Extraction mode |
Returns: PresentationText
getPresentationTextFromBytes
| Name | Description |
|---|---|
| getPresentationTextFromBytes (Bytes[], int, LoadOptions) | Retrieves the raw text from the slides |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | Bytes[] | 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
readPresentationFromBytes
| Name | Description |
|---|---|
| readPresentationFromBytes (Bytes[]) | Reads an existing presentation from stream |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | Bytes[] | Input stream to read |
Returns: Presentation
readPresentationFromBytes
| Name | Description |
|---|---|
| readPresentationFromBytes (Bytes[], LoadOptions) | Reads an existing presentation from stream with additional load options |
Parameters:
| Name | Type | Description |
|---|---|---|
| stream | Bytes[] | 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