GnuCash
2.6.99
|
Macros | |
#define | GNC_GTK_PRINT_SETTINGS_EXPORT_DIR "gnc-pdf-export-directory" |
Functions | |
void | gnc_print_operation_save_print_settings (GtkPrintOperation *op) |
void | gnc_print_operation_init (GtkPrintOperation *op, const gchar *jobname) |
void | gnc_ui_page_setup (GtkWindow *parent) |
GtkPrintSettings * | gnc_print_get_settings (void) |
#define GNC_GTK_PRINT_SETTINGS_EXPORT_DIR "gnc-pdf-export-directory" |
Key for saving the PDF-export directory in the print settings
Definition at line 70 of file print-session.h.
GtkPrintSettings* gnc_print_get_settings | ( | void | ) |
Returns the pointer to our static GtkPrintSettings object. Watch out: This might get modified by other threads.
Definition at line 116 of file print-session.c.
void gnc_print_operation_init | ( | GtkPrintOperation * | op, |
const gchar * | jobname | ||
) |
If print settings have been saved by gnc_print_operation_save_print_settings(), then set them on the given GtkPrintOperation op. Set the default page setup as well.
op | non-NULL print operation |
jobname | non-NULL print job name |
Definition at line 59 of file print-session.c.
void gnc_print_operation_save_print_settings | ( | GtkPrintOperation * | op | ) |
Retrieve the print settings from the GtkPrintOperation op and save them in a static variable.
op | non-NULL print operation |
Definition at line 47 of file print-session.c.
void gnc_ui_page_setup | ( | GtkWindow * | parent | ) |
Run a page setup dialog and save the resulting GtkPageSetup in a static variable.
parent | Transient parent, or NULL |
Definition at line 79 of file print-session.c.