Code

Pot and Dutch translation update
[inkscape.git] / src / extension / internal / cairo-ps-out.h
1 /*
2  * A quick hack to use the print output to write out a file.  This
3  * then makes 'save as...' PS.
4  *
5  * Authors:
6  *   Ted Gould <ted@gould.cx>
7  *   Ulf Erikson <ulferikson@users.sf.net>
8  *   Adib Taraben <theAdib@yahoo.com>
9  *
10  * Copyright (C) 2004-2006 Authors
11  *
12  * Released under GNU GPL, read the file 'COPYING' for more information
13  */
15 #ifndef EXTENSION_INTERNAL_CAIRO_PS_OUT_H
16 #define EXTENSION_INTERNAL_CAIRO_PS_OUT_H
18 #include "extension/implementation/implementation.h"
20 #ifdef HAVE_CAIRO_PDF
22 namespace Inkscape {
23 namespace Extension {
24 namespace Internal {
26 class CairoPsOutput : Inkscape::Extension::Implementation::Implementation {
28 public:
29     bool check(Inkscape::Extension::Extension *module);
30     void save(Inkscape::Extension::Output *mod,
31               SPDocument *doc,
32               gchar const *filename);
33     static void init();
34     bool textToPath(Inkscape::Extension::Print *ext);
36 };
38 class CairoEpsOutput : Inkscape::Extension::Implementation::Implementation {
40 public:
41     bool check(Inkscape::Extension::Extension *module);
42     void save(Inkscape::Extension::Output *mod,
43               SPDocument *doc,
44               gchar const *uri);
45     static void init();
46     bool textToPath(Inkscape::Extension::Print *ext);
48 };
50 } } }  /* namespace Inkscape, Extension, Implementation */
52 #endif /* HAVE_CAIRO_PDF */
54 #endif /* !EXTENSION_INTERNAL_CAIRO_PS_OUT_H */
56 /*
57   Local Variables:
58   mode:c++
59   c-file-style:"stroustrup"
60   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
61   indent-tabs-mode:nil
62   fill-column:99
63   End:
64 */
65 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :