[gnumeric] xlsx: add noFill for graph lines even when lines are zero width.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] xlsx: add noFill for graph lines even when lines are zero width.
- Date: Mon, 16 Mar 2015 14:38:06 +0000 (UTC)
commit 2eeffa809c740a029ec797cc54d464318fb82d18
Author: Morten Welinder <terra gnome org>
Date: Mon Mar 16 10:37:34 2015 -0400
xlsx: add noFill for graph lines even when lines are zero width.
plugins/excel/ChangeLog | 5 +++++
plugins/excel/xlsx-write-drawing.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 92a8edb..a7906dc 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-16 Morten Welinder <terra gnome org>
+
+ * xlsx-write-drawing.c (xlsx_write_go_style_full): Ensure that XL
+ doesn't see lines where none are wanted.
+
2015-03-13 Morten Welinder <terra gnome org>
* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Only set
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index 89d8382..708b628 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -468,6 +468,7 @@ xlsx_write_go_style_full (GsfXMLOut *xml, GOStyle *style, const XLSXStyleContext
if (is_none) {
/* Special meaning of zero width */
gsf_xml_out_add_int (xml, "w", 0);
+ gsf_xml_out_simple_element (xml, "a:noFill", NULL);
} else if (!style->line.auto_width && style->line.width > 0)
gsf_xml_out_add_int (xml, "w", style->line.width * 12700);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]