The new version of Document Server and desktop document editors introduced support for plugins: both visual and non-visual. These plugins can be used for the developers to add specific functions to the editors which are not directly related to the OOXML format. This is a first version which provides the developers with some API for the interaction with the document editors.
The plugins can be both visual and non-visual. The visual plugins will open a window for some action, or introduce some additions to the editor panel interface. The non-visual plugins will provide a button (or buttons) which is going to apply some transformations or manipulations to the document.
In addition to a simple document manipulation or editing of document contents the plugin can embed an OLE object. This is the only way which allows a third-party developer to access the document format, i.e. write own information not only while working with the editor, but to save it to the resulting file.
The plugins can be added to any document editor (text document, spreadsheet or presentation). Please see the sections below to find out what the plugin contents must be and how it is added to the editors:
All the currently existing open source plugin examples are available here: https://github.com/ONLYOFFICE/sdkjs-plugins. Feel free to fork them, use them with your editors and create your own plugins.
You can ask our developers at dev.onlyoffice.org (registration required).
© Ascensio System SIA 2019. All rights reserved