GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
assistant-csv-export.c File Reference

CSV Export Assistant. More...

#include "config.h"
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "gnc-ui.h"
#include "gnc-uri-utils.h"
#include "gnc-component-manager.h"
#include "gnc-date-edit.h"
#include "gnc-prefs.h"
#include "gnc-tree-view-account.h"
#include "dialog-utils.h"
#include "Query.h"
#include "Transaction.h"
#include "assistant-utils.h"
#include "assistant-csv-export.h"
#include "csv-tree-export.h"
#include "csv-transactions-export.h"

Go to the source code of this file.

Macros

#define GNC_PREFS_GROUP   "dialogs.export.csv"
 
#define GNC_PREF_PANED_POS   "paned-position"
 
#define ASSISTANT_CSV_EXPORT_CM_CLASS   "assistant-csv-export"
 

Functions

void csv_export_assistant_prepare (GtkAssistant *assistant, GtkWidget *page, gpointer user_data)
 
void csv_export_assistant_finish (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_export_assistant_cancel (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_export_assistant_close (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_export_assistant_start_page_prepare (GtkAssistant *assistant, gpointer user_data)
 
void csv_export_assistant_account_page_prepare (GtkAssistant *gtkassistant, gpointer user_data)
 
void csv_export_assistant_file_page_prepare (GtkAssistant *assistant, gpointer user_data)
 
void csv_export_assistant_finish_page_prepare (GtkAssistant *assistant, gpointer user_data)
 
void csv_export_assistant_summary_page_prepare (GtkAssistant *assistant, gpointer user_data)
 
void csv_export_quote_cb (GtkToggleButton *button, gpointer user_data)
 
void csv_export_sep_cb (GtkWidget *radio, gpointer user_data)
 
void csv_export_custom_entry_cb (GtkWidget *widget, gpointer user_data)
 
void csv_export_show_range_cb (GtkRadioButton *button, gpointer user_data)
 
void csv_export_start_date_cb (GtkWidget *radio, gpointer user_data)
 
void csv_export_end_date_cb (GtkWidget *radio, gpointer user_data)
 
void csv_export_file_chooser_confirm_cb (GtkWidget *button, CsvExportInfo *info)
 
void gnc_file_csv_export (CsvExportType export_type)
 

Detailed Description

CSV Export Assistant.

Author
Copyright (c) 2012 Robert Fewell

Definition in file assistant-csv-export.c.

Function Documentation

void gnc_file_csv_export ( CsvExportType  export_type)

The gnc_file_csv_export() will let the user export thte account tree or transactions to a delimited file.

Definition at line 912 of file assistant-csv-export.c.

913 {
914  CsvExportInfo *info;
915 
916  info = g_new0 (CsvExportInfo, 1);
917  info->export_type = export_type;
918  csv_export_assistant_create (info);
919  gnc_register_gui_component (ASSISTANT_CSV_EXPORT_CM_CLASS,
920  NULL, csv_export_close_handler,
921  info);
922  gtk_widget_show_all (info->window);
923  gnc_window_adjust_for_screen (GTK_WINDOW(info->window));
924 }