beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / pdf / pdflink.h
blob5b3d2042a80b5e692ea880f7e1b0e6e898035f2b
1 /* pdflink.h
3 Copyright 2009 Taco Hoekwater <taco@luatex.org>
5 This file is part of LuaTeX.
7 LuaTeX is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2 of the License, or (at your
10 option) any later version.
12 LuaTeX is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 License for more details.
17 You should have received a copy of the GNU General Public License along
18 with LuaTeX; if not, see <http://www.gnu.org/licenses/>.
21 #ifndef PDFLINK_H
22 # define PDFLINK_H
24 # define set_pdf_link_attr(A,B) pdf_link_attr(A)=B
25 # define set_pdf_link_action(A,B) pdf_link_action(A)=B
26 # define set_pdf_link_objnum(A,B) pdf_link_objnum(A)=B
28 extern void push_link_level(PDF pdf, halfword p);
29 extern void pop_link_level(PDF pdf);
30 extern void do_link(PDF pdf, halfword p, halfword parent_box, scaledpos cur);
31 extern void end_link(PDF pdf, halfword p);
32 extern void append_link(PDF pdf, halfword parent_box, scaledpos cur, small_number i);
33 extern void scan_startlink(PDF pdf);
36 #endif