ONLYOFFICE / Docker-DocumentServer

ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
GNU Affero General Public License v3.0
1.37k stars 470 forks source link

Conversion API add watermark #737

Closed simon-sun closed 1 month ago

simon-sun commented 3 months ago

我把xlsx文档转换为pdf,转换时加上如下配置,文件可以正常转换,就是水印没加上去,我用的是社区版本的,是社区版本不支持使用java代码么? 参考的连接地址:https://api.onlyoffice.com/editors/conversionapi#watermark 具体代码: "watermark": { "align": 1, "fill": [255, 0, 0], "height": 100, "margins": [ 10, 10, 10, 10 ], "paragraphs": [ { "align": 2, "fill": [255, 0, 0], "linespacing": 1, "runs": [ { "bold": true, "italic": false, "fill": [0, 0, 0], "font-family": "Arial", "font-size": 40, "strikeout": false, "text": "Watermark", "underline": false }, { "text": "<%br%>" } ] } ], "rotate": -45, "transparent": 0.3, "type": "rect", "stroke-width": 1, "stroke": [0, 0, 255], "width": 100 }

askonev commented 2 months ago

@simon-sun We kindly ask you to use English in our repository, as we are an international team and our issue will help other users in the future. Thank you in advance. As a solution, you can use google translate

Rita-Bubnova commented 1 month ago

This issue was closed due no response.