Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
fix-broken-links.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
/*
3
* Manages external resources such as image and css files.
4
*
5
* Copyright 2011 Jon A. Cruz <jon@joncruz.org>
6
*
7
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
8
*/
9
10
#include <string>
11
#include <vector>
12
13
class
SPDocument
;
14
15
namespace
Inkscape
{
16
17
std::vector<std::string>
splitPath
( std::string
const
&path );
18
19
std::string
optimizePath
(std::string
const
&path, std::string
const
&base,
unsigned
int
parents = 2);
20
bool
fixBrokenLinks
(
SPDocument
*doc);
21
22
}
23
24
/*
25
Local Variables:
26
mode:c++
27
c-file-style:"stroustrup"
28
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
29
indent-tabs-mode:nil
30
fill-column:99
31
End:
32
*/
33
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
SPDocument
Typed SVG document implementation.
Definition
document.h:101
Inkscape
Helper class to stream background task notifications as a series of messages.
Definition
actions-canvas-snapping.h:27
Inkscape::splitPath
std::vector< std::string > splitPath(std::string const &path)
Definition
fix-broken-links.cpp:34
Inkscape::fixBrokenLinks
bool fixBrokenLinks(SPDocument *doc)
Definition
fix-broken-links.cpp:301
Inkscape::optimizePath
std::string optimizePath(std::string const &path, std::string const &base, unsigned int parents)
Convert an absolute path into a relative one if possible to do in the given number of parent steps.
Definition
fix-broken-links.cpp:67
src
io
fix-broken-links.h
Generated on Sun Jul 13 2025 04:02:16 for Inkscape by
1.9.8