Lines Matching defs:elem

35     SPObject *elem;
95 find_references(SPObject *elem, refmap_type &refmap)
97 if (elem->cloned) return;
98 Inkscape::XML::Node *repr_elem = elem->getRepr();
112 IdReference idref = { REF_CLIPBOARD, elem, attr };
129 IdReference idref = { REF_HREF, elem, attr };
134 SPStyle *style = elem->style;
144 IdReference idref = { REF_STYLE, elem, SPIPaint_properties[i] };
156 IdReference idref = { REF_STYLE, elem, "filter" };
168 IdReference idref = { REF_STYLE, elem, markers[i] };
182 IdReference idref = { REF_URL, elem, attr };
190 for (SPObject *child = elem->firstChild(); child; child = child->getNext() )
202 SPObject *elem, refmap_type const &refmap,
205 const gchar *id = elem->getId();
214 if (SP_IS_GRADIENT(elem)) {
219 if ( cd_gr->isEquivalent(SP_GRADIENT(elem))) {
236 elem->getRepr()->setAttribute("id", new_id);
239 id_changes->push_back(id_changeitem_type(elem, old_id));
245 for (SPObject *child = elem->firstChild(); child; child = child->getNext() )
268 it->elem->getRepr()->setAttribute(it->attr, new_uri);
273 sp_style_set_property_url(it->elem, it->attr, obj, false);
278 it->elem->getRepr()->setAttribute(it->attr, url);
283 SPCSSAttr *style = sp_repr_css_attr(it->elem->getRepr(), "style");
289 it->elem->getRepr()->setAttribute("style", style_string);
336 it->elem->getRepr()->setAttribute(it->attr, new_uri);
341 sp_style_set_property_url(it->elem, it->attr, to_obj, false);
346 it->elem->getRepr()->setAttribute(it->attr, url);
351 SPCSSAttr *style = sp_repr_css_attr(it->elem->getRepr(), "style");
357 it->elem->getRepr()->setAttribute("style", style_string);
369 void rename_id(SPObject *elem, Glib::ustring const &new_name)
384 SPDocument *current_doc = elem->document;
388 std::string old_id(elem->getId());
403 elem->getRepr()->setAttribute("id", new_name2);
407 id_changes.push_back(id_changeitem_type(elem, old_id));