Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/ev-link.h
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 /backend/ev-link.h
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 'backend/ev-link.h')
-rw-r--r--backend/ev-link.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/backend/ev-link.h b/backend/ev-link.h
index 86b3cc2..c014c01 100644
--- a/backend/ev-link.h
+++ b/backend/ev-link.h
@@ -47,6 +47,7 @@ typedef enum
EV_LINK_TYPE_PAGE_FIT,
EV_LINK_TYPE_PAGE_FITH,
EV_LINK_TYPE_PAGE_FITV,
+ EV_LINK_TYPE_PAGE_FITR,
EV_LINK_TYPE_EXTERNAL_URI,
/* We'll probably fill this in more as we support the other types of
* links */
@@ -69,6 +70,12 @@ EvLink *ev_link_new_page_fith (const char *title,
EvLink *ev_link_new_page_fitv (const char *title,
int page,
double left);
+EvLink *ev_link_new_page_fitr (const char *title,
+ int page,
+ double left,
+ double bottom,
+ double right,
+ double top);
EvLink *ev_link_new_page_fit (const char *title,
int page);
EvLink *ev_link_new_external (const char *title,
@@ -80,6 +87,8 @@ EvLinkType ev_link_get_link_type (EvLink *link);
int ev_link_get_page (EvLink *link);
double ev_link_get_top (EvLink *link);
double ev_link_get_left (EvLink *link);
+double ev_link_get_bottom (EvLink *link);
+double ev_link_get_right (EvLink *link);
double ev_link_get_zoom (EvLink *link);
/* Link Mapping stuff */