This plugin shows how to work with OLE-objects and save data to your document.
It is called Chess in the interface and isn't installed by default in cloud, self-hosted and desktop version of ONLYOFFICE editors.
- Open the Plugins tab and press Chess.
If you need more information about how to use or write your own plugin, please see this https://api.onlyoffice.com/plugin/basic