]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-jobs.h
Use always drag mouse cursor during a drag operation. Fixes bug #470564.
[evince.git] / shell / ev-jobs.h
index 1f210ece96ab99aa7ee728f3f5780d449531a029..084ed6c0e109ada7740156c61944d9e4fae24f11 100644 (file)
@@ -23,6 +23,7 @@
 #include <gtk/gtk.h>
 #include "ev-document.h"
 #include "ev-window.h"
+#include "ev-selection.h"
 
 G_BEGIN_DECLS
 
@@ -119,20 +120,24 @@ struct _EvJobRender
        EvJob parent;
 
        EvRenderContext *rc;
+       gboolean page_ready;
        gint target_width;
        gint target_height;
-       GdkPixbuf *pixbuf;
+       cairo_surface_t *surface;
 
        GList *link_mapping;
        GdkRegion *text_mapping;
        GList *image_mapping;
+       GList *form_field_mapping;
 
-       GdkPixbuf *selection;
+       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 +147,8 @@ struct _EvJobRender
 struct _EvJobRenderClass
 {
        EvJobClass parent_class;
+
+       void    (* page_ready) (EvJobRender *job);
 };
 
 struct _EvJobThumbnail
@@ -194,6 +201,7 @@ struct _EvJobPrint
        gint n_ranges;
        EvPrintPageSet page_set;
        gint copies;
+       gint pages_per_sheet;
        gboolean collate;
        gboolean reverse;
        gdouble width;
@@ -221,8 +229,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,
@@ -258,6 +268,7 @@ EvJob          *ev_job_print_new          (EvDocument      *document,
                                           EvPrintRange    *ranges,
                                           gint             n_ranges,
                                           EvPrintPageSet   page_set,
+                                          gint             pages_per_sheet,
                                           gint             copies,
                                           gdouble          collate,
                                           gdouble          reverse);