~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/extension/implementation/xslt.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * Authors:
5
5
 *   Ted Gould <ted@gould.cx>
6
6
 *
7
 
 * Copyright (C) 2006 Authors
 
7
 * Copyright (C) 2006-2007 Authors
8
8
 *
9
9
 * Released under GNU GPL, read the file 'COPYING' for more information
10
10
 */
14
14
 
15
15
#include "implementation.h"
16
16
 
 
17
#include "libxml/tree.h"
 
18
#include "libxslt/xslt.h"
 
19
#include "libxslt/xsltInternals.h"
 
20
 
17
21
namespace Inkscape {
18
22
namespace XML {
19
23
class Node;
27
31
 
28
32
class XSLT : public Implementation {
29
33
private:
 
34
    std::string _filename;
 
35
    xmlDocPtr _parsedDoc;
 
36
    xsltStylesheetPtr _stylesheet;
30
37
 
 
38
    Glib::ustring solve_reldir(Inkscape::XML::Node *reprin);
31
39
public:
32
40
    XSLT (void);
33
41
 
 
42
    bool load(Inkscape::Extension::Extension *module);
 
43
    void unload(Inkscape::Extension::Extension *module);
 
44
 
 
45
    bool check(Inkscape::Extension::Extension *module);
 
46
 
 
47
    SPDocument *open(Inkscape::Extension::Input *module,
 
48
                     gchar const *filename);
 
49
    void save(Inkscape::Extension::Output *module, SPDocument *doc, gchar const *filename);
34
50
};
35
51
 
36
52
}  /* Inkscape  */