[gnumeric] Accept <graph:Type> nodes in guppi graphs. [Debian #718594]



commit 49e0d663a1a88ae11ee367d3039b1c0428209254
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sat Aug 3 20:22:04 2013 +0200

    Accept <graph:Type> nodes in guppi graphs. [Debian #718594]

 ChangeLog                |    5 +++++
 NEWS                     |    1 +
 src/sheet-object-graph.c |    9 +++++++++
 3 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 662f533..34217a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-03  Jean Brefort  <jean brefort normalesup org>
+
+       * src/sheet-object-graph.c (gnm_sogg_prep_sax_parser): accept <graph:Type>
+       nodes in guppi graphs. [Debian #718594]
+
 2013-08-03  Andreas J. Guelzow <aguelzow pyrshep ca>
 
        * src/workbook-view.c (wb_view_preferred_size): interpret 0 as
diff --git a/NEWS b/NEWS
index 110323e..923ab67 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,7 @@ Jean:
        * Fix text wrap inside sheet objects. [#704417]
        * Fix export of scatter/bubble plots to xls. [#705311]
        * Fix crash when importing fuzzed chart from xls. [#705353]
+       * Accept <graph:Type> nodes in guppi graphs. [Debian #718594]
 
 Morten:
        * Fix crazy parsing problem.  [#704109] [#704140]
diff --git a/src/sheet-object-graph.c b/src/sheet-object-graph.c
index d85bd98..05ec570 100644
--- a/src/sheet-object-graph.c
+++ b/src/sheet-object-graph.c
@@ -1074,6 +1074,15 @@ gnm_sogg_prep_sax_parser (SheetObject *so, GsfXMLIn *xin, xmlChar const **attrs,
                    GSF_XML_IN_NODE (GUPPI_PLOT_TYPE, GUPPI_AS_PERCENT, -1, "as_percentage", GSF_XML_CONTENT, 
NULL, percent_end),
                    GSF_XML_IN_NODE (GUPPI_PLOT_TYPE, GUPPI_SEPARATION, -1, "separation_percent_of_radius", 
GSF_XML_CONTENT, NULL, separation_end),
                    GSF_XML_IN_NODE (GUPPI_PLOT_TYPE, GUPPI_BUBBLE, -1, "auto_allocate_bubble_size", 
GSF_XML_CONTENT, NULL, bubble_end),
+                 GSF_XML_IN_NODE (GUPPI_PLOT, GUPPI_PLOT_GRAPH_TYPE, -1, "graph:Type", GSF_XML_NO_CONTENT, 
plot_type_start, NULL),
+                   GSF_XML_IN_NODE (GUPPI_PLOT_GRAPH_TYPE, GUPPI_MARKER, -1, "with_marker", 
GSF_XML_NO_CONTENT, NULL, NULL), /*2nd definition */
+                   GSF_XML_IN_NODE (GUPPI_PLOT_GRAPH_TYPE, GUPPI_MARKERS, -1, "with_markers", 
GSF_XML_NO_CONTENT, NULL, NULL), /*2nd definition */
+                   GSF_XML_IN_NODE (GUPPI_PLOT_GRAPH_TYPE, GUPPI_LINES, -1, "with_line", GSF_XML_NO_CONTENT, 
NULL, NULL), /*2nd definition */
+                   GSF_XML_IN_NODE (GUPPI_PLOT_GRAPH_TYPE, GUPPI_HORIZONTAL, -1, "horizontal", 
GSF_XML_NO_CONTENT, NULL, NULL), /*2nd definition */
+                   GSF_XML_IN_NODE (GUPPI_PLOT_GRAPH_TYPE, GUPPI_STACKED, -1, "stacked", GSF_XML_NO_CONTENT, 
NULL, NULL), /*2nd definition */
+                   GSF_XML_IN_NODE (GUPPI_PLOT_GRAPH_TYPE, GUPPI_AS_PERCENT, -1, "as_percentage", 
GSF_XML_NO_CONTENT, NULL, NULL), /*2nd definition */
+                   GSF_XML_IN_NODE (GUPPI_PLOT_GRAPH_TYPE, GUPPI_SEPARATION, -1, 
"separation_percent_of_radius", GSF_XML_NO_CONTENT, NULL, NULL), /*2nd definition */
+                   GSF_XML_IN_NODE (GUPPI_PLOT_GRAPH_TYPE, GUPPI_BUBBLE, -1, "auto_allocate_bubble_size", 
GSF_XML_NO_CONTENT, NULL, NULL), /*2nd definition */
                  GSF_XML_IN_NODE (GUPPI_PLOT, GUPPI_DATA, -1, "graph:Data", GSF_XML_NO_CONTENT, NULL, NULL),
                    GSF_XML_IN_NODE (GUPPI_DATA, GUPPI_SERIES, -1, "graph:Series", GSF_XML_NO_CONTENT, 
series_start, NULL),
                    GSF_XML_IN_NODE (GUPPI_SERIES, GUPPI_SERIES_DIM, -1, "graph:Dimension", 
GSF_XML_NO_CONTENT, dim_start, NULL),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]