summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation/xslt.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-09-12 06:36:45 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-09-12 06:36:45 +0000
commitb9e37b43a781dc712ee6b17cc20eb985c9080fd7 (patch)
treeb2545183bfc4cd56b50a5e0e9724b2c533872e74 /src/extension/implementation/xslt.h
parentr16524@tres: ted | 2007-09-11 20:49:10 -0700 (diff)
downloadinkscape-b9e37b43a781dc712ee6b17cc20eb985c9080fd7.tar.gz
inkscape-b9e37b43a781dc712ee6b17cc20eb985c9080fd7.zip
r16525@tres: ted | 2007-09-11 20:49:47 -0700
Adding in code to XSLT. (bzr r3729)
Diffstat (limited to 'src/extension/implementation/xslt.h')
-rw-r--r--src/extension/implementation/xslt.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/extension/implementation/xslt.h b/src/extension/implementation/xslt.h
index 822f4010e..45befb529 100644
--- a/src/extension/implementation/xslt.h
+++ b/src/extension/implementation/xslt.h
@@ -4,7 +4,7 @@
* Authors:
* Ted Gould <ted@gould.cx>
*
- * Copyright (C) 2006 Authors
+ * Copyright (C) 2006-2007 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
@@ -14,6 +14,10 @@
#include "implementation.h"
+#include "libxml/tree.h"
+#include "libxslt/xslt.h"
+#include "libxslt/xsltInternals.h"
+
namespace Inkscape {
namespace XML {
class Node;
@@ -27,10 +31,22 @@ namespace Implementation {
class XSLT : public Implementation {
private:
+ std::string _filename;
+ xmlDocPtr _parsedDoc;
+ xsltStylesheetPtr _stylesheet;
+ Glib::ustring solve_reldir(Inkscape::XML::Node *reprin);
public:
XSLT (void);
+ bool load(Inkscape::Extension::Extension *module);
+ void unload(Inkscape::Extension::Extension *module);
+
+ bool check(Inkscape::Extension::Extension *module);
+
+ SPDocument *open(Inkscape::Extension::Input *module,
+ gchar const *filename);
+ void save(Inkscape::Extension::Output *module, SPDocument *doc, gchar const *filename);
};
} /* Inkscape */