summaryrefslogtreecommitdiff
path: root/gtk/gtkprintjob.h
diff options
context:
space:
mode:
authorMarek Kasik <mkasik@redhat.com>2009-05-13 18:28:42 +0200
committerMarek Kasik <mkasik@redhat.com>2009-05-13 18:28:42 +0200
commit91190ce281b562d0f37d8181d9766e09e3c57558 (patch)
treef526535d4239732c1f2a231740bc81f72b4e79d5 /gtk/gtkprintjob.h
parent26c10075f95268ed2d8dbfacadeb1cdc0f559da6 (diff)
downloadgtk+-91190ce281b562d0f37d8181d9766e09e3c57558.tar.gz
Add ability to print in number-up mode for file backend and lpr backend
GtkPrintOperation is now able to render multiple pages per sheet by its own. The most important changes are in these functions: * increment_page_sequence * prepare_data * common_render_page * print_pages_idle Patch also changes set of choices for 2 pages per sheet mode when landscape orientation is used to "Top to bottom" and "Bottom to top".
Diffstat (limited to 'gtk/gtkprintjob.h')
-rw-r--r--gtk/gtkprintjob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprintjob.h b/gtk/gtkprintjob.h
index 71ddfdc5ab..fd821840f9 100644
--- a/gtk/gtkprintjob.h
+++ b/gtk/gtkprintjob.h
@@ -66,6 +66,8 @@ struct _GtkPrintJob
guint GSEAL (rotate_to_orientation) : 1;
guint GSEAL (collate) : 1;
guint GSEAL (reverse) : 1;
+ guint GSEAL (number_up);
+ GtkNumberUpLayout GSEAL (number_up_layout);
};
struct _GtkPrintJobClass