Get Started
Plugins
Macros
More information

Speech

Description

Connects the guessLanguage.js library and the ResponsiveVoice service for reading text documents out loud by converting the selected text into speech.

Plugin type: visual, non-system.

Supported editors: documents.

Speech
Installation

Available by default in ONLYOFFICE Enterprise Edition and Community Edition (Document Server + Community Server), and ONLYOFFICE cloud.

You can also download this plugin from the ONLYOFFICE App Directory and install it following the desktop installation instruction.

Usage
  1. Select the necessary text.
  2. Open the Plugins tab and press Speech.
  3. The text will be read out loud.
Plugin structure

Repository on GitHub: https://github.com/ONLYOFFICE/plugin-speech.

  1. config.json, index.html and code.js
  2. Icons
  3. index_about.html for the plugin About window
  4. Third-party services:
Config
{
    "name": "Speech",
    "nameLocale": {
        "ru": "Речь",
        "fr": "Parole",
        "es": "Habla",
        "de": "Rede"
    },
    "guid": "asc.{D71C2EF0-F15B-47C7-80E9-86D671F9C595}",

    "variations": [
        {
            "description": "Speech",
            "descriptionLocale": {
                "ru": "Речь",
                "fr": "Parole",
                "es": "Habla",
                "de": "Rede"
            },
            "url": "index.html",

            "icons": [ "icon.png", "icon@2x.png", "icon2.png", "icon2@2x.png" ],
            "isViewer": true,
            "EditorsSupport": [ "word" ],

            "isVisual": false,
            "isModal": false,
            "isInsideMode": false,

            "initDataType": "text",
            "initData": "",

            "isUpdateOleOnResize": false,

            "buttons": []
        }
    ]
}
Methods and events

The main plugin code is located here.

Support

If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub.