|
GnuCash c935c2f+
|
CSV Import Settings. More...
#include "gnc-imp-settings-csv.hpp"#include <sstream>#include <config.h>#include <gtk/gtk.h>#include <glib/gi18n.h>#include "Account.h"#include "gnc-state.h"#include "gnc-ui-util.h"#include <algorithm>#include <iostream>#include <string>Go to the source code of this file.
Macros | |
| #define | CSV_NAME "Name" |
| #define | CSV_FORMAT "CsvFormat" |
| #define | CSV_SKIP_ALT "SkipAltLines" |
| #define | CSV_SKIP_START "SkipStartLines" |
| #define | CSV_SKIP_END "SkipEndLines" |
| #define | CSV_SEP "Separators" |
| #define | CSV_ESC "EnableEscape" |
| #define | CSV_CUSTOM "Custom" |
| #define | CSV_CUSTOM_ENTRY "CustomEntry" |
| #define | CSV_DATE "DateFormat" |
| #define | CSV_CURRENCY "CurrencyFormat" |
| #define | CSV_ENCODING "Encoding" |
| #define | CSV_COL_WIDTHS "ColumnWidths" |
Functions | |
| bool | handle_load_error (GError **key_error, const std::string &group) |
| bool | preset_is_reserved_name (const std::string &name) |
| Check whether name can be used as a preset name. | |
| std::string | get_no_settings (void) |
| std::string | get_gnc_exp (void) |
| std::string | get_gnc_exp_4 (void) |
Variables | |
| const std::string | csv_group_prefix {"CSV-"} |
| const std::string | no_settings {N_("No Settings")} |
| const std::string | gnc_exp {N_("GnuCash Export Format")} |
| const std::string | gnc_exp_4 {N_("GnuCash Export Format (4.x and older)")} |
CSV Import Settings.
Definition in file gnc-imp-settings-csv.cpp.
| #define CSV_COL_WIDTHS "ColumnWidths" |
Definition at line 66 of file gnc-imp-settings-csv.cpp.
| #define CSV_CURRENCY "CurrencyFormat" |
Definition at line 63 of file gnc-imp-settings-csv.cpp.
| #define CSV_CUSTOM "Custom" |
Definition at line 59 of file gnc-imp-settings-csv.cpp.
| #define CSV_CUSTOM_ENTRY "CustomEntry" |
Definition at line 60 of file gnc-imp-settings-csv.cpp.
| #define CSV_DATE "DateFormat" |
Definition at line 62 of file gnc-imp-settings-csv.cpp.
| #define CSV_ENCODING "Encoding" |
Definition at line 65 of file gnc-imp-settings-csv.cpp.
| #define CSV_ESC "EnableEscape" |
Definition at line 57 of file gnc-imp-settings-csv.cpp.
| #define CSV_FORMAT "CsvFormat" |
Definition at line 51 of file gnc-imp-settings-csv.cpp.
| #define CSV_NAME "Name" |
Definition at line 50 of file gnc-imp-settings-csv.cpp.
| #define CSV_SEP "Separators" |
Definition at line 56 of file gnc-imp-settings-csv.cpp.
| #define CSV_SKIP_ALT "SkipAltLines" |
Definition at line 52 of file gnc-imp-settings-csv.cpp.
| #define CSV_SKIP_END "SkipEndLines" |
Definition at line 54 of file gnc-imp-settings-csv.cpp.
| #define CSV_SKIP_START "SkipStartLines" |
Definition at line 53 of file gnc-imp-settings-csv.cpp.
| std::string get_gnc_exp | ( | void | ) |
Definition at line 107 of file gnc-imp-settings-csv.cpp.
| std::string get_gnc_exp_4 | ( | void | ) |
Definition at line 112 of file gnc-imp-settings-csv.cpp.
| std::string get_no_settings | ( | void | ) |
Definition at line 102 of file gnc-imp-settings-csv.cpp.
| bool handle_load_error | ( | GError ** | key_error, |
| const std::string & | group | ||
| ) |
Definition at line 78 of file gnc-imp-settings-csv.cpp.
| bool preset_is_reserved_name | ( | const std::string & | name | ) |
Check whether name can be used as a preset name.
The names of the internal presets are considered reserved. A preset with such a name should not be saved or deleted.
Definition at line 94 of file gnc-imp-settings-csv.cpp.
| const std::string csv_group_prefix {"CSV-"} |
Definition at line 45 of file gnc-imp-settings-csv.cpp.
| const std::string gnc_exp {N_("GnuCash Export Format")} |
Definition at line 47 of file gnc-imp-settings-csv.cpp.
| const std::string gnc_exp_4 {N_("GnuCash Export Format (4.x and older)")} |
Definition at line 48 of file gnc-imp-settings-csv.cpp.
| const std::string no_settings {N_("No Settings")} |
Definition at line 46 of file gnc-imp-settings-csv.cpp.