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

CSV Import Assistant. More...

Go to the source code of this file.

Functions

void gnc_file_csv_trans_import (void)
 

Detailed Description

CSV Import Assistant.

Author
Copyright (c) 2011 Robert Fewell

Definition in file assistant-csv-trans-import.h.

Function Documentation

void gnc_file_csv_trans_import ( void  )

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

Definition at line 2536 of file assistant-csv-trans-import.c.

2537 {
2538  CsvImportTrans *info;
2539 
2540  info = g_new0 (CsvImportTrans, 1);
2541 
2542  /* In order to trigger a book options display on the creation of a new book,
2543  * we need to detect when we are dealing with a new book. */
2544  info->new_book = gnc_is_new_book();
2545 
2546  csv_import_trans_assistant_create (info);
2547 
2548  gnc_register_gui_component (ASSISTANT_CSV_IMPORT_TRANS_CM_CLASS,
2549  NULL, csv_import_trans_close_handler,
2550  info);
2551 
2552  gtk_widget_show_all (info->window);
2553 
2554  gnc_window_adjust_for_screen (GTK_WINDOW(info->window));
2555 }