PresentationFactory

PresentationFactory class

Allows to create presentation via COM interface

PresentationFactory

NameDescription
PresentationFactory()

Returns: PresentationFactory


createPresentation

NameDescription
createPresentation ()Creates new presentation.

Returns: Presentation


createPresentation

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

Parameters:

NameTypeDescription
optionsLoadOptionsLoad options

Returns: Presentation


getInstance

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

Returns: PresentationFactory


getPresentationInfo

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

Parameters:

NameTypeDescription
fileStringPresentation file.

Returns: 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, Returns) - Callback to be called when the method has completed

Returns: PresentationInfo


getPresentationText

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

Parameters:

NameTypeDescription
fileStringInput file
modeintExtraction mode

Returns: 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, Returns) - Callback to be called when the method has completed

Returns: 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, Returns) - Callback to be called when the method has completed

Returns: PresentationText


readPresentation

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

Parameters:

NameTypeDescription
databyte[]Array to read

Returns: Presentation


readPresentation

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

Parameters:

NameTypeDescription
databyte[]Array to read
optionsLoadOptionsLoad options

Returns: Presentation


readPresentationFromStream

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

Parameters:

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

Returns: 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, Returns) - Callback to be called when the method has completed

Returns: Presentation


readPresentation

NameDescription
readPresentation (String)Reads an existing presentation from file

Parameters:

NameTypeDescription
fileStringFile name

Returns: Presentation


readPresentation

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

Parameters:

NameTypeDescription
fileStringFile name
optionsLoadOptionsLoad options

Returns: Presentation