[libgsf] bump to ODF 1.1
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgsf] bump to ODF 1.1
- Date: Mon, 25 May 2009 01:08:21 -0400 (EDT)
commit 09762b5390fcd64b024c7d0c29093e3a14f6737f
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Sun May 24 23:07:03 2009 -0600
bump to ODF 1.1
2009-05-24 Andreas J. Guelzow <aguelzow pyrshep ca>
* gsf/gsf-opendoc-utils.c (gsf_opendoc_metadata_write): use
GSF_ODF_VERSION_STRING
* gsf-opendoc-utils.h (GSF_ODF_VERSION): new and bump to 1.1
(GSF_ODF_VERSION_STRING): new
---
ChangeLog | 7 +++++++
gsf/gsf-opendoc-utils.c | 2 +-
gsf/gsf-opendoc-utils.h | 3 +++
3 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e2d1045..0a3d43f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-05-24 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * gsf/gsf-opendoc-utils.c (gsf_opendoc_metadata_write): use
+ GSF_ODF_VERSION_STRING
+ * gsf-opendoc-utils.h (GSF_ODF_VERSION): new and bump to 1.1
+ (GSF_ODF_VERSION_STRING): new
+
2009-05-23 Morten Welinder <terra gnome org>
* configure.in: Psot-release bump.
diff --git a/gsf/gsf-opendoc-utils.c b/gsf/gsf-opendoc-utils.c
index 47e1644..7bd4dc1 100644
--- a/gsf/gsf-opendoc-utils.c
+++ b/gsf/gsf-opendoc-utils.c
@@ -509,7 +509,7 @@ gsf_opendoc_metadata_write (GsfXMLOut *output, GsfDocMetaData const *md)
"urn:oasis:names:tc:opendocument:xmlns:meta:1.0");
gsf_xml_out_add_cstr_unchecked (output, "xmlns:ooo",
"http://openoffice.org/2004/office");
- gsf_xml_out_add_cstr_unchecked (output, "office:version", "1.0");
+ gsf_xml_out_add_cstr_unchecked (output, "office:version", GSF_ODF_VERSION_STRING);
gsf_xml_out_start_element (output, OFFICE "meta");
gsf_doc_meta_data_foreach (md, (GHFunc) meta_write_props, output);
diff --git a/gsf/gsf-opendoc-utils.h b/gsf/gsf-opendoc-utils.h
index 1c3dae7..f274a24 100644
--- a/gsf/gsf-opendoc-utils.h
+++ b/gsf/gsf-opendoc-utils.h
@@ -91,6 +91,9 @@ enum {
extern GsfXMLInNS gsf_ooo_ns[];
+#define GSF_ODF_VERSION 11
+#define GSF_ODF_VERSION_STRING "1.1"
+
/* For 1.15.x s/opendoc/odf/ and s/ooo/odf/ */
GError *gsf_opendoc_metadata_read (GsfInput *input, GsfDocMetaData *md);
void gsf_opendoc_metadata_subtree (GsfXMLIn *doc, GsfDocMetaData *md);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]