diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-09-19 14:34:15 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-09-19 14:34:15 (GMT) |
commit | b9aef17e3af39e3b9364a3e2a8d7fa56d735fc4c (patch) | |
tree | 4441760956b0557be853cc36bf89072ff0a05b85 /backend/ev-link.h | |
parent | 8469ab1bef22b59caa4c69293d8c42e2dd7ad6c6 (diff) |
Implement FIT and FITH links
2005-09-19 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_type_get_type),
(ev_link_new_page_xyz), (ev_link_new_page_fit),
(ev_link_new_page_fith):
* backend/ev-link.h:
* pdf/ev-poppler.cc:
* shell/ev-view.c: (goto_fith_link), (ev_view_goto_link):
Implement FIT and FITH links
Diffstat (limited to 'backend/ev-link.h')
-rw-r--r-- | backend/ev-link.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/ev-link.h b/backend/ev-link.h index 8ee8429..508e89d 100644 --- a/backend/ev-link.h +++ b/backend/ev-link.h @@ -44,6 +44,8 @@ typedef enum EV_LINK_TYPE_TITLE, EV_LINK_TYPE_PAGE, EV_LINK_TYPE_PAGE_XYZ, + EV_LINK_TYPE_PAGE_FIT, + EV_LINK_TYPE_PAGE_FITH, EV_LINK_TYPE_EXTERNAL_URI, /* We'll probably fill this in more as we support the other types of * links */ @@ -60,6 +62,11 @@ EvLink *ev_link_new_page_xyz (const char *title, double top, double left, double zoom); +EvLink *ev_link_new_page_fith (const char *title, + int page, + double top); +EvLink *ev_link_new_page_fit (const char *title, + int page); EvLink *ev_link_new_external (const char *title, const char *uri); |