Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/ev-poppler.cc
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-09-24 14:58:58 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-09-24 14:58:58 (GMT)
commitb66c8a73177b462aebcb6e495341807abb31a93f (patch)
treebb32ec8a34ad93cac427223819cebbcc988edd83 /pdf/ev-poppler.cc
parent72390e1fd5f031d564f18db414c18d082139f385 (diff)
Implement fitr links
2005-09-24 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-link.c: (ev_link_type_get_type), (ev_link_get_bottom), (ev_link_get_right), (ev_link_get_property), (ev_link_set_property), (ev_link_class_init), (ev_link_new_page_fitv), (ev_link_new_page_fitr): * backend/ev-link.h: * pdf/ev-poppler.cc: * shell/ev-view.c: (goto_fitr_link), (ev_view_goto_link): Implement fitr links
Diffstat (limited to 'pdf/ev-poppler.cc')
-rw-r--r--pdf/ev-poppler.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/pdf/ev-poppler.cc b/pdf/ev-poppler.cc
index 5e95943..30b5a72 100644
--- a/pdf/ev-poppler.cc
+++ b/pdf/ev-poppler.cc
@@ -734,7 +734,12 @@ ev_link_from_dest (PopplerAction *action)
action->goto_dest.dest->left);
break;
case POPPLER_DEST_FITR:
- unimplemented_dest = "POPPLER_DEST_FITR";
+ link = ev_link_new_page_fitr (action->any.title,
+ action->goto_dest.dest->page_num - 1,
+ action->goto_dest.dest->left,
+ action->goto_dest.dest->bottom,
+ action->goto_dest.dest->right,
+ action->goto_dest.dest->top);
break;
case POPPLER_DEST_FITB:
unimplemented_dest = "POPPLER_DEST_FITB";