Files | |
| file | dialog-chart-export.h |
| Chart Export - Routines to export Chart of Accounts to file. | |
Functions | |
| void | gnc_main_window_chart_export (void) |
| Export the Chart of Accounts to QSF. | |
| void gnc_main_window_chart_export | ( | void | ) |
Export the Chart of Accounts to QSF.
Write out the Chart of Accounts with balances as of a specific date, as QSF.
The function iterates over each account in the current book and gets the balance as of the specified date. The account is copied to the export session, setting the export session book as partial. The function then looks up the new entity in the export session book and sets the opening balance of the copied account.
Definition at line 193 of file dialog-chart-export.c.
00194 { 00195 GladeXML *xml; 00196 chart_data *data; 00197 00198 xml = gnc_glade_xml_new ("chart-export.glade", "chart-export"); 00199 data = g_new0(chart_data, 1); 00200 data->xml = xml; 00201 data->dialog = glade_xml_get_widget(xml, "chart-export"); 00202 data->calendar = glade_xml_get_widget(xml, "chart-calendar"); 00203 glade_xml_signal_autoconnect_full(xml, 00204 gnc_glade_autoconnect_full_func, 00205 data); 00206 gtk_widget_show(data->dialog); 00207 }
1.5.7.1