summaryrefslogtreecommitdiffstats
path: root/src/xml/rebase-hrefs.h
blob: b4f288c4dfcc47830fa415b5a20e15eb1fab0d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef REBASE_HREFS_H_SEEN
#define REBASE_HREFS_H_SEEN

#include <glib/gtypes.h>
#include "util/list.h"
#include "xml/attribute-record.h"
struct SPDocument;

namespace Inkscape {
namespace XML {

gchar *calc_abs_doc_base(gchar const *doc_base);

void rebase_hrefs(SPDocument *doc, gchar const *new_base, bool spns);

Inkscape::Util::List<AttributeRecord const> rebase_href_attrs(
    gchar const *old_abs_base,
    gchar const *new_abs_base,
    Inkscape::Util::List<AttributeRecord const> attributes);

}
}


#endif /* !REBASE_HREFS_H_SEEN */

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vi: set autoindent shiftwidth=4 tabstop=8 filetype=cpp expandtab softtabstop=4 encoding=utf-8 textwidth=99 :