Introspection: fix problems with boxed type.
[gnumeric.git] / src / gui-file.h
blob79c54245f52fd9c285f226186bbc3958bce6f3b6
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"
7 G_BEGIN_DECLS
9 typedef enum {
10 GNM_FILE_SAVE_AS_STYLE_SAVE,
11 GNM_FILE_SAVE_AS_STYLE_EXPORT,
12 GNM_FILE_SAVE_AS_STYLE_EXPORT_RANGE
13 } GnmFileSaveAsStyle;
14 typedef enum {
15 GNM_FILE_OPEN_STYLE_OPEN,
16 GNM_FILE_OPEN_STYLE_IMPORT,
17 } GnmFileOpenStyle;
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);
32 G_END_DECLS
34 #endif /* _GNM_GUI_FILE_H_ */