[libgsf] openpkg: add contents type for vml.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] openpkg: add contents type for vml.
- Date: Sat, 7 Feb 2015 03:07:36 +0000 (UTC)
commit 466433b5c56f907d97a7c4351fd652d30294516a
Author: Morten Welinder <terra gnome org>
Date: Fri Feb 6 22:07:15 2015 -0500
openpkg: add contents type for vml.
ChangeLog | 3 +++
NEWS | 1 +
gsf/gsf-open-pkg-utils.c | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a363142..ce617f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-02-06 Morten Welinder <terra gnome org>
+ * gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_close): Also add
+ vml extension.
+
* gsf/gsf-libxml.c (gsf_xml_in_start_element): Nodes inside
unknown nodes are themselves unknown, even if they would appear to
be known had the intervening unknown nodes not been there. In
diff --git a/NEWS b/NEWS
index ec69e9a..126aeb4 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ libgsf 1.14.32
Morten:
* Fix obscure problem with xml parser.
+ * Add vml to openpkg utils.
--------------------------------------------------------------------------
libgsf 1.14.31
diff --git a/gsf/gsf-open-pkg-utils.c b/gsf/gsf-open-pkg-utils.c
index 6e172f4..d28be46 100644
--- a/gsf/gsf-open-pkg-utils.c
+++ b/gsf/gsf-open-pkg-utils.c
@@ -660,6 +660,8 @@ gsf_outfile_open_pkg_close (GsfOutput *output)
"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings");
gsf_open_pkg_write_content_default (xml, "xml",
"application/xml");
+ gsf_open_pkg_write_content_default (xml, "vml",
+ "application/vnd.openxmlformats-officedocument.vmlDrawing");
gsf_open_pkg_write_content_override (open_pkg, "/", xml);
gsf_xml_out_end_element (xml); /* </Types> */
g_object_unref (xml);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]