beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / image / pdftoepdf.h
blob12d15121017cead3e718d0af75b7f55b1ad235c1
1 /* pdftoepdf.h
3 Copyright 1996-2006 Han The Thanh <thanh@pdftex.org>
4 Copyright 2006-2011 Taco Hoekwater <taco@luatex.org>
6 This file is part of LuaTeX.
8 LuaTeX is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2 of the License, or (at your
11 option) any later version.
13 LuaTeX is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16 License for more details.
18 You should have received a copy of the GNU General Public License along
19 with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
22 #ifndef PDFTOEPDF_H
23 # define PDFTOEPDF_H
25 # include "image.h"
27 void read_pdf_info(image_dict *);
28 void flush_pdf_info(image_dict *);
29 /* flush_pdfstream_info(image_dict *); */ /* somehow doesn't work due to xfree macro */
30 void unrefPdfDocument(char *);
31 void unrefMemStreamPdfDocument(char *);
32 void write_epdf(PDF, image_dict *);
33 void epdf_check_mem(void);
34 void copyReal(PDF pdf, double d);
36 int poppler_version_major(void);
37 int poppler_version_minor(void);
38 int poppler_version_micro(void);
40 /* epdf.c --- this should go in an own header file */
42 extern void epdf_free(void);
44 #endif /* PDFTOEPDF_H */