~ubuntu-branches/ubuntu/saucy/luatex/saucy

« back to all changes in this revision

Viewing changes to source/texk/web2c/luatexdir/pdf/pdfannot.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2009-12-25 09:47:05 UTC
  • mfrom: (1.1.9 upstream) (4.2.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091225094705-y33rpflo8t4u9nag
Tags: 0.50.0-1
* new upstream release
* disable fix-hurd-ftbfs patch, included upstream
* disable upstram-fixes, included upstream
* disable ubuntu_libpoppler-0.11, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* pdfannot.h
 
2
 
 
3
   Copyright 2009 Taco Hoekwater <taco@luatex.org>
 
4
 
 
5
   This file is part of LuaTeX.
 
6
 
 
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.
 
11
 
 
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.
 
16
 
 
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/>. */
 
19
 
 
20
/* $Id: pdfannot.h 2772 2009-07-07 22:16:42Z hhenkel $ */
 
21
 
 
22
#ifndef PDFANNOT_H
 
23
#  define PDFANNOT_H
 
24
 
 
25
/* data structure of annotations; words 1..4 represent the coordinates of the annotation */
 
26
 
 
27
#  define obj_annot_ptr            obj_aux      /* pointer to corresponding whatsit node */
 
28
 
 
29
#  define set_pdf_annot_objnum(A,B) pdf_annot_objnum(A)=B
 
30
#  define set_pdf_annot_data(A,B) pdf_annot_data(A)=B
 
31
 
 
32
extern void do_annot(PDF pdf, halfword p, halfword parent_box, scaledpos cur);
 
33
extern void new_annot_whatsit(small_number w);
 
34
 
 
35
extern void scan_annot(PDF pdf);
 
36
 
 
37
#endif