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

CSV Export Assistant. More...

#include "Account.h"

Go to the source code of this file.

Data Structures

struct  CsvExportDate
 
struct  CsvExportAcc
 
struct  CsvExportInfo
 

Enumerations

enum  CsvExportType { XML_EXPORT_TREE, XML_EXPORT_TRANS }
 

Functions

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.h.

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 }