After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544935 - Gnumeric shows vertical-aligned x-axis text as horizontal in .xls files
Gnumeric shows vertical-aligned x-axis text as horizontal in .xls files
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export MS Excel (tm)
1.7.x
Other All
: Normal minor
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-07-27 07:05 UTC by Giacomo
Modified: 2008-07-28 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a file which does not export correctly to .xls (2.32 KB, application/x-gnumeric)
2008-07-28 06:12 UTC, Jean Bréfort
  Details
proposed patch (4.21 KB, patch)
2008-07-28 10:03 UTC, Jean Bréfort
committed Details | Review

Description Giacomo 2008-07-27 07:05:21 UTC
Please describe the problem:
It would seems that Gnumeric can't remember the orientation of x-axis text if the file type is .xls

Steps to reproduce:
1. make a chart
2. apply to x-axis text 90 degrees orientation 
3. save as .xls
4. close and open with Gnumeric


Actual results:
The text orientation changes to 0 (zero) degrees

Expected results:
The text orientation would be 90 degrees

Does this happen every time?
yes

Other information:
For .xlsx files see Bug 544933
Comment 1 Jody Goldberg 2008-07-27 12:29:54 UTC
please supply a sample file and specify the exact version of gnumeric.
Comment 2 Jean Bréfort 2008-07-28 06:12:25 UTC
Created attachment 115412 [details]
a file which does not export correctly to .xls

Things seem worse than that. Attached file also looses the series data, apparently.
Comment 3 Jean Bréfort 2008-07-28 09:15:07 UTC
The text orientation serialization was never implemented for xls format. The fix is not difficult, just the options are so different between xl and gnumeric.
Seems that the series data issue is an export issue, since OOocalc does not find them either.
Comment 4 Jean Bréfort 2008-07-28 10:03:49 UTC
Created attachment 115418 [details] [review]
proposed patch

I broke chart export when fixing 519788. All versions released since then are affected. Seems we need a new 1.8.x release. Sorry.
Comment 5 Jean Bréfort 2008-07-28 12:20:58 UTC
Fixed in both branches.