Docker-DocumentServer icon indicating copy to clipboard operation
Docker-DocumentServer copied to clipboard

Conversion API add watermark

Open simon-sun opened this issue 1 year ago • 1 comments

我把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 }

simon-sun avatar May 24 '24 03:05 simon-sun

@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

askonev avatar Jun 05 '24 14:06 askonev

This issue was closed due no response.

Rita-Bubnova avatar Jul 18 '24 13:07 Rita-Bubnova