Api

class Api

Description

Base class.

Instance Methods

AddComment(oCommentData): string | "null"

Adds a comment to the presentation.

ChangeComment(sId, oCommentData): boolean

Changes the specified comment.

RemoveComments(arrIds)

Removes the specified comments.

GetAllComments(): comment[]

Returns all the comments from the document.

StartSlideShow()

Starts the presentation slide show.

PauseSlideShow()

Pauses the current slide show.

ResumeSlideShow()

Resumes the current slide show.

EndSlideShow()

Ends the current slide show.

GoToNextSlideInSlideShow()

Displays the slide following the current slide in the slide show.

GoToPreviousSlideInSlideShow()

Displays the slide following the current slide in the slide show.

GoToSlideInSlideShow(nSlideIndex)

Displays the slide with the specific index.

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).