[gnumeric] xlsx: make XL see our exported axes.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] xlsx: make XL see our exported axes.
- Date: Mon, 2 Feb 2015 20:04:29 +0000 (UTC)
commit 4c5d95c5be14ddd86819db552bb230c053d32efc
Author: Morten Welinder <terra gnome org>
Date: Mon Feb 2 15:03:56 2015 -0500
xlsx: make XL see our exported axes.
NEWS | 1 +
plugins/excel/ChangeLog | 4 ++++
plugins/excel/xlsx-write-drawing.c | 1 +
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index a4b86f0..ffcb7f1 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ Morten:
* Fix xls loading of horizontal scrollbars. [#743754]
* Plug leaks.
* Fix xlsx comment export.
+ * Make XL see our exported xlsx axes.
--------------------------------------------------------------------------
Gnumeric 1.12.19
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index bfd58bb..8aa0828 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-02 Morten Welinder <terra gnome org>
+
+ * xlsx-write-drawing.c (xlsx_write_axis): Make axis visible.
+
2015-02-01 Morten Welinder <terra gnome org>
* xlsx-write.c (xlsx_write_comments): We cannot use xml:space in
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index 61e1426..62e9806 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -402,6 +402,7 @@ xlsx_write_axis (XLSXWriteState *state, GsfXMLOut *xml, GogAxis *axis, GogAxisTy
d = gog_axis_get_entry (axis, GOG_AXIS_ELEM_MIN, &user_defined);
if (user_defined) xlsx_write_chart_float (xml, "c:min", go_nan, d);
gsf_xml_out_end_element (xml);
+ xlsx_write_chart_uint (xml, "c:delete", 1, 0);
/* FIXME position might be "t" or "r" */
xlsx_write_chart_cstr_unchecked (xml, "c:axPos", (at == GOG_AXIS_X || at == GOG_AXIS_CIRCULAR)? "b":
"l");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]