Lines Matching defs:fileName

568     Glib::ustring fileName = openDialogInstance->getFilename();
585 fileName = flist[i];
587 Glib::ustring newFileName = Glib::filename_to_utf8(fileName);
589 fileName = newFileName;
594 g_message("Opening File %s\n", fileName.c_str());
596 sp_file_open(fileName, selection);
603 if (!fileName.empty())
605 Glib::ustring newFileName = Glib::filename_to_utf8(fileName);
608 fileName = newFileName;
612 open_path = Glib::path_get_dirname (fileName);
616 sp_file_open(fileName, selection);
764 Glib::ustring fileName = Glib::get_tmp_dir ();
765 fileName.append(G_DIR_SEPARATOR_S);
766 fileName.append((gnome_vfs_uri_extract_short_name(gnome_vfs_uri_new(uri_local))));
769 result = gnome_vfs_open (&from_handle, fileName.c_str(), GNOME_VFS_OPEN_READ);
920 Glib::ustring fileName = saveDialog->getFilename();
927 if (!fileName.empty()) {
928 Glib::ustring newFileName = Glib::filename_to_utf8(fileName);
931 fileName = newFileName;
938 if ( !hasEnding(fileName, save_extension) ) {
939 fileName += save_extension;
944 success = file_save(parentWindow, doc, fileName, selectionType, TRUE, !is_copy, save_method);
950 save_path = Glib::path_get_dirname(fileName);
1337 Glib::ustring fileName = importDialogInstance->getFilename();
1348 fileName = flist[i];
1350 Glib::ustring newFileName = Glib::filename_to_utf8(fileName);
1352 fileName = newFileName;
1357 g_message("Importing File %s\n", fileName.c_str());
1359 file_import(doc, fileName, selection);
1366 if (!fileName.empty()) {
1368 Glib::ustring newFileName = Glib::filename_to_utf8(fileName);
1371 fileName = newFileName;
1375 import_path = Glib::path_get_dirname(fileName);
1379 file_import(doc, fileName, selection);
1468 Glib::ustring fileName = exportDialogInstance->getFilename();
1476 if (fileName.size() > 0) {
1477 Glib::ustring newFileName = Glib::filename_to_utf8(fileName);
1480 fileName = newFileName;
1484 success = file_save(parentWindow, doc, fileName, selectionType, TRUE, FALSE, Inkscape::Extension::FILE_SAVE_METHOD_EXPORT);
1491 export_path = fileName;
1535 Glib::ustring fileName;
1583 fileName = exportDialogInstance->getFilename();
1588 fileName.append(filename_extension.c_str());
1589 if (fileName.size() > 0) {
1590 Glib::ustring newFileName = Glib::filename_to_utf8(fileName);
1593 fileName = newFileName;
1599 filePath.append(Glib::path_get_basename(fileName));
1601 fileName = filePath;
1645 uri.append(Glib::path_get_basename(fileName));
1649 remove(fileName.c_str());