PresentationFactory
PresentationFactory class
Allows to create presentation via COM interface
PresentationFactory
Name | Description |
---|---|
PresentationFactory() |
Result: PresentationFactory
createPresentation
Name | Description |
---|---|
createPresentation() | Creates new presentation. |
Result: Presentation
createPresentation
Name | Description |
---|---|
createPresentation(LoadOptions) | Creates new presentation with additional load options |
Parameters:
Name | Type | Description |
---|---|---|
options | LoadOptions | Load options |
Result: Presentation
getInstance
Name | Description |
---|---|
getInstance() | Presentation factory static instance. Read-only PresentationFactory. |
Result: 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. |
Result: 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. |
Result: 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 |
Result: 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 |
Result: 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 |
Result: PresentationText
readPresentation
Name | Description |
---|---|
readPresentation(byte[]) | Reads an existing presentation from array |
Parameters:
Name | Type | Description |
---|---|---|
data | byte[] | Array to read |
Result: 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 |
Result: Presentation
readPresentationFromBytes
Name | Description |
---|---|
readPresentationFromBytes (Bytes[]) | Reads an existing presentation from stream |
Parameters:
Name | Type | Description |
---|---|---|
stream | Bytes[] | Input stream to read |
Result: 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 |
Result: Presentation
readPresentation
Name | Description |
---|---|
readPresentation(String) | Reads an existing presentation from file |
Parameters:
Name | Type | Description |
---|---|---|
file | String | File name |
Result: 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 |
Result: Presentation