]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-view-private.h
Enable print to a PDF. Fixes bug #332121.
[evince.git] / shell / ev-view-private.h
index 9a0c7731b64cbc6789342429754d49a54e0d7647..791256b8a6cf4071765d0aa86fd5160abb13d844 100644 (file)
@@ -43,8 +43,9 @@ typedef struct {
 
 typedef enum {
        SCROLL_TO_KEEP_POSITION,
-       SCROLL_TO_CURRENT_PAGE,
-       SCROLL_TO_CENTER
+       SCROLL_TO_PAGE_POSITION,
+       SCROLL_TO_CENTER,
+       SCROLL_TO_FIND_LOCATION,
 } PendingScroll;
 
 typedef enum {
@@ -64,6 +65,7 @@ struct _EvView {
        char *status;
        char *find_status;
        int find_result;
+       gboolean jump_to_find_result;
        
        EvPageCache *page_cache;
        EvPixbufCache *pixbuf_cache;
@@ -78,19 +80,20 @@ struct _EvView {
        gint scroll_y;  
 
        PendingScroll pending_scroll;
-       gboolean pending_resize;
+       gboolean      pending_resize;
+       EvPoint       pending_point;
 
        /* Current geometry */
     
        gint start_page;
        gint end_page;
        gint current_page;
-       gint find_page;
 
        int rotation;
        double scale;
        int spacing;
 
+       gboolean loading;
        gboolean continuous;
        gboolean dual_page;
        gboolean fullscreen;
@@ -123,10 +126,12 @@ struct _EvViewClass {
                                           GtkAdjustment  *hadjustment,
                                           GtkAdjustment  *vadjustment);
        void    (*binding_activated)      (EvView         *view,
-                                          GtkScrollType   scroll,
+                                          EvScrollType   scroll,
                                           gboolean        horizontal);
        void    (*zoom_invalid)           (EvView         *view);
        void    (*external_link)          (EvView         *view,
+                                          EvLinkAction   *action);
+       void    (*popup_menu)             (EvView         *view,
                                           EvLink         *link);
 };