1 /* AbiSource
2  *
3  * Copyright (C) 2002 Dom Lachowicz <cinamod@hotmail.com>
4  * Copyright (C) 2004 Robert Staudinger <robsta@stereolyzer.net>
5  *
6  * Copyright (C) 2005 INdT
7  * Author: Daniel d'Andrada T. de Carvalho <daniel.carvalho@indt.org.br>
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
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., 51 Franklin Street, Fifth Floor, Boston, MA
22  * 02110-1301 USA.
23  */
24 
25 #ifndef _ODE_PICTURESWRITER_H_
26 #define _ODE_PICTURESWRITER_H_
27 
28 // External includes
29 #include <gsf/gsf-output-stdio.h>
30 #include <gsf/gsf-outfile.h>
31 
32 // Abiword classes
33 class PD_Document;
34 
35 
36 /**
37  * Class holding 1 static member. Its sole duty is to write
38  * out any pictures from inside the Abi document to the
39  * ODT pictures directory
40  */
41 class ODe_PicturesWriter {
42 public:
43     static bool writePictures(PD_Document* pDoc, GsfOutfile* pODT);
44 };
45 
46 #endif //_ODE_PICTURESWRITER_H_
47