[gnumeric] xlsx: fix schema problem
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] xlsx: fix schema problem
- Date: Mon, 23 Mar 2015 23:38:14 +0000 (UTC)
commit 7a9ccf1d3ef894d4555050018369174426d91899
Author: Morten Welinder <terra gnome org>
Date: Mon Mar 23 19:38:11 2015 -0400
xlsx: fix schema problem
plugins/excel/ChangeLog | 5 +++++
plugins/excel/xlsx-write-drawing.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index a7906dc..a5921cf 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-23 Morten Welinder <terra gnome org>
+
+ * xlsx-write-drawing.c (xlsx_write_chart_text): Move overlay
+ attribute here.
+
2015-03-16 Morten Welinder <terra gnome org>
* xlsx-write-drawing.c (xlsx_write_go_style_full): Ensure that XL
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index c876353..f161115 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -628,6 +628,8 @@ xlsx_write_chart_text (XLSXWriteState *state, GsfXMLOut *xml,
gsf_xml_out_end_element (xml); /* </c:rich> */
gsf_xml_out_end_element (xml); /* </c:tx> */
+ xlsx_write_chart_uint (xml, "c:overlay", 0);
+
style_minus_font = go_style_dup (style);
style_minus_font->interesting_fields &= ~GO_STYLE_FONT;
xlsx_write_go_style (xml, state, style_minus_font);
@@ -728,7 +730,6 @@ xlsx_write_axis (XLSXWriteState *state, GsfXMLOut *xml, GogPlot *plot, GogAxis *
if (text != NULL) {
gsf_xml_out_start_element (xml, "c:title");
xlsx_write_chart_text (state, xml, text, label);
- xlsx_write_chart_uint (xml, "c:overlay", 0);
gsf_xml_out_end_element (xml);
}
}
@@ -1157,7 +1158,6 @@ xlsx_write_one_chart (XLSXWriteState *state, GsfXMLOut *xml, GogObject const *ch
if (text != NULL) {
gsf_xml_out_start_element (xml, "c:title");
xlsx_write_chart_text (state, xml, text, obj);
- xlsx_write_chart_uint (xml, "c:overlay", 0);
gsf_xml_out_end_element (xml);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]