[gnumeric] xlsx: fix auto marker export
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] xlsx: fix auto marker export
- Date: Mon, 26 Jan 2015 14:01:00 +0000 (UTC)
commit f4ecdc3d1463ccf5620e9f249bcab3c008622b01
Author: Morten Welinder <terra gnome org>
Date: Mon Jan 26 09:00:43 2015 -0500
xlsx: fix auto marker export
NEWS | 1 +
plugins/excel/ChangeLog | 5 +++++
plugins/excel/xlsx-write-drawing.c | 4 ++--
3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index 1dff008..87c2641 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ Morten:
* xlsx chart import: fix font family name.
* xlsx import/export trend line names.
* Fix gda plugin compilation. [#743506]
+ * Fix xlsx export problem with auto markers.
--------------------------------------------------------------------------
Gnumeric 1.12.19
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index d177c14..0540448 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-26 Morten Welinder <terra gnome org>
+
+ * xlsx-write-drawing.c (xlsx_write_go_style_full): Make sure auto
+ markers don't get rotated or flipped.
+
2015-01-23 Morten Welinder <terra gnome org>
* xlsx-write-drawing.c (xlsx_write_go_style_full): Use rotation to
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index 64b2b6b..3c54e0e 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -230,8 +230,8 @@ xlsx_write_go_style_full (GsfXMLOut *xml, GOStyle *style,
"diamond", /* GO_MARKER_HOURGLASS */ /* FIXME: dubious */
"dot" /* GO_MARKER_LEFT_HALF_BAR */
};
- static gint8 nqturns[] = { 0, 0, 0, 2, 0, +1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
- static gint8 flipH[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };
+ static gint8 nqturns[] = { 0, 0, 0, 2, 0, +1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+ static gint8 flipH[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 };
gboolean need_spPr;
GOMarkerShape s = style->marker.auto_shape
? (def_has_markers ? GO_MARKER_MAX : GO_MARKER_NONE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]