Lines Matching refs:href

1146 // find the object for creating an href (this is done through document but should be done
1150 if( value.href ) {
1152 delete value.href;
1153 value.href = NULL;
1201 // Create href if not done already
1202 if (!value.href && document) {
1203 // std::cout << " Creating value.href" << std::endl;
1204 value.href = new SPPaintServerReference(document);
1206 style->fill_ps_changed_connection = value.href->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_style_fill_paint_server_ref_changed), style));
1208 style->stroke_ps_changed_connection = value.href->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_style_stroke_paint_server_ref_changed), style));
1292 if ( this->value.href && this->value.href->getURI() ) {
1293 const gchar* uri = this->value.href->getURI()->toString();
1372 if (value.href){
1373 if (value.href->getObject()) {
1374 value.href->detach();
1398 if( p->value.href) {
1400 sp_style_set_ipaint_to_uri( style, this, p->value.href->getURI(), p->value.href->getOwnerDocument());
1453 if( this->value.href == NULL || r->value.href == NULL ||
1454 this->value.href->getObject() != r->value.href->getObject() ) {
1639 if( href ) {
1641 delete href;
1642 href = NULL;
1669 // Create href if not already done.
1670 if (!href) {
1672 href = new SPFilterReference(style->object);
1674 // Do we have href now?
1675 if ( href ) {
1676 href->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_style_filter_ref_changed), style));
1678 std::cerr << "SPIFilter::read(): Could not allocate 'href'" << std::endl;
1683 // We have href
1685 href->attach(Inkscape::URI(uri));
1688 href->detach();
1707 } else if(this->href && this->href->getURI()) {
1708 gchar *uri = this->href->getURI()->toString();
1722 if( href ) {
1723 if( href->getObject() ) {
1724 href->detach();
1750 if( (!set || inherit) && p->href && p->href->getObject() ) { // is the getObject() needed?
1753 if( href ) {
1754 // If we alread have an href, use it (unlikely but heck...)
1755 if( href->getObject() ) {
1756 href->detach();
1759 // If we don't have an href, create it
1761 href = new SPFilterReference(style->document);
1762 //href->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_style_filter_ref_changed), style));
1764 href = new SPFilterReference(style->object);
1767 if( href ) {
1768 // If we now have an href, try to attach parent filter
1770 href->attach(*p->href->getURI());
1773 href->detach();