aboutsummaryrefslogtreecommitdiffstats
path: root/embed/print-dialog.h
diff options
context:
space:
mode:
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);