#include "ev-document.h"
#include "ev-link.h"
-#include "ev-history.h"
G_BEGIN_DECLS
GtkWidget* ev_view_new (void);
void ev_view_set_document (EvView *view,
EvDocument *document);
-void ev_view_set_history (EvView *view,
- EvHistory *history);
/* Clipboard */
void ev_view_copy (EvView *view);
void ev_view_select_all (EvView *view);
-/* Navigation */
-void ev_view_go_back (EvView *view);
-void ev_view_go_forward (EvView *view);
-void ev_view_go_to_link (EvView *view,
- EvLink *link);
-void ev_view_set_page (EvView *view,
- int page);
-int ev_view_get_page (EvView *view);
-
/* Page size */
+gboolean ev_view_can_zoom_in (EvView *view);
void ev_view_zoom_in (EvView *view);
+gboolean ev_view_can_zoom_out (EvView *view);
void ev_view_zoom_out (EvView *view);
-void ev_view_normal_size (EvView *view);
-void ev_view_best_fit (EvView *view);
-void ev_view_fit_width (EvView *view);
+void ev_view_zoom_normal (EvView *view);
+void ev_view_set_size (EvView *view,
+ int width,
+ int height);
+void ev_view_set_spacing (EvView *view,
+ int spacing);
+void ev_view_set_show_border (EvView *view,
+ gboolean show_border);
+
+/* Find */
+gboolean ev_view_can_find_next (EvView *view);
+void ev_view_find_next (EvView *view);
+void ev_view_find_previous (EvView *view);
/* Status */
const char *ev_view_get_status (EvView *view);
const char *ev_view_get_find_status (EvView *view);
+/* Cursor */
+void ev_view_hide_cursor (EvView *view);
+void ev_view_show_cursor (EvView *view);
+
G_END_DECLS
#endif /* __EV_VIEW_H__ */