GnuCash
5.6-150-g038405b370+
|
A specialized register for Accounts Payable and Accounts Receivable. More...
Files | |
file | gncEntryLedger.h |
file | gncEntryLedgerControl.h |
file | gncEntryLedgerLayout.h |
file | gncEntryLedgerModel.h |
file | gncEntryLedgerP.h |
Data Structures | |
struct | GncEntryLedger |
Functions | |
GncEntryLedger * | gnc_entry_ledger_new (QofBook *book, GncEntryLedgerType type) |
Create and return a new GncEntry Ledger. | |
void | gnc_entry_ledger_set_default_order (GncEntryLedger *ledger, GncOrder *order) |
Set the default order for this ledger. | |
void | gnc_entry_ledger_set_default_invoice (GncEntryLedger *ledger, GncInvoice *invoice) |
Set the default invoice for this ledger. | |
void | gnc_entry_ledger_destroy (GncEntryLedger *ledger) |
Destroy the GncEntry Ledger. | |
GncEntry * | gnc_entry_ledger_get_current_entry (GncEntryLedger *ledger) |
Returns the Entry where the cursor is currently located. More... | |
void | gnc_entry_ledger_load (GncEntryLedger *ledger, GList *entry_list) |
Copy GncEntry information from the list to the rows of the Ledger. More... | |
void | gnc_entry_ledger_display_refresh (GncEntryLedger *ledger) |
Table * | gnc_entry_ledger_get_table (GncEntryLedger *ledger) |
Get the Table. | |
void | gnc_entry_ledger_set_parent (GncEntryLedger *ledger, GtkWidget *parent) |
void | gnc_entry_ledger_set_readonly (GncEntryLedger *ledger, gboolean readonly) |
gboolean | gnc_entry_ledger_changed (GncEntryLedger *ledger) |
void | gnc_entry_ledger_cancel_cursor_changes (GncEntryLedger *ledger) |
gboolean | gnc_entry_ledger_commit_entry (GncEntryLedger *ledger) |
This will act just like hitting 'return' to record an entry. | |
gboolean | gnc_entry_ledger_check_close (GtkWidget *parent, GncEntryLedger *ledger) |
This will ask the user if they really want to make a change. | |
void | gnc_entry_ledger_reset_query (GncEntryLedger *ledger) |
GncEntry * | gnc_entry_ledger_get_entry (GncEntryLedger *ledger, VirtualCellLocation vcell_loc) |
Returns the GncEntry at the given location, or NULL if the location is not valid. More... | |
GncEntry * | gnc_entry_ledger_get_blank_entry (GncEntryLedger *ledger) |
Returns the GncEntry that represents the blank new line at the bottom of the ledger. More... | |
gboolean | gnc_entry_ledger_get_entry_virt_loc (GncEntryLedger *ledger, const GncEntry *entry, VirtualCellLocation *vcell_loc) |
Looks up the cell location of the given "entry" and writes the location into the variable pointed to by vcell_loc (which must be non-NULL). More... | |
void | gnc_entry_ledger_delete_current_entry (GncEntryLedger *ledger) |
void | gnc_entry_ledger_duplicate_current_entry (GncEntryLedger *ledger) |
void | gnc_entry_ledger_move_current_entry_updown (GncEntryLedger *ledger, gboolean move_up) |
This implements the command of moving the current entry (where the cursor is currently located) one row upwards or downwards, effectively swapping this row and the other row. More... | |
QofQuery * | gnc_entry_ledger_get_query (GncEntryLedger *ledger) |
void | gnc_entry_ledger_set_prefs_group (GncEntryLedger *ledger, const gchar *string) |
TableControl * | gnc_entry_ledger_control_new (void) |
TableLayout * | gnc_entry_ledger_layout_new (GncEntryLedger *ledger) |
TableModel * | gnc_entry_ledger_model_new (GncEntryLedgerType type) |
Public Interface. | |
Account * | gnc_entry_ledger_get_account_by_name (GncEntryLedger *ledger, BasicCell *bcell, const char *name, gboolean *isnew) |
Account * | gnc_entry_ledger_get_account (GncEntryLedger *ledger, const char *cell_name) |
GncTaxTable * | gnc_entry_ledger_get_taxtable (GncEntryLedger *ledger, const char *cell_name) |
gint | gnc_entry_ledger_get_type (GncEntryLedger *ledger, const char *cell_name) |
gboolean | gnc_entry_ledger_get_checkmark (GncEntryLedger *ledger, const char *cell_name) |
gboolean | gnc_entry_ledger_get_numeric (GncEntryLedger *ledger, const char *cell_name, gnc_numeric *value) |
const char * | gnc_entry_ledger_type_string_getter (char flag) |
const char * | gnc_entry_ledger_how_string_getter (char flag) |
gboolean | gnc_entry_ledger_find_entry (GncEntryLedger *ledger, GncEntry *entry, VirtualCellLocation *vcell_loc) |
void | gnc_entry_ledger_load_xfer_cells (GncEntryLedger *ledger) |
void | gnc_entry_ledger_display_init (GncEntryLedger *ledger) |
void | gnc_entry_ledger_display_fini (GncEntryLedger *ledger) |
void | gnc_entry_ledger_compute_value (GncEntryLedger *ledger, gnc_numeric *value, gnc_numeric *tax_value) |
A specialized register for Accounts Payable and Accounts Receivable.
GncEntry* gnc_entry_ledger_get_blank_entry | ( | GncEntryLedger * | ledger | ) |
Returns the GncEntry that represents the blank new line at the bottom of the ledger.
Returns the GncEntry that represents the blank new line at the bottom of the ledger.
Definition at line 75 of file gncEntryLedger.c.
GncEntry* gnc_entry_ledger_get_current_entry | ( | GncEntryLedger * | ledger | ) |
Returns the Entry where the cursor is currently located.
Definition at line 232 of file gncEntryLedger.c.
GncEntry* gnc_entry_ledger_get_entry | ( | GncEntryLedger * | ledger, |
VirtualCellLocation | vcell_loc | ||
) |
Returns the GncEntry at the given location, or NULL if the location is not valid.
Definition at line 218 of file gncEntryLedger.c.
gboolean gnc_entry_ledger_get_entry_virt_loc | ( | GncEntryLedger * | ledger, |
const GncEntry * | entry, | ||
VirtualCellLocation * | vcell_loc | ||
) |
Looks up the cell location of the given "entry" and writes the location into the variable pointed to by vcell_loc (which must be non-NULL).
Returns TRUE if the entry was found, otherwise FALSE.
Definition at line 788 of file gncEntryLedger.c.
void gnc_entry_ledger_load | ( | GncEntryLedger * | ledger, |
GList * | entry_list | ||
) |
Copy GncEntry information from the list to the rows of the Ledger.
Definition at line 329 of file gncEntryLedgerLoad.c.
void gnc_entry_ledger_move_current_entry_updown | ( | GncEntryLedger * | ledger, |
gboolean | move_up | ||
) |
This implements the command of moving the current entry (where the cursor is currently located) one row upwards or downwards, effectively swapping this row and the other row.
If the other row is empty (or it is the blank entry), nothing will happen.
move_up | If TRUE, the current entry is moved upwards, otherwise downwards. |
Definition at line 978 of file gncEntryLedger.c.