new parameter addspacechars
[swftools.git] / lib / pdf / XMLOutputDev.h
1 /* XMLOutputDev.h
2    
3    This file is part of swftools.
4
5    Swftools is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9
10    Swftools is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with swftools; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
18
19 #ifndef __xmloutputdev_h__
20 #define __xmloutputdev_h__
21
22 #include "OutputDev.h"
23 #include "TextOutputDev.h"
24
25 class XMLOutputDev: public TextOutputDev
26 {
27     public:
28         XMLOutputDev(char*filename);
29         virtual void startPage(int pageNum, GfxState *state, double x1,double y1,double x2,double y2);
30         virtual void endPage();
31         virtual ~XMLOutputDev();
32     private:
33         FILE*out;
34 };
35 #endif //__xmloutputdev_h__