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:
authorJonathan Blandford <jrb@src.gnome.org>2005-03-31 18:43:05 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-03-31 18:43:05 (GMT)
commit03ad9a29cbe1a89dfc5e8b94a74f6f86c4cba076 (patch)
tree9a2b40848e7f657691fd682673d71189301b676e /backend/ev-document.h
parente8096c18ba580156072e8c84103bee6f6d3f0bfc (diff)
Cr 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com>
Cr 31 13:27:50 2005 Jonathan Blandford <jrb@redhat.com> * backend/ev-document.c: (ev_document_get_page_label): * backend/ev-document.h: * backend/ev-page-cache.c: (_ev_page_cache_new), (ev_page_cache_get_page_label): * backend/ev-page-cache.h: * pdf/ev-poppler.cc: * shell/ev-sidebar-links.c: (ev_sidebar_links_construct), (links_page_num_func): * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_set_document): * shell/ev-view.c: (status_message_from_link), (ev_view_motion_notify_event): * shell/ev-window.c: (document_supports_sidebar): Add in page label support. It's not perfect yet, but it's the first 'feature' in a while. Also, fix a bogus comment noticed by crispin. VS: Modified Files:
Diffstat (limited to 'backend/ev-document.h')
-rw-r--r--backend/ev-document.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/ev-document.h b/backend/ev-document.h
index 15b2cc9..e5c91b7 100644
--- a/backend/ev-document.h
+++ b/backend/ev-document.h
@@ -79,6 +79,8 @@ struct _EvDocumentIface
int page,
int *width,
int *height);
+ char * (* get_page_label) (EvDocument *document,
+ int page);
char * (* get_text) (EvDocument *document,
GdkRectangle *rect);
EvLink * (* get_link) (EvDocument *document,
@@ -111,6 +113,8 @@ void ev_document_get_page_size (EvDocument *document,
int page,
int *width,
int *height);
+char *ev_document_get_page_label(EvDocument *document,
+ int page);
char *ev_document_get_text (EvDocument *document,
GdkRectangle *rect);
EvLink *ev_document_get_link (EvDocument *document,