goffice r2056 - in trunk: . goffice/utils
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2056 - in trunk: . goffice/utils
- Date: Thu, 10 Apr 2008 16:44:50 +0100 (BST)
Author: jbrefort
Date: Thu Apr 10 16:44:49 2008
New Revision: 2056
URL: http://svn.gnome.org/viewvc/goffice?rev=2056&view=rev
Log:
2008-04-10 Jean Brefort <jean brefort normalesup org>
* goffice/utils/go-image.c: (go_mime_to_image_format),
(go_image_format_to_mime): add support for pdf and ps.
Modified:
trunk/ChangeLog
trunk/goffice/utils/go-image.c
Modified: trunk/goffice/utils/go-image.c
==============================================================================
--- trunk/goffice/utils/go-image.c (original)
+++ trunk/goffice/utils/go-image.c Thu Apr 10 16:44:49 2008
@@ -56,6 +56,8 @@
"text/xml-svg", "svg",
"image/x-wmf", "wmf",
"image/x-emf", "emf",
+ "application/pdf", "pdf",
+ "application/postscript", "ps",
};
for (i = 0; i < G_N_ELEMENTS (exceptions); i += 2)
@@ -86,6 +88,8 @@
"svg", "image/svg,image/svg+xml",
"wmf", "image/x-wmf",
"emf", "image/x-emf",
+ "pdf", "application/pdf",
+ "ps", "application/postscript",
};
if (format == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]