X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2Fev-view.h;h=307793a1e3b437427059718b85b195cb86ce4e54;hb=8aee99a80b90082b339695e848cf03e8fbf4f6b2;hp=135917278045ce29f7b55cc084f65aec92484dc0;hpb=5e7facafcce547222476061e8a160090356e99aa;p=evince.git diff --git a/libview/ev-view.h b/libview/ev-view.h index 13591727..307793a1 100644 --- a/libview/ev-view.h +++ b/libview/ev-view.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) @@ -44,14 +44,16 @@ typedef enum { EV_VIEW_SELECTION_RECTANGLE, } EvViewSelectionMode; -GType ev_view_get_type (void) G_GNUC_CONST; +GType ev_view_get_type (void) G_GNUC_CONST; -GtkWidget* ev_view_new (void); -void ev_view_set_model (EvView *view, - EvDocumentModel *model); -void ev_view_set_loading (EvView *view, - gboolean loading); -void ev_view_reload (EvView *view); +GtkWidget* ev_view_new (void); +void ev_view_set_model (EvView *view, + EvDocumentModel *model); +void ev_view_set_loading (EvView *view, + gboolean loading); +void ev_view_reload (EvView *view); +void ev_view_set_page_cache_size (EvView *view, + gsize cache_size); /* Clipboard */ void ev_view_copy (EvView *view); @@ -60,14 +62,6 @@ void ev_view_copy_link_address (EvView *view, void ev_view_select_all (EvView *view); gboolean ev_view_get_has_selection (EvView *view); -/* sizing and behavior */ -/* These are all orthoganal to each other, except 'presentation' trumps all - * other behaviors - */ -void ev_view_set_presentation (EvView *view, - gboolean presentation); -gboolean ev_view_get_presentation (EvView *view); - /* Page size */ gboolean ev_view_can_zoom_in (EvView *view); void ev_view_zoom_in (EvView *view); @@ -101,6 +95,11 @@ gboolean ev_view_previous_page (EvView *view); void ev_view_autoscroll_start (EvView *view); void ev_view_autoscroll_stop (EvView *view); +gboolean ev_view_get_page_extents (EvView *view, + gint page, + GdkRectangle *page_area, + GtkBorder *border); + G_END_DECLS #endif /* __EV_VIEW_H__ */