| 1 |
/* pdftoepdf.h |
| 2 |
|
| 3 |
Copyright 1996-2006 Han The Thanh <[email protected]> |
| 4 |
Copyright 2006-2011 Taco Hoekwater <[email protected]> |
| 5 |
|
| 6 |
This file is part of LuaTeX. |
| 7 |
|
| 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. |
| 12 |
|
| 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. |
| 17 |
|
| 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/>. */ |
| 20 |
|
| 21 |
|
| 22 |
#ifndef PDFTOEPDF_H |
| 23 |
# define PDFTOEPDF_H |
| 24 |
|
| 25 |
# include "image.h" |
| 26 |
|
| 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 *, int suppress_optional_info); |
| 33 |
int write_epdf_object(PDF, image_dict *, int n); |
| 34 |
|
| 35 |
/* epdf.c --- this should go in an own header file */ |
| 36 |
|
| 37 |
extern void epdf_free(void); |
| 38 |
|
| 39 |
#endif /* PDFTOEPDF_H */ |