Get Started
Plugins
Macros
More information

Settings

Description

Protects a document using a watermark.

Plugin type: non-visual, system.

Supported editors: documents, spreadsheets, presentations.

Settings
Installation

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

Usage
  1. After adding the plugin to the editor, just reopen the document. A watermark will be displayed.
Plugin structure

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

  1. config.json, index.html and code.js
Config
{
    "name"       : "settings",
    "guid"       : "asc.{CF3A000F-C6B4-451D-AC0B-F3DDAB1880D2}",
    "baseUrl"    : "",
    "variations" : [
        {
            "description"         : "settings",
            "url"                 : "index.html",
            "icons"               : ["icon.png", "icon@2x.png"],
            "isViewer"            : true,
            "EditorsSupport"   : [ "word", "cell", "slide" ],
            "isSystem"  : true,
            "isVisual"            : false,
            "isModal"             : false,
            "isInsideMode"        : false,
            "initDataType"        : "none",
            "initData"            : "",
            "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.