Docx file - rotated text imported badly
Steps to Reproduce:
1. open attached docx file
rotated text in text box is not visible as in word
like in word, see printcsreen
User Profile Reset: No
This started after the fix
author Miklos Vajna <email@example.com> 2019-04-25 21:05:43 +0200
committer Miklos Vajna <firstname.lastname@example.org> 2019-04-26 09:05:04 +0200
commit ff17478e069cc82681df62514876c06365dd5cd6 (patch)
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]
Created attachment 164061 [details]
printscreen from office365
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
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. ***