Description: Docx file - rotated text imported badly Steps to Reproduce: 1. open attached docx file 2. 3. Actual Results: rotated text in text box is not visible as in word Expected Results: like in word, see printcsreen Reproducible: Always User Profile Reset: No Additional Info: This started after the fix author Miklos Vajna <vmiklos@collabora.com> 2019-04-25 21:05:43 +0200 committer Miklos Vajna <vmiklos@collabora.com> 2019-04-26 09:05:04 +0200 commit ff17478e069cc82681df62514876c06365dd5cd6 (patch) tree 172435a271013210b49c372ffa441e949e1a2b47 parent 647660cf844f265dd2ad7c78e6cb13844fbf3613 (diff) sw btlr writing mode: implement DOCX shape import for tbrl Before the fix the rotate property was ignored.
Created attachment 164060 [details] test file
Created attachment 164061 [details] printscreen from office365
Reproduced in Version: 7.1.0.0.alpha0+ Build ID: 6ad2f463784a24c566477cdd60ae729651bb8564 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Created attachment 164122 [details] How it looks in LibreOffice 7.1
Created attachment 165316 [details] The example file opened in Word and current Writer The problem is that both the shapes in Word have 1.91 cm top and bottom spacing set for the text box of the shape. This is correctly imported in Writer. However in a rotated shape top and bottom mean different things in Word and Writer: In Word top and bottom is the same as in a non-rotated shape. In Writer top and bottom are rotated with the shape so they actually set left and right margins. Manually setting these to 0 however does not change the layout (unlike in Word).
@Attila Thought you might be interested in this one
*** Bug 127438 has been marked as a duplicate of this bug. ***
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/223a43537559efc96b4b5bca32d93211ed849ae5 crashtesting: fix DOCX export of tdf135569-1.docx It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/9ad83843742354312cd543bfbed286c9f52baf1a crashtesting: fix DOCX export of tdf135569-1.docx It will be available in 7.4.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.