1 #ifndef _GNM_STF_EXPORT_H_
2 # define _GNM_STF_EXPORT_H_
5 #include <gsf/gsf-output-csv.h>
6 #include <goffice/goffice.h>
10 #define GNM_STF_EXPORT_TYPE (gnm_stf_export_get_type ())
11 #define GNM_STF_EXPORT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_STF_EXPORT_TYPE, GnmStfExport))
12 #define GNM_IS_STF_EXPORT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_STF_EXPORT_TYPE))
15 GNM_STF_TRANSLITERATE_MODE_TRANS
, /* Automatically quote where needed */
16 GNM_STF_TRANSLITERATE_MODE_ESCAPE
/* Always quote */
17 } GnmStfTransliterateMode
;
18 GType
gnm_stf_transliterate_mode_get_type (void);
19 #define GNM_STF_TRANSLITERATE_MODE_TYPE (gnm_stf_transliterate_mode_get_type ())
24 GNM_STF_FORMAT_PRESERVE
26 GType
gnm_stf_format_mode_get_type (void);
27 #define GNM_STF_FORMAT_MODE_TYPE (gnm_stf_format_mode_get_type ())
29 GType
gnm_stf_export_get_type (void);
31 void gnm_stf_export_options_sheet_list_clear (GnmStfExport
*stfe
);
32 void gnm_stf_export_options_sheet_list_add (GnmStfExport
*stfe
, Sheet
*sheet
);
33 GSList
*gnm_stf_export_options_sheet_list_get (const GnmStfExport
*stfe
);
35 gboolean
gnm_stf_export_can_transliterate (void);
37 GnmStfExport
*gnm_stf_get_stfe (GObject
*obj
);
39 gboolean
gnm_stf_export (GnmStfExport
*export_options
);
42 GOFileSaver
*gnm_stf_file_saver_create (gchar
const *id
);
46 #endif /* _GNM_STF_EXPORT_H_ */