GNOME Bugzilla – Bug 698389
incorrect axis label angle in chart imported from ods
Last modified: 2013-04-22 00:51:18 UTC
Created attachment 241944 [details] sample file When importing the attached file, the text labels for th horizontal axes are rotated 180 degrees while in LO they are only rotated 90 degreed. We should investigate whether we or LO are following the ODF standard or whether the ODF standard is underspecified.
In mstyle.h we have: /* -1 == vertical, 0..359 == rotation */ void gnm_style_set_rotation (GnmStyle *style, int r); When we are reading the ods file we encounter an angle of 270 degrees, and set the angle to 270. I note that the angle selection interface on in the graph properties dialog on the other hand implies angles from -180 to +180. Are we enforcing one of these ranges??
I am looking in the wrong place. We are using for this attribute go_style_set_text_angle which is clearly documented to require -180.0 to +180.0.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.