[gnumeric] Fix export of titles and subtitles to ODF. [part of #730397]



commit 6b7d8464d2d6e514ddd765e3967b2b1b5f48841c
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Mon May 19 13:36:48 2014 -0600

    Fix export of titles and subtitles to ODF. [part of #730397]
    
    2014-05-19  Andreas J. Guelzow <aguelzow pyrshep ca>
    
        * openoffice-write.c (odf_write_title): do not write table:cell-address

 NEWS                                  |    1 +
 plugins/openoffice/ChangeLog          |    4 ++++
 plugins/openoffice/openoffice-write.c |    2 --
 3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index 061f4e7..a2467f3 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ Andreas:
        * Fix database-range import from ODF. [#730197]
        * Improve chart roundtrip through ODF. [#728197]
        * Fix export of non-ODF interpolation types to ODF.
+       * Fix export of titles and subtitles to ODF. [part of #730397]
 
 Morten:
        * Start moving off GtkUIManager.
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 91baa81..fd4e7e5 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,5 +1,9 @@
 2014-05-19  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+       * openoffice-write.c (odf_write_title): do not write table:cell-address
+
+2014-05-19  Andreas J. Guelzow <aguelzow pyrshep ca>
+
        * openoffice-write.c (od_style_prop_chart): use gnm:interpolation rather
        than using an invalid attirbute value with chart:interpolation
        * openoffice-read.c (od_style_prop_chart): handle gnm:interpolation
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index ebb88a6..3edcc27 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -6862,8 +6862,6 @@ odf_write_title (GnmOOExport *state, GogObject const *title,
                                if (gnm_expr_top_is_rangeref (texpr)) {
                                        char *f = odf_strip_brackets (formula);
                                        gsf_xml_out_add_cstr (state->xml,
-                                                             TABLE "cell-address", f);
-                                       gsf_xml_out_add_cstr (state->xml,
                                                              TABLE "cell-range", f);
                                } else if (allow_content &&
                                           (v = gnm_expr_top_get_constant (texpr)) &&


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