Update Spanish translation
[gnumeric.git] / src / stf-export.h
blobf1922c3375ebe9b83ef3c08fc5570f0277ae0393
1 #ifndef _GNM_STF_EXPORT_H_
2 # define _GNM_STF_EXPORT_H_
4 #include <gnumeric.h>
5 #include <gsf/gsf-output-csv.h>
6 #include <goffice/goffice.h>
8 G_BEGIN_DECLS
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))
14 typedef enum {
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 ())
21 typedef enum {
22 GNM_STF_FORMAT_AUTO,
23 GNM_STF_FORMAT_RAW,
24 GNM_STF_FORMAT_PRESERVE
25 } GnmStfFormatMode;
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);
44 G_END_DECLS
46 #endif /* _GNM_STF_EXPORT_H_ */