46 gchar *gnc_normalize_account_separator (
const gchar* separator);
47 gboolean gnc_reverse_balance(
const Account *account);
50 #define GNC_PREFS_GROUP_OPEN_SAVE "dialogs.open-save"
51 #define GNC_PREFS_GROUP_EXPORT "dialogs.export-accounts"
52 #define GNC_PREFS_GROUP_REPORT "dialogs.report"
53 #define GNC_PREF_AUTO_DECIMAL_POINT "auto-decimal-point"
54 #define GNC_PREF_AUTO_DECIMAL_PLACES "auto-decimal-places"
58 gchar *gnc_get_default_directory (
const gchar *section);
59 void gnc_set_default_directory (
const gchar *section,
60 const gchar *directory);
63 QofBook * gnc_get_current_book (
void);
73 gboolean gnc_is_new_book (
void);
75 void gnc_set_current_book_tax_name (
const gchar *tax_name);
76 const gchar * gnc_get_current_book_tax_name (
void);
77 void gnc_set_current_book_tax_type (
const gchar *tax_type);
78 const gchar * gnc_get_current_book_tax_type (
void);
83 Account * gnc_get_current_root_account (
void);
127 char *gnc_ui_account_get_tax_info_string (
const Account *account);
129 char *gnc_ui_account_get_tax_info_sub_acct_string (
const Account *account);
131 const char * gnc_get_reconcile_str (
char reconciled_flag);
132 const char * gnc_get_reconcile_valid_flags (
void);
133 const char * gnc_get_reconcile_flag_order (
void);
137 EQUITY_OPENING_BALANCE,
138 EQUITY_RETAINED_EARNINGS,
143 GNCEquityType equity_type,
145 gboolean gnc_account_create_opening_balance (
Account *account,
155 gnc_commodity * gnc_locale_default_currency_nodefault (
void);
163 const char * gnc_locale_default_iso_currency_code (
void);
226 guint8 max_decimal_places;
227 guint8 min_decimal_places;
229 unsigned int use_separators : 1;
230 unsigned int use_symbol : 1;
231 unsigned int use_locale : 1;
232 unsigned int monetary : 1;
233 unsigned int force_fit : 1;
234 unsigned int round : 1;
241 gboolean use_symbol);
244 gboolean use_symbol);
247 gboolean use_symbol);
261 const gchar *printable_value(gdouble val, gint denom);
262 gchar *number_to_words(gdouble val, gint64 denom);
276 gboolean xaccParseAmount (
const char * in_str, gboolean monetary,
289 xaccParseAmountExtended (
const char * in_str, gboolean monetary,
290 gunichar negative_sign, gunichar decimal_point,
291 gunichar group_separator,
char *group,
char *ignore_list,
296 void gnc_ui_util_init (
void);
Business Interface: Object OWNERs.
void gnc_book_option_num_field_source_change_cb(gboolean num_action)
gnc_commodity * gnc_default_report_currency(void)
gnc_commodity * gnc_default_currency(void)
gchar * gnc_get_account_name_for_register(const Account *account)
Account handling public routines.
int xaccSPrintAmount(char *buf, gnc_numeric val, GNCPrintAmountInfo info)
gnc_commodity * gnc_account_or_default_currency(const Account *account, gboolean *currency_from_account_found)
Account * gnc_account_lookup_for_register(const Account *base_account, const gchar *name)