Introspection: add col/row manipulations
[gnumeric.git] / src / stf-export.h
blob92a3bcc1c9a0b909d841e844b279b3e77da17fd2
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_
5 #include "gnumeric.h"
6 #include <gsf/gsf-output-csv.h>
7 #include <goffice/goffice.h>
9 G_BEGIN_DECLS
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))
15 typedef enum {
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 ())
22 typedef enum {
23 GNM_STF_FORMAT_AUTO,
24 GNM_STF_FORMAT_RAW,
25 GNM_STF_FORMAT_PRESERVE
26 } GnmStfFormatMode;
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);
45 G_END_DECLS
47 #endif /* _GNM_STF_EXPORT_H_ */