[gnumeric] export style of custom objects
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] export style of custom objects
- Date: Thu, 18 Jul 2013 06:35:36 +0000 (UTC)
commit b9d6af9d991942bd050a0252d2ef716e55040cb2
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Thu Jul 18 00:34:53 2013 -0600
export style of custom objects
2013-07-17 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-write.c (odf_write_sheet_object_styles): write object
style for GNM_SO_PATH_TYPE
plugins/openoffice/ChangeLog | 5 +++++
plugins/openoffice/openoffice-write.c | 7 +++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index cf02add..367b656 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,5 +1,10 @@
2013-07-17 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * openoffice-write.c (odf_write_sheet_object_styles): write object
+ style for GNM_SO_PATH_TYPE
+
+2013-07-17 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* openoffice-read.c (odf_custom_shape_end): move declaration to
clarify variable use
* openoffice-write.c (custom_shape_path_collector): new
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index 1500b0c..cb8ba6f 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -953,6 +953,13 @@ odf_write_sheet_object_styles (GnmOOExport *state)
g_hash_table_replace (state->so_styles, so, name);
}
g_slist_free (objects);
+ objects = sheet_objects_get (sheet, NULL, GNM_SO_PATH_TYPE);
+ for (l = objects; l != NULL; l = l->next) {
+ SheetObject *so = SHEET_OBJECT (l->data);
+ char *name = odf_write_sheet_object_style (state, so);
+ g_hash_table_replace (state->so_styles, so, name);
+ }
+ g_slist_free (objects);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]