Get Started
Plugins
Macros
More information

Num2Word

Description

Transforms a number into a word (a number written as a string).

Plugin type: non-visual, non-system.

Supported editors: spreadsheets.

Num2Word
Installation

Download this plugin from GitHub and install it following the desktop, on-premises, or cloud installation instructions.

Usage
  1. Select any number.
  2. Open the Plugins tab and press num2word.
  3. The number will be transformed into a string in Russian and inserted to the cell below.
Plugin structure

Repository on GitHub: https://github.com/ONLYOFFICE/sdkjs-plugins/tree/master/num2word.

  1. config.json, index.html and code.js
  2. Icons
Config
{
    "name" : "num2word",
    "guid" : "asc.{902F74A4-89F2-4028-8DB0-BD913E07335C}",

    "variations" : [
        {
            "description" : "num2word",
            "url"         : "index.html",

            "icons"           : ["resources/img/icon.png", "resources/img/icon@2x.png"],
            "isViewer"        : false,
            "EditorsSupport"  : ["cell"],

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

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