1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef _GNM_GUI_FILE_H_
3 # define _GNM_GUI_FILE_H_
5 #include "gnumeric-fwd.h"
10 GNM_FILE_SAVE_AS_STYLE_SAVE
,
11 GNM_FILE_SAVE_AS_STYLE_EXPORT
,
12 GNM_FILE_SAVE_AS_STYLE_EXPORT_RANGE
15 GNM_FILE_OPEN_STYLE_OPEN
,
16 GNM_FILE_OPEN_STYLE_IMPORT
,
19 gboolean
gui_file_save_as (WBCGtk
*wbcg
, WorkbookView
*wbv
,
20 GnmFileSaveAsStyle type
,
21 char const *default_format
);
22 gboolean
gui_file_save (WBCGtk
*wbcg
, WorkbookView
*wbv
);
23 gboolean
gui_file_export_repeat (WBCGtk
*wbcg
);
24 void gui_file_open (WBCGtk
*wbcg
, GnmFileOpenStyle type
,
25 char const *default_format
);
26 void gui_wb_view_show (WBCGtk
*wbcg
, WorkbookView
*wbv
);
27 WorkbookView
*gui_file_read (WBCGtk
*wbcg
, char const *file_name
,
28 GOFileOpener
const *optional_format
,
29 gchar
const *optional_encoding
);
30 gboolean
gnm_gui_file_template (WBCGtk
*wbcg
, char const *uri
);
34 #endif /* _GNM_GUI_FILE_H_ */