Bug Hunting Session
Bug 37828 - rotated text is not saved correctly in doc format
Summary: rotated text is not saved correctly in doc format
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.2 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
: 47264 65974 (view as bug list)
Depends on:
Blocks: DOC
  Show dependency treegraph
 
Reported: 2011-06-01 10:51 UTC by Alexandre Demers
Modified: 2018-11-29 08:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Original file (ODT) (15.48 KB, application/vnd.oasis.opendocument.text)
2011-06-01 10:52 UTC, Alexandre Demers
Details
Saved DOC file (15.00 KB, application/msword)
2011-06-01 10:52 UTC, Alexandre Demers
Details
Original ODT file (15.96 KB, application/vnd.oasis.opendocument.text)
2011-06-01 10:55 UTC, Alexandre Demers
Details
Saved DOC file (15.00 KB, application/msword)
2011-06-01 10:55 UTC, Alexandre Demers
Details
ZIP of DOCs written out under different versions of LO. (21.13 KB, application/zip)
2015-04-04 07:15 UTC, Owen Genat (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Demers 2011-06-01 10:51:15 UTC
I attached a demo file and the result in DOC.

As you can see on the first page:
- 0 and 270 degrees behave correctly.
- 45, 135, 225 and 315 degrees are not correctly expended. The reason is because the dimensions of the text area are not correctly translate from odt to doc.
- from 90 and 180 degrees, text is going in the wrong direction.

On the second page, the text is rotated vertically:
- 45, 135, 225 and 315 degrees are not correctly expended. The reason is because the dimensions of the text area are not correctly translate from odt to doc.
- from 90 and 270 degrees, text is going in the wrong direction.
Comment 1 Alexandre Demers 2011-06-01 10:52:13 UTC
Created attachment 47437 [details]
Original file (ODT)
Comment 2 Alexandre Demers 2011-06-01 10:52:48 UTC
Created attachment 47438 [details]
Saved DOC file
Comment 3 Alexandre Demers 2011-06-01 10:55:04 UTC
Created attachment 47439 [details]
Original ODT file
Comment 4 Alexandre Demers 2011-06-01 10:55:38 UTC
Created attachment 47440 [details]
Saved DOC file
Comment 5 Björn Michaelsen 2011-12-23 12:03:49 UTC Comment hidden (obsolete)
Comment 6 Alexandre Demers 2011-12-23 14:35:04 UTC
This bug is still there in latest version and can be reproduced with the
attached files.
Comment 7 Rainer Bielefeld Retired 2012-01-28 01:14:16 UTC
[Reproducible] with "LibreOffice 3.5.0 RC2 German UI/Locale [Build-ID: e371a95-bf68a13-5a1aa2b-d3c1ae9-b938258] on German WIN7 Home Premium (64bit).

That did not work perfect in OOo 3.1.1, but much better than in LibO. OOo respected rotation angle, only made a mistake in word wrap.

Might be related to "Bug 34436 - TABLES text in cells behaves wrong when rotated"

@Cédric:
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.
Comment 8 A (Andy) 2013-05-06 21:06:52 UTC
reproducible with LO 4.0.2.2 (Win7 Home, 64bit)
Comment 9 Owen Genat (retired) 2013-07-31 07:47:56 UTC
*** Bug 47264 has been marked as a duplicate of this bug. ***
Comment 10 Owen Genat (retired) 2013-07-31 07:49:02 UTC
*** Bug 65974 has been marked as a duplicate of this bug. ***
Comment 11 QA Administrators 2015-04-01 14:41:13 UTC Comment hidden (obsolete)
Comment 12 Owen Genat (retired) 2015-04-04 07:15:11 UTC
Created attachment 114608 [details]
ZIP of DOCs written out under different versions of LO.

Re-tested under GNU/Linux x86_64 using:
v3.3.4.1 OOO330m19 Build: 401
v3.4.6.2 OOO340m1 Build: 602
v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
v3.6.7.2 Build ID: e183d5b
v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24
v4.1.6.2 Build ID: 40ff705089295be5be0aae9b15123f687c05b0a
v4.2.8.2 Build ID: 48d50dbfc06349262c9d50868e5c1f630a573ebd
v4.3.5.2 Build ID: 3a87456aaa6a95c63eea1c1b3201acedf0751bd5
v4.4.1.2 Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432

All exported DOCs (attached) exhibit problems (incorrect rotation angle and lack of wrapping) when subsequently opened by LO Writer. If others can test under MS Word that would be appreciated.
Comment 13 Alexandre Demers 2015-04-05 01:25:37 UTC
(In reply to Owen Genat from comment #12)
> Created attachment 114608 [details]
> ZIP of DOCs written out under different versions of LO.
> 
> Re-tested under GNU/Linux x86_64 using:
> v3.3.4.1 OOO330m19 Build: 401
> v3.4.6.2 OOO340m1 Build: 602
> v3.5.7.2 Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
> v3.6.7.2 Build ID: e183d5b
> v4.0.6.2 Build ID: 2e2573268451a50806fcd60ae2d9fe01dd0ce24
> v4.1.6.2 Build ID: 40ff705089295be5be0aae9b15123f687c05b0a
> v4.2.8.2 Build ID: 48d50dbfc06349262c9d50868e5c1f630a573ebd
> v4.3.5.2 Build ID: 3a87456aaa6a95c63eea1c1b3201acedf0751bd5
> v4.4.1.2 Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
> 
> All exported DOCs (attached) exhibit problems (incorrect rotation angle and
> lack of wrapping) when subsequently opened by LO Writer. If others can test
> under MS Word that would be appreciated.

I've tested the resulting .doc files under MS Office 2007 and under LO 4.4.2. While both are not rendering the text correctly, LO is closer to the expected result than MS Office. So, it is still a problem.
Comment 14 tommy27 2016-04-16 07:27:25 UTC Comment hidden (obsolete)
Comment 15 Telesto 2016-12-05 18:57:05 UTC
Confirming with:
Version: 5.4.0.0.alpha0+
Build ID: 33f5bc54aaa7fe7aa9335726e30f9c349155e04d
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-12-01_23:21:05
Locale: nl-NL (nl_NL); Calc: CL
Comment 16 QA Administrators 2017-12-10 16:43:03 UTC Comment hidden (obsolete)
Comment 17 ZhenQizhi 2018-11-29 08:17:20 UTC
Still exists in version:
Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded