summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bcbdc99)
raw | patch | inline | side by side (parent: bcbdc99)
author | ishmal <ishmal@users.sourceforge.net> | |
Fri, 7 Mar 2008 01:18:06 +0000 (01:18 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Fri, 7 Mar 2008 01:18:06 +0000 (01:18 +0000) |
src/xml/repr-io.cpp | patch | blob | history | |
src/xml/repr.h | patch | blob | history |
diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp
index 8f149a130368676d3d57212499d0dad55b9e8c04..28e7c4f21ef6d7f48aa4ef6452fb89c6c38b1f0c 100644 (file)
--- a/src/xml/repr-io.cpp
+++ b/src/xml/repr-io.cpp
static Node *sp_repr_svg_read_node (Document *xml_doc, xmlNodePtr node, const gchar *default_ns, GHashTable *prefix_map);
static gint sp_repr_qualified_name (gchar *p, gint len, xmlNsPtr ns, const xmlChar *name, const gchar *default_ns, GHashTable *prefix_map);
static void sp_repr_write_stream_root_element (Node *repr, Writer &out, bool add_whitespace, gchar const *default_ns, int inlineattrs, int indent);
-static void sp_repr_write_stream (Node *repr, Writer &out, gint indent_level, bool add_whitespace, Glib::QueryQuark elide_prefix, int inlineattrs, int indent);
static void sp_repr_write_stream_element (Node *repr, Writer &out, gint indent_level, bool add_whitespace, Glib::QueryQuark elide_prefix, List<AttributeRecord const> attributes, int inlineattrs, int indent);
#ifdef HAVE_LIBWMF
diff --git a/src/xml/repr.h b/src/xml/repr.h
index aab96a6176cfbfae92a8daa32621aa5564d48678..56b37ebe26739ef600210c2b07c81ef7ac485248 100644 (file)
--- a/src/xml/repr.h
+++ b/src/xml/repr.h
#include "xml/node.h"
#include "xml/document.h"
#include "xml/sp-css-attr.h"
+#include "io/inkscapestream.h"
#include <2geom/point.h>
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);