Get Started
Plugins
Macros
More information

Thesaurus

Description

Connects Big Huge Thesaurus to search for word synonyms and antonyms.

Plugin type: visual, non-system.

Supported editors: documents, spreadsheets, presentations.

Thesaurus
Installation

Available by default in the cloud, on-premises and desktop versions of ONLYOFFICE editors.

You can remove it following the desktop, on-premises, or cloud installation instructions.

The plugin guid: {BE5CBF95-C0AD-4842-B157-AC40FEDD9840}.

Usage
  1. Open the Plugins tab and press Thesaurus.
  2. Select the necessary word. The list of synonyms and antonyms will be displayed automatically in the plugin window.
  3. Choose a suitable synonym or antonym and click it.
  4. The chosen synonym or antonym replaces the selected word in the text.
Plugin structure

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

  1. config.json, index.html and code.js
  2. Icons
  3. The translations folder contains translations into Russian, German, Spanish and French.
  4. plugin style.css is used to bring the plugin to the specific style.
  5. Third-party services:
    • jQuery - a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development (http://jquery.com/). License: MIT License.
    • Big Huge Thesaurus - the developer-friendly API for getting synonyms and antonyms for your apps and websites. License: Apache 2.0 License.
Config
{
    "name": "Thesaurus",
    "nameLocale": {
        "ru": "Синонимы",
        "fr": "Thésaurus",
        "es": "Tesauro",
        "de": "Thesaurus"
    },
    "guid": "asc.{BE5CBF95-C0AD-4842-B157-AC40FEDD9840}",

    "variations": [
        {
            "description": "Thesaurus",
            "descriptionLocale": {
                "ru": "Синонимы",
                "fr": "Thésaurus",
                "es": "Tesauro",
                "de": "Thesaurus"
            },
            "url": "index.html",

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

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

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

            "isUpdateOleOnResize": false,

            "buttons": [],

            "initOnSelectionChanged": true
        }
    ]
}
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.