PresentationTextExtractor class #
Plugin for extracting text from the PowerPoint 97-2003 and Microsoft Office Open XML presentations.
process #
| Name | Description |
|---|---|
| process (String, int) | Extracts text from the input presentation using the specified mode. |
Parameters:
| Name | Type | Description |
|---|---|---|
| inputFileName | String | The name of the input presentation file. |
| textExtractionMode | int | The text extraction mode. |
Result: SlideText
Error
| Error | Condition |
|---|---|
| null | ArgumentException |
processFromStream #
| Name | Description |
|---|---|
| processFromStream (PresentationTextExtractor, ReadStream, int, Function) | Extracts text from the input presentation using the specified mode. |
Parameters:
| Name | Type | Description |
|---|---|---|
| presentationtextextractor | PresentationTextExtractor | link to self |
| inputStream | ReadStream | The input presentation stream. |
| textExtractionMode | int | The text extraction mode. |
| callback | Function | callback(error, result) - Callback to be called when the method has completed |
Result: SlideText
Error
| Error | Condition |
|---|---|
| null | ArgumentException |