Skip to main content

Api

Represents the Api class.

Methods

MethodReturnsDescription
AddCommentstring | nullAdds a comment to the presentation.
AddOleObjectNoneAdds an OLE object to the current document position.
ChangeCommentbooleanChanges the specified comment.
CoAuthoringChatSendMessageNoneSends a message to the co-authoring chat.
ConvertDocumentstringConverts a document to Markdown or HTML text.
EditOleObjectNoneEdits an OLE object in the document.
EndActionNoneSpecifies the end action for long operations.
EndSlideShowNoneEnds the current slide show.
GetAllCommentscomment[]Returns all the comments from the document.
GetDocumentLangstringReturns the document language.
GetFileToDownloadstringReturns the current file to download in the specified format.
GetFontListFontInfo[]Returns the fonts list.
GetImageDataFromSelectionImageDataReturns the image data from the first of the selected drawings. If there are no drawings selected, the method returns a white rectangle.
GetInstalledPluginsPluginData[]Returns all the installed plugins.
GetMacrosMacrosReturns the document macros.
GetSelectedContentstringReturns the selected content in the specified format.
GetSelectedOleObjectsOLEProperties[]Returns an array of the selected OLE objects.
GetSelectedTextstringReturns the selected text from the document.
GetSelectionTypeSelectionTypeReturns the type of the current selection.
GetVBAMacrosstring | nullReturns all VBA macros from the document.
GetVersionstringReturns the editor version.
GoToNextSlideInSlideShowNoneDisplays the slide following the current slide in the slide show.
GoToPreviousSlideInSlideShowNoneDisplays the slide following the current slide in the slide show.
GoToSlideInSlideShowNoneDisplays the slide with the specific index.
InputTextNoneInserts text into the document.
InstallPluginobjectInstalls a plugin using the specified plugin config.
MouseMoveWindowNoneSends an event to the plugin when the mouse button is moved inside the plugin iframe.
MouseUpWindowNoneSends an event to the plugin when the mouse button is released inside the plugin iframe.
OnDropEventNoneImplements the external drag&drop emulation.
OnEncryptionNoneEncrypts the document.
PasteHtmlNonePastes text in the HTML format into the document.
PasteTextNonePastes text into the document.
PauseSlideShowNonePauses the current slide show.
PutImageDataToSelectionNoneReplaces the first selected drawing with the image specified in the parameters.\ If there are no drawings selected, the method inserts the image at the current position.
RemoveCommentsNoneRemoves the specified comments.
RemovePluginobjectRemoves a plugin with the specified GUID.
ReplaceTextSmartbooleanReplaces each paragraph (or text in cell) in the select with the corresponding text from an array of strings.
ResumeSlideShowNoneResumes the current slide show.
SetMacrosNoneSets macros to the document.
SetPluginsOptionsNoneConfigures plugins from an external source. The settings can be set for all plugins or for a specific plugin.\ For example, this method can be used to pass an authorization token to the plugin. This method can be used only with the connector class.
SetPropertiesNoneSets the properties to the document.
ShowButtonNoneShows or hides buttons in the header.
ShowErrorNoneShows an error/warning message.
ShowInputHelperNoneShows the input helper.
StartActionNoneSpecifies the start action for long operations.
StartSlideShowNoneStarts the presentation slide show.
UnShowInputHelperNoneUnshows the input helper.
UpdatePluginobjectUpdates a plugin using the specified plugin config.