diff options
author | Marco 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) |
commit | e0ca7880392b3d064e55406f270e2f68779e3cdc (patch) | |
tree | 684585ef2bc8531c2471490ffb5b130b7cc34f23 /backend/ev-document.c | |
parent | ddc0ad5b3bd75a640ba362cdccde7449654bae61 (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.c')
-rw-r--r-- | backend/ev-document.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/backend/ev-document.c b/backend/ev-document.c index f007546..a8de9a5 100644 --- a/backend/ev-document.c +++ b/backend/ev-document.c @@ -169,6 +169,15 @@ ev_document_get_text (EvDocument *document, return iface->get_text (document, rect); } +EvLink * +ev_document_get_link (EvDocument *document, + int x, + int y) +{ + EvDocumentIface *iface = EV_DOCUMENT_GET_IFACE (document); + return iface->get_link (document, x, y); +} + void ev_document_render (EvDocument *document, int clip_x, |