aboutsummaryrefslogtreecommitdiffstats
path: root/embed/print-dialog.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-06-26 03:13:39 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-06-26 03:13:39 +0800
commit528f2c2ef23b88a57a8725986ccb9a45bdd98180 (patch)
tree49b6a3246bf8489a4ec7d391db2571307f199dd5 /embed/print-dialog.h
parent285a8e2322d2a8f612e0f8e7b2f923f96af9bf3a (diff)
downloadgsoc2013-epiphany-528f2c2ef23b88a57a8725986ccb9a45bdd98180.tar
gsoc2013-epiphany-528f2c2ef23b88a57a8725986ccb9a45bdd98180.tar.gz
gsoc2013-epiphany-528f2c2ef23b88a57a8725986ccb9a45bdd98180.tar.bz2
gsoc2013-epiphany-528f2c2ef23b88a57a8725986ccb9a45bdd98180.tar.lz
gsoc2013-epiphany-528f2c2ef23b88a57a8725986ccb9a45bdd98180.tar.xz
gsoc2013-epiphany-528f2c2ef23b88a57a8725986ccb9a45bdd98180.tar.zst
gsoc2013-epiphany-528f2c2ef23b88a57a8725986ccb9a45bdd98180.zip
Move PrintInfo to print-dialog since it's no more use by embed api.
2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * embed/mozilla/MozillaPrivate.h: * embed/print-dialog.h: Move PrintInfo to print-dialog since it's no more use by embed api.
Diffstat (limited to 'embed/print-dialog.h')
-rw-r--r--embed/print-dialog.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/embed/print-dialog.h b/embed/print-dialog.h
index 000a76154..81a5d5f24 100644
--- a/embed/print-dialog.h
+++ b/embed/print-dialog.h
@@ -31,6 +31,42 @@
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);