1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef _GNM_STF_EXPORT_H_
3 # define _GNM_STF_EXPORT_H_
6 #include <gsf/gsf-output-csv.h>
7 #include <goffice/goffice.h>
11 #define GNM_STF_EXPORT_TYPE (gnm_stf_export_get_type ())
12 #define GNM_STF_EXPORT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_STF_EXPORT_TYPE, GnmStfExport))
13 #define GNM_IS_STF_EXPORT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_STF_EXPORT_TYPE))
16 GNM_STF_TRANSLITERATE_MODE_TRANS
, /* Automatically quote where needed */
17 GNM_STF_TRANSLITERATE_MODE_ESCAPE
/* Always quote */
18 } GnmStfTransliterateMode
;
19 GType
gnm_stf_transliterate_mode_get_type (void);
20 #define GNM_STF_TRANSLITERATE_MODE_TYPE (gnm_stf_transliterate_mode_get_type ())
25 GNM_STF_FORMAT_PRESERVE
27 GType
gnm_stf_format_mode_get_type (void);
28 #define GNM_STF_FORMAT_MODE_TYPE (gnm_stf_format_mode_get_type ())
30 GType
gnm_stf_export_get_type (void);
32 void gnm_stf_export_options_sheet_list_clear (GnmStfExport
*stfe
);
33 void gnm_stf_export_options_sheet_list_add (GnmStfExport
*stfe
, Sheet
*sheet
);
34 GSList
*gnm_stf_export_options_sheet_list_get (const GnmStfExport
*stfe
);
36 gboolean
gnm_stf_export_can_transliterate (void);
38 GnmStfExport
*gnm_stf_get_stfe (GObject
*obj
);
40 gboolean
gnm_stf_export (GnmStfExport
*export_options
);
43 GOFileSaver
*gnm_stf_file_saver_create (gchar
const *id
);
47 #endif /* _GNM_STF_EXPORT_H_ */