COOPY » Guide
version 0.6.5
|
#include <gnumeric-config.h>
#include <glib/gi18n.h>
#include "gnumeric.h"
#include "position.h"
#include "parse-util.h"
#include "workbook.h"
#include "workbook-priv.h"
#include "workbook-control.h"
#include "sheet.h"
#include "dependent.h"
#include "expr-name.h"
#include "libgnumeric.h"
#include "gutils.h"
#include "gnumeric-paths.h"
#include "gnm-plugin.h"
#include "command-context.h"
#include "command-context-stderr.h"
#include "workbook-view.h"
#include "cell.h"
#include "value.h"
#include <dialogs/dialogs.h>
#include <goffice/goffice.h>
#include <gsf/gsf-utils.h>
#include <string.h>
Go to the source code of this file.
Typedefs | |
typedef GList *(* | get_them_f )(void) |
typedef gchar const *(* | get_desc_f )(void *) |
Functions | |
static int | handle_export_options (GOFileSaver *fs, GODoc *doc) |
static void | list_them (get_them_f get_them, get_desc_f get_his_id, get_desc_f get_his_description) |
static GSList * | read_files_to_merge (const char *inputs[], GOFileOpener *fo, GOIOContext *io_context, GOCmdContext *cc) |
void | process_cell (gpointer key, gpointer value, gpointer user_data) |
static void | suggest_size (GSList *wbs, int *csuggest, int *rsuggest) |
static void | cb_fixup_name_wb (const char *name, GnmNamedExpr *nexpr, Workbook *wb) |
static gboolean | merge_single (Workbook *wb, Workbook *wb2, int cmax, int rmax, GOCmdContext *cc) |
static gboolean | overlay_single (Workbook *wb, Workbook *wb2, int cmax, int rmax, GOCmdContext *cc) |
static gboolean | merge (Workbook *wb, char const *inputs[], GOFileOpener *fo, GOIOContext *io_context, GOCmdContext *cc) |
static gboolean | overlay (Workbook *wb, char const *inputs[], GOFileOpener *fo, GOIOContext *io_context, GOCmdContext *cc) |
static int | convert (char const *inarg, char const *outarg, char const *mergeargs[], char const *overlayargs[], GOCmdContext *cc) |
int | main (int argc, char const **argv) |
Variables | |
static gboolean | ssconvert_show_version = FALSE |
static gboolean | ssconvert_list_exporters = FALSE |
static gboolean | ssconvert_list_importers = FALSE |
static gboolean | ssconvert_one_file_per_sheet = FALSE |
static gboolean | ssconvert_recalc = FALSE |
static gboolean | ssconvert_solve = FALSE |
static char * | ssconvert_range = NULL |
static char * | ssconvert_import_encoding = NULL |
static char * | ssconvert_import_id = NULL |
static char * | ssconvert_export_id = NULL |
static char * | ssconvert_export_options = NULL |
static char * | ssconvert_merge_target = NULL |
static char * | ssconvert_overlay_target = NULL |
static char ** | ssconvert_goal_seek = NULL |
static const GOptionEntry | ssconvert_options [] |
typedef gchar const*(* get_desc_f)(void *) |
Definition at line 241 of file ssinsert_pass1.c.
typedef GList*(* get_them_f)(void) |
Definition at line 240 of file ssinsert_pass1.c.
static void cb_fixup_name_wb | ( | const char * | name, |
GnmNamedExpr * | nexpr, | ||
Workbook * | wb | ||
) | [static] |
Definition at line 341 of file ssinsert_pass1.c.
Referenced by merge_single().
static int convert | ( | char const * | inarg, |
char const * | outarg, | ||
char const * | mergeargs[], | ||
char const * | overlayargs[], | ||
GOCmdContext * | cc | ||
) | [static] |
Definition at line 561 of file ssinsert_pass1.c.
References _, GO_FILE_SAVE_WORKBOOK, go_io_context_new, GOIOContext, handle_export_options(), merge(), NULL, overlay(), ssconvert_export_id, ssconvert_import_encoding, ssconvert_import_id, ssconvert_one_file_per_sheet, and wb_view_get_workbook.
Referenced by main().
static int handle_export_options | ( | GOFileSaver * | fs, |
GODoc * | doc | ||
) | [static] |
Definition at line 208 of file ssinsert_pass1.c.
References _, NULL, and ssconvert_export_options.
Referenced by convert().
static void list_them | ( | get_them_f | get_them, |
get_desc_f | get_his_id, | ||
get_desc_f | get_his_description | ||
) | [static] |
Definition at line 244 of file ssinsert_pass1.c.
Referenced by main().
int main | ( | int | argc, |
char const ** | argv | ||
) |
Definition at line 696 of file ssinsert_pass1.c.
References _, cc, convert(), GNM_VERSION_FULL, go_get_file_openers, go_get_file_savers, GOErrorInfo, list_them(), NULL, plugin_errs, ssconvert_list_exporters, ssconvert_list_importers, ssconvert_merge_target, ssconvert_options, ssconvert_overlay_target, and ssconvert_show_version.
static gboolean merge | ( | Workbook * | wb, |
char const * | inputs[], | ||
GOFileOpener * | fo, | ||
GOIOContext * | io_context, | ||
GOCmdContext * | cc | ||
) | [static] |
Definition at line 511 of file ssinsert_pass1.c.
References merge_single(), read_files_to_merge(), and suggest_size().
Referenced by convert().
static gboolean merge_single | ( | Workbook * | wb, |
Workbook * | wb2, | ||
int | cmax, | ||
int | rmax, | ||
GOCmdContext * | cc | ||
) | [static] |
Definition at line 352 of file ssinsert_pass1.c.
References _, cb_fixup_name_wb(), NULL, overlay(), and sheet_cell_create.
Referenced by merge().
static gboolean overlay | ( | Workbook * | wb, |
char const * | inputs[], | ||
GOFileOpener * | fo, | ||
GOIOContext * | io_context, | ||
GOCmdContext * | cc | ||
) | [static] |
Definition at line 543 of file ssinsert_pass1.c.
Referenced by convert(), and merge_single().
static gboolean overlay_single | ( | Workbook * | wb, |
Workbook * | wb2, | ||
int | cmax, | ||
int | rmax, | ||
GOCmdContext * | cc | ||
) | [static] |
Definition at line 502 of file ssinsert_pass1.c.
void process_cell | ( | gpointer | key, |
gpointer | value, | ||
gpointer | user_data | ||
) |
Definition at line 307 of file ssinsert_pass1.c.
static GSList* read_files_to_merge | ( | const char * | inputs[], |
GOFileOpener * | fo, | ||
GOIOContext * | io_context, | ||
GOCmdContext * | cc | ||
) | [static] |
Definition at line 274 of file ssinsert_pass1.c.
References NULL, ssconvert_import_encoding, and wb_view_get_workbook.
Referenced by merge().
static void suggest_size | ( | GSList * | wbs, |
int * | csuggest, | ||
int * | rsuggest | ||
) | [static] |
Definition at line 318 of file ssinsert_pass1.c.
Referenced by merge().
char* ssconvert_export_id = NULL [static] |
Definition at line 70 of file ssinsert_pass1.c.
Referenced by convert().
char* ssconvert_export_options = NULL [static] |
Definition at line 71 of file ssinsert_pass1.c.
Referenced by handle_export_options().
char** ssconvert_goal_seek = NULL [static] |
Definition at line 74 of file ssinsert_pass1.c.
char* ssconvert_import_encoding = NULL [static] |
Definition at line 68 of file ssinsert_pass1.c.
Referenced by convert(), and read_files_to_merge().
char* ssconvert_import_id = NULL [static] |
Definition at line 69 of file ssinsert_pass1.c.
Referenced by convert().
gboolean ssconvert_list_exporters = FALSE [static] |
Definition at line 62 of file ssinsert_pass1.c.
Referenced by main().
gboolean ssconvert_list_importers = FALSE [static] |
Definition at line 63 of file ssinsert_pass1.c.
Referenced by main().
char* ssconvert_merge_target = NULL [static] |
Definition at line 72 of file ssinsert_pass1.c.
Referenced by main().
gboolean ssconvert_one_file_per_sheet = FALSE [static] |
Definition at line 64 of file ssinsert_pass1.c.
Referenced by convert().
const GOptionEntry ssconvert_options[] [static] |
Definition at line 93 of file ssinsert_pass1.c.
Referenced by main().
char* ssconvert_overlay_target = NULL [static] |
Definition at line 73 of file ssinsert_pass1.c.
Referenced by main().
char* ssconvert_range = NULL [static] |
Definition at line 67 of file ssinsert_pass1.c.
gboolean ssconvert_recalc = FALSE [static] |
Definition at line 65 of file ssinsert_pass1.c.
gboolean ssconvert_show_version = FALSE [static] |
Definition at line 61 of file ssinsert_pass1.c.
Referenced by main().
gboolean ssconvert_solve = FALSE [static] |
Definition at line 66 of file ssinsert_pass1.c.