X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=backend%2Fev-link.h;h=c014c0102ca0fa86b417085e872b7e4904f53207;hb=b66c8a73177b462aebcb6e495341807abb31a93f;hp=8ee8429494eb8f435bb9272cad45b40cdabeb3e3;hpb=9f8ec2d921de1c31da212c8486ab2bda85d51bf9;p=evince.git diff --git a/backend/ev-link.h b/backend/ev-link.h index 8ee84294..c014c010 100644 --- a/backend/ev-link.h +++ b/backend/ev-link.h @@ -44,6 +44,10 @@ 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_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 */ @@ -60,6 +64,20 @@ 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_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, const char *uri); @@ -69,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 */