Code

Add new placeholder for ODF
[inkscape.git] / src / extension / internal / odf.h
1 /**\r
2  * OpenDocument <drawing> input and output\r
3  *\r
4  * This is an an entry in the extensions mechanism to begin to enable\r
5  * the inputting and outputting of OpenDocument Format (ODF) files from\r
6  * within Inkscape.  Although the initial implementations will be very lossy\r
7  * do to the differences in the models of SVG and ODF, they will hopefully\r
8  * improve greatly with time.\r
9  *\r
10  * http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/idl-definitions.html\r
11  *\r
12  * Authors:\r
13  *   Bob Jamison\r
14  *\r
15  * Copyright (C) 2006 Bob Jamison\r
16  *\r
17  *  This library is free software; you can redistribute it and/or\r
18  *  modify it under the terms of the GNU Lesser General Public\r
19  *  License as published by the Free Software Foundation; either\r
20  *  version 2.1 of the License, or (at your option) any later version.\r
21  *\r
22  *  This library is distributed in the hope that it will be useful,\r
23  *  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
24  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
25  *  Lesser General Public License for more details.\r
26  *\r
27  *  You should have received a copy of the GNU Lesser General Public\r
28  *  License along with this library; if not, write to the Free Software\r
29  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
30  */\r
31 \r
32 #ifndef EXTENSION_INTERNAL_ODG_OUT_H\r
33 #define EXTENSION_INTERNAL_ODG_OUT_H\r
34 \r
35 #include <glib.h>\r
36 #include "extension/implementation/implementation.h"\r
37 \r
38 namespace Inkscape\r
39 {\r
40 namespace Extension\r
41 {\r
42 namespace Internal\r
43 {\r
44 \r
45 \r
46 class OdfOutput : public Inkscape::Extension::Implementation::Implementation\r
47 {\r
48 \r
49     public:\r
50 \r
51         bool check (Inkscape::Extension::Extension * module);\r
52 \r
53         void          save  (Inkscape::Extension::Output *mod,\r
54                              SPDocument *doc,\r
55                              const gchar *uri);\r
56 \r
57         static void   init  (void);\r
58 \r
59 \r
60 };\r
61 \r
62 \r
63 \r
64 \r
65 }  //namespace Internal\r
66 }  //namespace Extension\r
67 }  //namespace Inkscape\r
68 \r
69 \r
70 \r
71 #endif /* EXTENSION_INTERNAL_ODG_OUT_H */\r
72 \r