[gnumeric] On ODF import set series to default to ignoring invalids for interpolation. [#671508]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] On ODF import set series to default to ignoring invalids for interpolation. [#671508]
- Date: Wed, 7 Mar 2012 07:34:37 +0000 (UTC)
commit 27589971add323cd83723316835af1b399901d88
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Wed Mar 7 00:33:53 2012 -0700
On ODF import set series to default to ignoring invalids for interpolation. [#671508]
2012-03-07 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (oo_plot_series): set interpolation-skip-invalids
property
NEWS | 2 ++
plugins/openoffice/ChangeLog | 5 +++++
plugins/openoffice/openoffice-read.c | 2 ++
3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 2abd061..46567b3 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@ Gnumeric 1.11.3
Andreas:
* On ODF import of stacked column charts, set LibreOffice's default overlap.
[#670692]
+ * On ODF import set series to default to ignoring invalids for interpolation.
+ [#671508]
Morten:
* Hook up unknown_image icon for ssconvert too.
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 3a89d12..836ec6a 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-07 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * openoffice-read.c (oo_plot_series): set interpolation-skip-invalids
+ property
+
2012-02-23 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (od_style_prop_chart): LO does not write overlap
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index bc8643a..c583a24 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -7753,6 +7753,8 @@ oo_plot_series (GsfXMLIn *xin, xmlChar const **attrs)
default:
if (state->chart.series == NULL) {
state->chart.series = gog_plot_new_series (state->chart.plot);
+ /* In ODF by default we skip invalid data for interpolation */
+ g_object_set (state->chart.series, "interpolation-skip-invalid", TRUE, NULL);
if (state->chart.cat_expr != NULL) {
oo_plot_assign_dim
(xin, state->chart.cat_expr,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]