diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-07-11 02:45:23 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-07-11 02:45:23 +0800 |
commit | e3745955787160572f5bc2feb46f293c0f96894f (patch) | |
tree | 59614375b33eadad3f283fb31578d4360b788c6e /embed/print-dialog.h | |
parent | b26c1e1243cb943f67fc42b646862919238501fc (diff) | |
download | gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.gz gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.bz2 gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.lz gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.xz gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.tar.zst gsoc2013-epiphany-e3745955787160572f5bc2feb46f293c0f96894f.zip |
Make print and print setup go trough nsIPrintingPromptService (backported
2004-07-10 Christian Persch <chpe@cvs.gnome.org>
* configure.in:
* data/glade/print.glade:
* embed/ephy-embed-single.c: (ephy_embed_single_print_setup):
* embed/ephy-embed-single.h:
* embed/ephy-embed.c: (ephy_embed_print),
(ephy_embed_set_print_preview_mode):
* embed/ephy-embed.h:
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
* embed/mozilla/MozillaPrivate.cpp:
* embed/mozilla/MozillaPrivate.h:
* embed/mozilla/PrintingPromptService.cpp:
* embed/mozilla/mozilla-embed-single.cpp:
* embed/mozilla/mozilla-embed.cpp:
* embed/print-dialog.c: (ephy_print_get_print_info),
(ephy_print_dialog_response_cb),
(ephy_print_setup_dialog_help_button_cb), (ephy_print_dialog_new):
* embed/print-dialog.h:
* src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize),
(ephy_shell_get_prefs_dialog):
* src/ephy-shell.h:
* src/ephy-window.c: (ephy_window_delete_event_cb),
(ephy_window_finalize), (update_embed_dialogs), (ephy_window_find):
* src/ppview-toolbar.c: (toolbar_cmd_ppv_close):
* src/window-commands.c: (window_cmd_file_print_setup),
(window_cmd_file_print_preview), (window_cmd_file_print):
Make print and print setup go trough nsIPrintingPromptService
(backported from HEAD).
Diffstat (limited to 'embed/print-dialog.h')
-rw-r--r-- | embed/print-dialog.h | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/embed/print-dialog.h b/embed/print-dialog.h index f7801d8f5..81a5d5f24 100644 --- a/embed/print-dialog.h +++ b/embed/print-dialog.h @@ -31,9 +31,44 @@ G_BEGIN_DECLS +typedef struct +{ + gboolean print_to_file; + char *printer; + char *file; + char *paper; + int top_margin; + int bottom_margin; + int left_margin; + int right_margin; + int pages; + int from_page; + int to_page; + int frame_type; + int orientation; + gboolean print_color; + + /* + * &T - title + * &U - Document URL + * &D - Date/Time + * &P - Page Number + * &PT - Page Number with total Number of Pages (example: 1 of 34) + * + * So, if headerLeftStr = "&T" the title and the document URL + * will be printed out on the top left-hand side of each page. + */ + char *header_left_string; + char *header_center_string; + char *header_right_string; + char *footer_left_string; + char *footer_center_string; + char *footer_right_string; +} +EmbedPrintInfo; + EphyDialog *ephy_print_dialog_new (GtkWidget *parent, - EphyEmbed *embed, - gboolean only_collect_info); + EphyEmbed *embed); EphyDialog *ephy_print_setup_dialog_new (void); |