Api

class Api

Description

Base class.

Instance Methods

AddComment(oCommentData): string | "null"

Adds a comment to the workbook.

ChangeComment(sId, oCommentData): boolean

Changes the specified comment.

RemoveComments(arrIds)

Removes the specified comments.

GetAllComments(): comment[]

Returns all the comments from the document.

GetCustomFunctions(): string

Returns a library of local custom functions.

SetCustomFunctions(jsonString)

Updates a library of local custom functions.

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).