summaryrefslogtreecommitdiffstats
path: root/src/xml/rebase-hrefs.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* patch from 416549bulia byak2009-08-231-0/+3
| | | (bzr r8522)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-4/+4
| | | | | which cannot be fixed easily. (bzr r8422)
* xml/Document -> DocumentTreejohnce2009-08-051-4/+4
| | | (bzr r8417)
* SPDocument->Documentjohnce2009-08-051-1/+1
| | | (bzr r8405)
* Fix #358704 that I introduced with r21075.Peter Moulder2009-04-181-1/+1
| | | (bzr r7733)
* Move Inkscape::IO::fixupHrefs to Inkscape::XML::rebase_hrefs in new file ↵Peter Moulder2009-04-071-0/+281
xml/rebase-hrefs.*. Give it the old and new base directory, so that it can change hrefs without relying on sodipodi:absref. Also create a new function sp_repr_save_rebased_file that changes all xlink:href attributes as it writes them, so that we don't need to modify the owning document. (Especially useful for "Save a copy" or exporting.) extension/system.cpp: (Inkscape::Extension::save): Don't call sp_document_set_uri even temporarily other than at the same time as calling rebase_hrefs. (Otherwise, existing relative hrefs will point nowhere.) When exporting plain SVG, change the relative hrefs according to the destination filename. (bzr r7643)