Symbol table

Description

Inserts special symbols into the document.

Plugin type: visual, non-system.

Supported editors: documents, spreadsheets, presentations.

SymbolTable

Installation

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

Usage

  1. Find the plugin on the Plugins tab.
  2. Choose any character you want to paste (you can enter its unicode Hex value by yourself). You can choose the characters range to quickly navigate through them.
  3. Choose the characters font.
  4. Press the Insert button.

Plugin structure

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

  1. config.json, index.html, and symboltable.js

  2. Icons

  3. The translations folder contains translations into Russian, German, Spanish, Czech, and French.

  4. character.js contains all the characters that the plugin supports.

  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. License: MIT License.
    • Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options. License: MIT.

Config

{
  "name": "Symbol Table",
  "nameLocale": {
    "fr": "Table des symboles",
    "es": "Tabla de símbolos",
    "de": "Symboltabelle"
  },
  "guid": "asc.{03C18A8D-8E01-444A-86EB-EDDFA7773157}",
  "baseUrl": "",

  "variations": [
    {
      "description": "Symbol Table",
      "descriptionLocale": {
        "fr": "Table des symboles",
        "es": "Tabla de símbolos",
        "de": "Symboltabelle"
      },
      "url": "index.html",

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

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

      "initDataType": "html",
      "initData": "",

      "buttons": [
        {
          "text": "Insert",
          "primary": true,
          "textLocale": {
            "fr": "Insérer",
            "es": "Insertar",
            "de": "Einfügen"
          }
        },
        {
          "text": "Cancel",
          "primary": false,
          "textLocale": {
            "fr": "Annuler",
            "es": "Cancelar",
            "de": "Abbrechen"
          }
        }
      ],

      "size": [600, 700]
    }
  ]
}

Methods and events

  • button
  • init
  • onExternalMouseUp
  • onMethodReturn
  • onTranslate
  • executeMethod ("GetFontList")
  • executeMethod ("PasteHtml")
  • info.editorType

Support

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

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