Lines Matching defs:mime

193 static int do_export_ps_pdf(SPDocument* doc, gchar const* uri, char const *mime);
194 static int do_export_emf(SPDocument* doc, gchar const* uri, char const *mime);
195 static int do_export_wmf(SPDocument* doc, gchar const* uri, char const *mime);
196 static int do_export_win_metafile_common(SPDocument* doc, gchar const* uri, char const *mime);
1710 * \param mime MIME type to export as.
1713 static int do_export_ps_pdf(SPDocument* doc, gchar const* uri, char const* mime)
1718 while (i != o.end() && strcmp( (*i)->get_mimetype(), mime ) != 0) {
1724 g_warning ("Could not find an extension to export to MIME type %s.", mime);
1797 if (g_strcmp0(mime, "application/pdf") == 0) {
1837 if ( g_strcmp0(mime, "image/x-postscript") == 0
1838 || g_strcmp0(mime, "image/x-e-postscript") == 0 ) {
1862 * \param mime MIME type to export as (should be "image/x-emf" or "image/x-wmf")
1865 static int do_export_win_metafile_common(SPDocument* doc, gchar const* uri, char const* mime)
1870 while (i != o.end() && strcmp( (*i)->get_mimetype(), mime ) != 0) {
1876 g_warning ("Could not find an extension to export to MIME type %s.", mime);
1896 * \param mime MIME type to export as (should be "image/x-emf")
1899 static int do_export_emf(SPDocument* doc, gchar const* uri, char const* mime)
1905 return do_export_win_metafile_common(doc, uri, mime);
1913 * \param mime MIME type to export as (should be "image/x-wmf")
1916 static int do_export_wmf(SPDocument* doc, gchar const* uri, char const* mime)
1922 return do_export_win_metafile_common(doc, uri, mime);