Bug 40539 - FILESAVE as .doc (MSO2003) without TABLE text rotation
Summary: FILESAVE as .doc (MSO2003) without TABLE text rotation
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks: mab3.6
  Show dependency treegraph
 
Reported: 2011-09-01 02:05 UTC by user6
Modified: 2013-06-13 08:44 UTC (History)
11 users (show)

See Also:
Crash report or crash signature:


Attachments
input file with text in Up/down direction (12.00 KB, application/vnd.oasis.opendocument.text)
2011-09-01 02:05 UTC, user6
Details
resulting exported file without text direction (14.00 KB, application/msword)
2011-09-01 02:07 UTC, user6
Details
Still reproduced in LO 3.5.4.2 Win7 (119.71 KB, image/png)
2012-06-07 09:48 UTC, user6
Details

Note You need to log in before you can comment on or make changes to this bug.
Description user6 2011-09-01 02:05:36 UTC
Created attachment 50796 [details]
input file with text in Up/down direction

When you export from LO some table with text in Up/Down direction, direction is not saved.
Comment 1 user6 2011-09-01 02:06:45 UTC
Direction is lost during export to DOC
Comment 2 user6 2011-09-01 02:07:54 UTC
Created attachment 50797 [details]
resulting exported file without text direction
Comment 3 Björn Michaelsen 2011-12-23 12:36:57 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 4 user6 2011-12-26 02:01:13 UTC
I confirm it is true for LOdev 3.5.0beta2 
ID сборки: 8589e48-760cc4d-f39cf3d-1b2857e-60db978

To reproduce save input file to DOC word 97/2003
Open it in LO or Word - the text direction is lost.
Comment 5 sasha.libreoffice 2012-01-17 08:01:45 UTC
in LibO 3.3.4 not reproducible
beginning from 3.4.3 reproducible
Therefore regression
reproduced in LibO 3.4.3 in Windows XP 32 bit and in LibO 3.5.0 beta 2 in Fedora 64 bit
Change version to 3.4.3 because it is most early reproducible
Comment 6 Fridrich Strba 2012-01-25 12:03:10 UTC
This problem is due to a limitation of Word 97-2003 file-format. It does not allow to have the text direction of a single run set if this run is in the table cell.
In word, the text direction of all runs of text in a cell are given by the text direction of the cell itself.
There is not an easy fix for this one:
1) If you are speaking to word 2007 and later, you can try in LibreOffice 3.5.0 save as Word 2007-2010 document. It will retain that text orientation, which is supported in those versions.
2) We could try to set the cell text orientation when we find a run with vertical text. Which might work in the typical cases, but still is not complete 1:1 feature mapping. Moreover, it is not too easy to implement.
Comment 7 user6 2012-01-26 11:49:05 UTC
Sorry, I'm not clearly get your point.

It is not reproduced on LibreOffice 3.3.4 
OOO330m19 (Build:401)
tag libreoffice-3.3.3.1, Ubuntu package 1:3.3.4-0ubuntu1.

1. Save as .doc in LO 3.3.4
2. Open .doc in LO 3.3.4
Directions are ok.

As I heard in LO 3.4 for .doc OPEN/SAVE regressions were introduced.
Comment 8 sasha.libreoffice 2012-01-26 21:35:30 UTC
guess it is reproducible beginning from 3.4.0, but I have only 3.4.3 installed
Comment 9 dE 2012-04-20 02:31:11 UTC
This's not reproducible with export in docx, but the ticks are replaced with rectangles here.
Comment 10 user6 2012-06-07 09:48:10 UTC
Created attachment 62737 [details]
Still reproduced in LO 3.5.4.2 Win7

Still reproduced in LO 3.5.4.2 Win7

I want to take you attention to fact that .doc(W97/W2003) and .docx format are different formats.
Comment 11 user6 2012-08-08 16:25:13 UTC
Still reproduced in LO 3.6.0.4 Win7
Comment 12 user6 2012-08-08 16:27:45 UTC
Still reproduced in LO 3.6.0.4 Win7
Comment 13 Rainer Bielefeld Retired 2012-11-22 19:16:15 UTC
Still [Reproducible] with parallel installation of Master "LOdev  4.0.0.0.alpha1   -  ENGLISH UI / German Locale  [Build ID: dec8fe)]"  {tinderbox: @6, pull time 2012-11-13 06:07:28} on German WIN7 Home Premium (64bit) with separate /4 User Profile for Master Branch

I read Fridrich's comment concernint WORD 97 TABLE text rotation supports

Nevertheless, that worked some better with LibO 3.3.3, what produced documents where LibO showed correct rotation (but MS WORD Viewer had some problems with the documents, same effect with OOo 3.1.1).

AOOo 3.4.1 shows the same problem.

Looks like a HardHack <https://bugs.freedesktop.org/show_bug.cgi?id=40539>
Comment 14 Joel Madero 2013-02-11 18:04:05 UTC
I see up/down with 
Version 4.1.0.0.alpha0+ (Build ID: 80cbc04c2cbe25ebdfe2f22bb2e5ba62728e963)
but the spacing is weird and the direction is reversed.

Moving to 3.6 MAB as 3.5 has come to end of life and we are trying to close the 3.5 most annoying meta bug. 

This is a broad enough issue that I think leaving on MAB is a good idea, also it's a regression which means at one point it worked correctly....going back 2 years to find out what broke it seems unlikely  :-/
Comment 15 Faisal Menawer 2013-06-10 11:10:30 UTC
i reproduce it on libreoffice 3.6.2

but i can't reproduce it on master
Version: 4.2.0.0.alpha0+
Build ID: 8fd28fe7373fcdf17c061c3666b6012445e3bfc
Comment 16 tommy27 2013-06-10 14:15:28 UTC
@Faisal Menawer

do you reproduce it on LibO 4.0.3 and 4.1.0 beta?
Comment 17 Faisal Menawer 2013-06-13 08:44:17 UTC
@tommy

i can reproduce it on both 4.0.3 and 4.0.4 beta

sorry i can't test it on 4.1.0 beta because it is keep crashing :/