added font2swf
[swftools.git] / pdf2swf / SWFOutputDev.h
1 /* pdfswf.h
2    Header file for pdfswf.cc.
3
4    Part of the swftools package.
5
6    Copyright (c) 2001 Matthias Kramm <kramm@quiss.org> 
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 as published by
10    the Free Software Foundation; either version 2 of the License, or
11    (at your option) any later version.
12
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
21
22 #ifndef __pdf_h__
23 #define __pdf_h__
24 void pdfswf_init(char*filename, char*userPassword) ;
25
26 void pdfswf_setparameter(char*name, char*value);
27
28 void pdfswf_setoutputfilename(char*filename);
29 void pdfswf_drawonlyshapes();
30 void pdfswf_enablezlib();
31 void pdfswf_ignoredraworder();
32 void pdfswf_linksopennewwindow();
33 void pdfswf_jpegquality(int);
34 void pdfswf_performconversion();
35 void pdfswf_storeallcharacters();
36 void pdfswf_insertstop();
37 void pdfswf_setversion(int);
38
39
40 int pdfswf_numpages();
41 void pdfswf_convertpage(int page) ;
42 void pdfswf_close();
43 #endif //__pdf_h__