Created attachment 136893 [details] Sample ODT with watermark A watermark that reads CONFIDENTIAL was added to an empty document with font Calibri (first sample). Then it was saved as DOC and DOCX, and has the following display issues in MS Office: - DOCX: text is vertically squashed - DOC: text is incorrectly positioned and vertically squashed. Also attaching DOC and DOCX samples. Observed using LO 6.0 daily build (2017-10-08_04:01:54, 4d94541a7b88b76d856e30dba7f8a3de48260eda) / Windows 7.
Created attachment 136894 [details] Sample saved as DOCX
Created attachment 136895 [details] Sample saved as DOC
Additionally, in both cases when you try to edit the watermark in Word, the size defaults to 12 instead of the expected Auto.
Here's the difference in XMLs, note how Word saves font-size as 1pt, while LO saves it as 12pt. Not sure if the 'on="t" fitshape="t"' make any difference. Exported from LO: <v:textpath on="t" fitshape="t" string="CONFIDENTIAL" style="font-family:"Calibri";font-size:12pt"/> Saved in Word: <v:textpath style="font-family:"Calibri";font-size:1pt" string="CONFIDENTIAL"/>
Szymon Kłos committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1e6abe31eb8f7c12c725f7e1267a7cedfcd3d157 tdf#113037 create Watermark with correct ratio It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
There are still some issues, maybe I've tested too early: Export to doc and opened in LibO: - text is little bit squashed Export to doc and opened in MSO 2013: - text is little bit squashed and - positioned at the top of the page, - when edited the text is shown with height 12pt in watermark dialog, - when changed (e. g. color) and saved the text shrinks to 12 pt and it will be centered on the page automatically Export to docx and opened in MSO 2013: - text is little bit squashed, - when edited the text is shown with height 12pt in watermark dialog, - when changed (e. g. color) and saved the text shrinks to 12 pt Version: 6.0.0.0.alpha1+ (x64) Build ID: a5af0fd9f27af42cf2e8571f659cdad6e606215b CPU threads: 8; OS: Windows 10.0; UI render: default; TinderBox: Win-x86_64@42, Branch:master, Time: 2017-11-07_00:30:02
Szymon Kłos committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a3a917748892a6a3194ebfc4db64cfd764cc054a tdf#113037 DOCX Watermark correct ratio It will be available in 6.0.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Szymon Kłos committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=923ca4efe2095998e3da75c372cd7d716db9abb3 tdf#113037 Unify Watermark in DOC & DOCX It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Szymon Kłos committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=58784b89c22c6d63fff18fea0aa6636a1370044c tdf#113037 Watermark centered in DOC It will be available in 6.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Should be fixed now, please create document from scratch while testing (provided odt file is incorrect).
Szymon Kłos committed a patch related to this issue. It has been pushed to "libreoffice-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=17a416759291426999d5b79eceeeb729ca95bc93&h=libreoffice-6-0 tdf#113037 Unify Watermark in DOC & DOCX It will be available in 6.0.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Since watermark from Bug 88774 is from LO 5.4, could you consider backport of this one to 5.4?
Szymon Kłos committed a patch related to this issue. It has been pushed to "libreoffice-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3ffdb4db76a39891fa6ad684b7b725b8429935c1&h=libreoffice-6-0 tdf#113037 Watermark centered in DOC It will be available in 6.0.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.