diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-03-07 01:18:06 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-03-07 01:18:06 +0000 |
| commit | 9f8798be3216faff066b73de11b8174411cfb7d3 (patch) | |
| tree | 3195fa410b7a00fc436e4522dc59c8fdec511bcb /src/xml | |
| parent | Updating version (diff) | |
| download | inkscape-9f8798be3216faff066b73de11b8174411cfb7d3.tar.gz inkscape-9f8798be3216faff066b73de11b8174411cfb7d3.zip | |
export sp_repr_write_stream()
(bzr r4980)
Diffstat (limited to 'src/xml')
| -rw-r--r-- | src/xml/repr-io.cpp | 1 | ||||
| -rw-r--r-- | src/xml/repr.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index 8f149a130..28e7c4f21 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -42,7 +42,6 @@ Document *sp_repr_do_read (xmlDocPtr doc, const gchar *default_ns); 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 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); |
