PresentationFactory

PresentationFactory class

Allows to create presentation via COM interface

PresentationFactory

NameDescription
PresentationFactory()

Result: PresentationFactory


createPresentation

NameDescription
createPresentation ()Creates new presentation.

Result: Presentation


createPresentation

NameDescription
createPresentation (LoadOptions)Creates new presentation with additional load options

Parameters:

NameTypeDescription
optionsLoadOptionsLoad options

Result: Presentation


getInstance

NameDescription
getInstance ()Presentation factory static instance. Read-only PresentationFactory.

Result: PresentationFactory


getPresentationInfo

NameDescription
getPresentationInfo (String)Creates new PresentationInfo object from file and binds presentation to it.

Parameters:

NameTypeDescription
fileStringPresentation file.

Result: PresentationInfo


getPresentationInfoFromStream

NameDescription
getPresentationInfoFromStream (PresentationFactory, ReadStream, Function)Creates new PresentationInfo object from stream and binds presentation to it. Gets info about presentation in specified stream.

Parameters:

NameTypeDescription
presentationfactoryPresentationFactorylink to self
streamReadStreamPresentation stream.
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result: PresentationInfo


getPresentationText

NameDescription
getPresentationText (String, int)Retrieves the raw text from the slides

Parameters:

NameTypeDescription
fileStringInput file
modeintExtraction mode

Result: PresentationText


getPresentationTextFromStream

NameDescription
getPresentationTextFromStream (PresentationFactory, ReadStream, int, Function)Retrieves the raw text from the slides

Parameters:

NameTypeDescription
presentationfactoryPresentationFactorylink to self
streamReadStreamInput stream
modeintExtraction mode
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result: PresentationText


getPresentationTextFromStream

NameDescription
getPresentationTextFromStream (PresentationFactory, ReadStream, int, LoadOptions, Function)Retrieves the raw text from the slides

Parameters:

NameTypeDescription
presentationfactoryPresentationFactorylink to self
streamReadStreamInput stream
modeintExtraction mode
optionsLoadOptionsLoad options
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result: PresentationText


readPresentation

NameDescription
readPresentation (byte[])Reads an existing presentation from array

Parameters:

NameTypeDescription
databyte[]Array to read

Result: Presentation


readPresentation

NameDescription
readPresentation (byte[], LoadOptions)Reads an existing presentation from array with additional load options

Parameters:

NameTypeDescription
databyte[]Array to read
optionsLoadOptionsLoad options

Result: Presentation


readPresentationFromStream

NameDescription
readPresentationFromStream (PresentationFactory, ReadStream, Function)Reads an existing presentation from stream

Parameters:

NameTypeDescription
presentationfactoryPresentationFactorylink to self
streamReadStreamInput stream to read
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result: Presentation


readPresentationFromStream

NameDescription
readPresentationFromStream (PresentationFactory, ReadStream, LoadOptions, Function)Reads an existing presentation from stream with additional load options

Parameters:

NameTypeDescription
presentationfactoryPresentationFactorylink to self
streamReadStreamInput stream to read
optionsLoadOptionsLoad options
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result: Presentation


readPresentation

NameDescription
readPresentation (String)Reads an existing presentation from file

Parameters:

NameTypeDescription
fileStringFile name

Result: Presentation


readPresentation

NameDescription
readPresentation (String, LoadOptions)Reads an existing presentation from stream with additional load options

Parameters:

NameTypeDescription
fileStringFile name
optionsLoadOptionsLoad options

Result: Presentation