Great news, everyone!
The new version of ONLYOFFICE Document Builder, our library for generating docs, is now available on GitHub on terms of AGPLv3 license.
The source code can be found on GitHub.
Detailed information on how to use DocBuilder can be found in our API documentation.
You can use ONLYOFFICE Doc Builder for free as long as you respect AGPLv3 license.
If you want to use it in your proprietary product, contact our sales team at email@example.com.