Lines Matching refs:href
78 static Inkscape::Pixbuf *sp_image_repr_read_image(gchar const *href, gchar const *absref, gchar const *base );
126 this->href = 0;
139 this->readAttr( "xlink:href" );
157 if (this->href) {
158 g_free (this->href);
159 this->href = NULL;
182 g_free (this->href);
183 this->href = (value) ? g_strdup (value) : NULL;
337 if (this->href) {
340 this->getRepr()->attribute("xlink:href"),
443 repr->setAttribute("xlink:href", this->href);
515 if (this->href) {
516 href_desc = (strncmp(this->href, "data:", 5) == 0)
518 : xml_quote_strdup(this->href);
542 Inkscape::Pixbuf *sp_image_repr_read_image(gchar const *href, gchar const *absref, gchar const *base)
546 gchar const *filename = href;
576 // different dir) or unset (when doc is not saved yet), so we check for base+href existence first,
577 // and if it fails, we also try to use bare href regardless of its g_path_is_absolute
602 if ( base != NULL && href != NULL ) {
603 g_warning ("<image xlink:href=\"%s\"> did not resolve to a valid image file (base dir is %s), now trying sodipodi:absref=\"%s\"", href, base, absref);
605 g_warning ("xlink:href did not resolve to a valid image file, now trying sodipodi:absref=\"%s\"", absref);
788 image_node->setAttribute("xlink:href", buffer);
796 if ( image->href && image->pixbuf && image->pixbuf->modificationTime()) {