Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/ev-document.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2005-01-13 17:49:01 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-01-13 17:49:01 (GMT)
commite0ca7880392b3d064e55406f270e2f68779e3cdc (patch)
tree684585ef2bc8531c2471490ffb5b130b7cc34f23 /backend/ev-document.h
parentddc0ad5b3bd75a640ba362cdccde7449654bae61 (diff)
Add support for document links
2005-01-13 Marco Pesenti Gritti <marco@gnome.org> * backend/ev-document.c: (ev_document_get_link): * backend/ev-document.h: * pdf/xpdf/pdf-document.cc: * shell/ev-application.c: (ev_application_open): * shell/ev-application.h: * shell/ev-sidebar-links.c: (selection_changed_cb): * shell/ev-view.c: (ev_view_button_release_event), (go_to_link), (ev_view_go_to_link): Add support for document links
Diffstat (limited to 'backend/ev-document.h')
-rw-r--r--backend/ev-document.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/backend/ev-document.h b/backend/ev-document.h
index ebf60af..3616e43 100644
--- a/backend/ev-document.h
+++ b/backend/ev-document.h
@@ -26,6 +26,8 @@
#include <glib.h>
#include <gdk/gdk.h>
+#include "ev-link.h"
+
G_BEGIN_DECLS
#define EV_TYPE_DOCUMENT (ev_document_get_type ())
@@ -68,6 +70,9 @@ struct _EvDocumentIface
int *height);
char * (* get_text) (EvDocument *document,
GdkRectangle *rect);
+ EvLink * (* get_link) (EvDocument *document,
+ int x,
+ int y);
void (* render) (EvDocument *document,
int clip_x,
int clip_y,
@@ -100,6 +105,9 @@ void ev_document_get_page_size (EvDocument *document,
int *height);
char *ev_document_get_text (EvDocument *document,
GdkRectangle *rect);
+EvLink *ev_document_get_link (EvDocument *document,
+ int x,
+ int y);
void ev_document_render (EvDocument *document,
int clip_x,
int clip_y,