summaryrefslogtreecommitdiffstats
path: root/src/xml/repr.h
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-03-07 01:18:06 +0000
committerishmal <ishmal@users.sourceforge.net>2008-03-07 01:18:06 +0000
commit9f8798be3216faff066b73de11b8174411cfb7d3 (patch)
tree3195fa410b7a00fc436e4522dc59c8fdec511bcb /src/xml/repr.h
parentUpdating version (diff)
downloadinkscape-9f8798be3216faff066b73de11b8174411cfb7d3.tar.gz
inkscape-9f8798be3216faff066b73de11b8174411cfb7d3.zip
export sp_repr_write_stream()
(bzr r4980)
Diffstat (limited to 'src/xml/repr.h')
-rw-r--r--src/xml/repr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xml/repr.h b/src/xml/repr.h
index aab96a617..56b37ebe2 100644
--- a/src/xml/repr.h
+++ b/src/xml/repr.h
@@ -20,6 +20,7 @@
#include "xml/node.h"
#include "xml/document.h"
#include "xml/sp-css-attr.h"
+#include "io/inkscapestream.h"
#include <2geom/point.h>
@@ -177,6 +178,9 @@ inline Inkscape::XML::Node *sp_repr_next(Inkscape::XML::Node *repr) {
Inkscape::XML::Document *sp_repr_read_file(gchar const *filename, gchar const *default_ns);
Inkscape::XML::Document *sp_repr_read_mem(gchar const *buffer, int length, gchar const *default_ns);
+void sp_repr_write_stream (Inkscape::XML::Node *repr, Inkscape::IO::Writer &out,
+ gint indent_level, bool add_whitespace, Glib::QueryQuark elide_prefix,
+ int inlineattrs, int indent);
void sp_repr_save_stream(Inkscape::XML::Document *doc, FILE *to_file, gchar const *default_ns=NULL, bool compress = false);
bool sp_repr_save_file(Inkscape::XML::Document *doc, gchar const *filename, gchar const *default_ns=NULL);