diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2005-01-05 15:10:04 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-01-05 15:10:04 (GMT) |
commit | 9c1e6ba4d99cb7f937b2b3998814a7486b88c4ce (patch) | |
tree | 8ffa6e82aa7437c6c777a75bdc950b199b28cb27 /backend/ev-document.c | |
parent | c65e82ff717a6abb0474ab13e282a3ed6dafc5f7 (diff) |
Beginnings of clipboard support. Incomplete but primary sort of work.
2005-01-05 Marco Pesenti Gritti <marco@gnome.org>
* backend/ev-document.c: (ev_document_get_text):
* backend/ev-document.h:
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (ev_view_realize), (expose_bin_window),
(ev_view_primary_get_cb), (ev_view_primary_clear_cb),
(ev_view_update_primary_selection), (ev_view_button_press_event),
(ev_view_motion_notify_event), (ev_view_button_release_event):
Beginnings of clipboard support. Incomplete but primary sort
of work.
Diffstat (limited to 'backend/ev-document.c')
-rw-r--r-- | backend/ev-document.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backend/ev-document.c b/backend/ev-document.c index 2306a21..f007546 100644 --- a/backend/ev-document.c +++ b/backend/ev-document.c @@ -161,6 +161,14 @@ ev_document_get_page_size (EvDocument *document, iface->get_page_size (document, width, height); } +char * +ev_document_get_text (EvDocument *document, + GdkRectangle *rect) +{ + EvDocumentIface *iface = EV_DOCUMENT_GET_IFACE (document); + return iface->get_text (document, rect); +} + void ev_document_render (EvDocument *document, int clip_x, |