68
68
* Displays a file open dialog. Calls sp_file_open on
71
void sp_file_open_dialog (gpointer object, gpointer data);
71
void sp_file_open_dialog (Gtk::Window &parentWindow, gpointer object, gpointer data);
74
74
* Reverts file to disk-copy on "YES"
80
80
######################*/
83
* Added to make only the remote savings.
86
bool file_save_remote(SPDocument *doc, const Glib::ustring &uri,
87
Inkscape::Extension::Extension *key, bool saveas, bool official);
85
bool sp_file_save (gpointer object, gpointer data);
92
bool sp_file_save (Gtk::Window &parentWindow, gpointer object, gpointer data);
88
95
* Saves the given document. Displays a file select dialog
89
96
* to choose the new name.
91
bool sp_file_save_as (gpointer object, gpointer data);
98
bool sp_file_save_as (Gtk::Window &parentWindow, gpointer object, gpointer data);
94
101
* Saves a copy of the given document. Displays a file select dialog
95
102
* to choose a name for the copy.
97
bool sp_file_save_a_copy (gpointer object, gpointer data);
104
bool sp_file_save_a_copy (Gtk::Window &parentWindow, gpointer object, gpointer data);
101
108
* Saves the given document. Displays a file select dialog
104
bool sp_file_save_document (SPDocument *document);
111
bool sp_file_save_document (Gtk::Window &parentWindow, SPDocument *document);
106
113
/* Do the saveas dialog with a document as the parameter */
107
bool sp_file_save_dialog (SPDocument *doc, bool bAsCopy = FALSE);
114
bool sp_file_save_dialog (Gtk::Window &parentWindow, SPDocument *doc, bool bAsCopy = FALSE);
110
117
/*######################
115
122
* Displays a file selector dialog, to allow the
116
123
* user to import data into the current document.
118
void sp_file_import (GtkWidget * widget);
125
void sp_file_import (Gtk::Window &parentWindow);
121
128
* Imports a resource
135
142
bool sp_file_export_dialog (void *widget);
145
/*######################
146
## E X P O R T T O O C A L
147
######################*/
150
* Export the current document to OCAL
152
void sp_file_export_to_ocal (Gtk::Window &parentWindow );
156
* Export the current document to OCAL
158
bool sp_file_export_to_ocal_dialog (void *widget);
161
/*######################
162
## I M P O R T F R O M O C A L
163
######################*/
166
* Import a document from OCAL
168
void sp_file_import_from_ocal (Gtk::Window &parentWindow );
139
171
/*######################