Mon, 14 Dec 2009 16:00:58 +0000
add hgignore file
1 /*
2 * tumble: build a PDF file from image files
3 *
4 * PDF routines
5 * $Id: pdf_private.h,v 1.8 2003/03/14 00:24:37 eric Exp $
6 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation. Note that permission is
11 * not granted to redistribute this program under the terms of any
12 * other version of the General Public License.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
22 */
25 struct pdf_page
26 {
27 pdf_file_handle pdf_file;
28 struct pdf_obj *page_dict;
29 struct pdf_obj *media_box;
30 struct pdf_obj *procset;
31 struct pdf_obj *resources;
33 char last_XObject_name;
34 struct pdf_obj *XObject_dict;
35 };
38 struct pdf_pages
39 {
40 struct pdf_obj *pages_dict;
41 struct pdf_obj *kids;
42 struct pdf_obj *count;
43 };
46 struct pdf_file
47 {
48 FILE *f;
49 struct pdf_obj *first_ind_obj;
50 struct pdf_obj *last_ind_obj;
51 long int xref_offset;
52 struct pdf_obj *catalog;
53 struct pdf_obj *info;
54 struct pdf_pages *root;
55 struct pdf_bookmark *outline_root;
56 struct pdf_obj *trailer_dict;
57 struct pdf_name_tree *page_label_tree;
58 struct pdf_name_tree *name_tree_list;
59 };