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
getPresentationInfoFromStream
Name | Description |
---|---|
getPresentationInfoFromStream (PresentationFactory, ReadStream, Function) | Creates new PresentationInfo object from stream and binds presentation to it. Gets info about presentation in specified stream. |
Parameters:
Name | Type | Description |
---|---|---|
presentationfactory | PresentationFactory | link to self |
stream | ReadStream | Presentation stream. |
callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
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
getPresentationTextFromStream
Name | Description |
---|---|
getPresentationTextFromStream (PresentationFactory, ReadStream, int, Function) | Retrieves the raw text from the slides |
Parameters:
Name | Type | Description |
---|---|---|
presentationfactory | PresentationFactory | link to self |
stream | ReadStream | Input stream |
mode | int | Extraction mode |
callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
Returns: PresentationText
getPresentationTextFromStream
Name | Description |
---|---|
getPresentationTextFromStream (PresentationFactory, ReadStream, int, LoadOptions, Function) | Retrieves the raw text from the slides |
Parameters:
Name | Type | Description |
---|---|---|
presentationfactory | PresentationFactory | link to self |
stream | ReadStream | Input stream |
mode | int | Extraction mode |
options | LoadOptions | Load options |
callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
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
readPresentationFromStream
Name | Description |
---|---|
readPresentationFromStream (PresentationFactory, ReadStream, Function) | Reads an existing presentation from stream |
Parameters:
Name | Type | Description |
---|---|---|
presentationfactory | PresentationFactory | link to self |
stream | ReadStream | Input stream to read |
callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
Returns: Presentation
readPresentationFromStream
Name | Description |
---|---|
readPresentationFromStream (PresentationFactory, ReadStream, LoadOptions, Function) | Reads an existing presentation from stream with additional load options |
Parameters:
Name | Type | Description |
---|---|---|
presentationfactory | PresentationFactory | link to self |
stream | ReadStream | Input stream to read |
options | LoadOptions | Load options |
callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
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