X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-jobs.h;h=6d7e95bf4a5d68e7abd7482ee8baa3bf096844b6;hb=982600bbceb76a22d5c7b3e0cbe6e20421105ad6;hp=052319898c7c0223eb755f214252b616a332dc69;hpb=6426ce3672bf190ab39d9c49c841232c127d174f;p=evince.git diff --git a/shell/ev-jobs.h b/shell/ev-jobs.h index 05231989..6d7e95bf 100644 --- a/shell/ev-jobs.h +++ b/shell/ev-jobs.h @@ -23,6 +23,8 @@ #include #include "ev-document.h" #include "ev-window.h" +#include "ev-file-exporter.h" +#include "ev-selection.h" G_BEGIN_DECLS @@ -119,6 +121,7 @@ struct _EvJobRender EvJob parent; EvRenderContext *rc; + gboolean page_ready; gint target_width; gint target_height; cairo_surface_t *surface; @@ -131,6 +134,7 @@ struct _EvJobRender cairo_surface_t *selection; GdkRegion *selection_region; EvRectangle selection_points; + EvSelectionStyle selection_style; GdkColor base; GdkColor text; @@ -144,6 +148,8 @@ struct _EvJobRender struct _EvJobRenderClass { EvJobClass parent_class; + + void (* page_ready) (EvJobRender *job); }; struct _EvJobThumbnail @@ -196,10 +202,12 @@ struct _EvJobPrint gint n_ranges; EvPrintPageSet page_set; gint copies; + gint pages_per_sheet; gboolean collate; gboolean reverse; gdouble width; gdouble height; + EvFileExporterOrientation orientation; }; struct _EvJobPrintClass @@ -223,6 +231,7 @@ EvJob *ev_job_render_new (EvDocument *document, gint width, gint height, EvRectangle *selection_points, + EvSelectionStyle selection_style, GdkColor *text, GdkColor *base, gboolean include_forms, @@ -258,9 +267,11 @@ EvJob *ev_job_print_new (EvDocument *document, const gchar *format, gdouble width, gdouble height, + EvFileExporterOrientation orientation, EvPrintRange *ranges, gint n_ranges, EvPrintPageSet page_set, + gint pages_per_sheet, gint copies, gdouble collate, gdouble reverse);