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=fc681d371a2ec43d3eead18ab954d4f8b51bb562;hpb=217797d63b2d3b1c9a7a0511af1bbf3d99f0d482;p=evince.git diff --git a/shell/ev-jobs.h b/shell/ev-jobs.h index fc681d37..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; @@ -126,13 +129,16 @@ struct _EvJobRender GList *link_mapping; GdkRegion *text_mapping; GList *image_mapping; + GList *form_field_mapping; cairo_surface_t *selection; GdkRegion *selection_region; EvRectangle selection_points; + EvSelectionStyle selection_style; GdkColor base; GdkColor text; + gint include_forms : 1; gint include_links : 1; gint include_text : 1; gint include_selection : 1; @@ -142,6 +148,8 @@ struct _EvJobRender struct _EvJobRenderClass { EvJobClass parent_class; + + void (* page_ready) (EvJobRender *job); }; struct _EvJobThumbnail @@ -194,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 @@ -221,8 +231,10 @@ EvJob *ev_job_render_new (EvDocument *document, gint width, gint height, EvRectangle *selection_points, + EvSelectionStyle selection_style, GdkColor *text, GdkColor *base, + gboolean include_forms, gboolean include_links, gboolean include_images, gboolean include_text, @@ -255,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);