Created attachment 153591 [details] Example file from Word In a user-created file from Word text in a cell rotated with 270° is not kept rotated in newer LO versions. Steps to reproduce: 1. Open attached file Actual results: The change tracked text in the leftmost column of the table has 0° rotation. Expected results: The text should be rotated 270° LibreOffice details: Version: 6.4.0.0.alpha0+ (x64) Build ID: 3e64065612acec2eb29aa21e2b515953422256d7 CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-08-15_22:57:26 Locale: hu-HU (hu_HU); UI-Language: en-US Calc: threaded This rotation used to work in 6.2. Adding CC to: Miklos Vajna
Created attachment 153592 [details] Screenshot of the problem in Writer Also the paragraphs in the cells get a larger spacing than in Word but that will be another bug :).
Could you please share the bisect result? Thanks.
I confirm it with Version: 6.4.0.0.alpha0+ (x64) Build ID: 3e64065612acec2eb29aa21e2b515953422256d7 CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-08-15_22:57:26 Locale: de-DE (de_DE); UI-Language: en-US Calc: threaded
Bibisected using bibisect-win64-6.3 to: URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=8fdbda18b593e7014e44a0fd590bbf98d83258b7 author: Miklos Vajna <vmiklos@collabora.com> committer: Miklos Vajna <vmiklos@collabora.com> summary: sw btlr writing mode: implement DOCX filter Sorry about missing this out.
(In reply to Gabor Kelemen from comment #1) > Also the paragraphs in the cells get a larger spacing than in Word but that > will be another bug :). A few observations: 1) As you write, the row height in the DOCX import result is wrong; DOC import result has the correct row height, which means that the btlr cell won't be split, so you don't see the problem. 2) It seems the bug is specific to split cells, not tracked changes. 3) It seems this is problematic with rotation in either direction, tbrl (rotate in the other direction) has the very same problem.
Created attachment 154864 [details] Simplified example file from Word Simplified example shows the problem without change tracking. If part of the cell text falls to the next page then it is no longer rotated.
Created attachment 154865 [details] Screenshot of the simplified document in Word and Writer side by side Version: 6.4.0.0.alpha0+ (x86) Build ID: 489eef894e7034873ad262f9dfca554022db1b09 CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-10-01_23:43:38 Locale: hu-HU (hu_HU); UI-Language: en-US Calc: CL
Adding Cc: to Miklos Vajna
Created attachment 158348 [details] tb-lr equivalent Test doc to show that this is a general problem with how Writer deals with rotated text, this time with the tbRl direction. Yes, this is a bug, sure, it makes sense to fix it, but the btLr work just uncovered this existing problem.
Adjusting keywords accordingly.
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/30598199272db107c5dc863707685e4019ad471e tdf#127118 sw layout: fix vertical mode in split cell It will be available in 7.1.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.
Created attachment 165255 [details] Simplified unit test document
Verified in: Version: 7.1.0.0.alpha0+ (x64) Build ID: a3b4831208da615789bd1e2d5660dd130807f504 CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: threaded