Summary of ONLYOFFICE development

http://blog.csdn.net/hotqin888/article/details/79337881

The link above also describes how to develop it.

Some are also involved here: https://www.cnblogs.com/freefei/p/7872095.html

I developed document management with golang's beego framework to realize real-time document collaboration.

The first is to install docker, then to pull the document server image, then to Chineseize the interface, and finally to use golang to provide callbacks and store edited documents.

The steps of Chineseization: 1. Delete the files in the container and replace the fonts under Windows.

 Delete all files under container /usr/share/fonts. Then run script: documentserver-generate-allfonts.sh and clear browser cache.

The specific steps are shown in the figure:


Then in the page that calls onlyoffice collaborative editing, set "lang": "zh-CN",

                "editorConfig": {
                    "callbackUrl": "http://192.168.99.1/url-to-callback?id={{.Doc.Id}}",
                    "user": {
                        "id": "{{.Uid}}",
                        "name": "{{.Uname}}"
                    },
                    "lang": "zh-CN",//"en-US",
                },

For the detailed code, see http://blog.csdn.net/hotqin888/article/details/79337881

https://github.com/3xxx/EngineerCMS

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325688025&siteId=291194637