/*
* SVG <a> element implementation
*
* Author:
* Lauris Kaplinski <lauris@kaplinski.com>
* Abhishek Sharma
*
* Copyright (C) 2001-2002 Lauris Kaplinski
* Copyright (C) 2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#define noSP_ANCHOR_VERBOSE
#include "attributes.h"
#include "sp-anchor.h"
#include "document.h"
}
}
this->readAttr( "xlink:type" );
this->readAttr( "xlink:role" );
this->readAttr( "xlink:arcrole" );
this->readAttr( "xlink:title" );
this->readAttr( "xlink:show" );
this->readAttr( "xlink:actuate" );
this->readAttr( "xlink:href" );
this->readAttr( "target" );
}
if (this->href) {
}
}
switch (key) {
case SP_ATTR_XLINK_HREF:
break;
case SP_ATTR_XLINK_TYPE:
case SP_ATTR_XLINK_ROLE:
case SP_ATTR_XLINK_ARCROLE:
case SP_ATTR_XLINK_TITLE:
case SP_ATTR_XLINK_SHOW:
case SP_ATTR_XLINK_ACTUATE:
case SP_ATTR_TARGET:
break;
default:
break;
}
}
Inkscape::XML::Node* SPAnchor::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
}
// XML Tree being directly used while it shouldn't be in the
// below COPY_ATTR lines
}
return repr;
}
return _("Link");
}
if (this->href) {
return ret;
} else {
return g_strdup (_("without URI"));
}
}
case SP_EVENT_ACTIVATE:
if (this->href) {
return TRUE;
}
break;
case SP_EVENT_MOUSEOVER:
break;
case SP_EVENT_MOUSEOUT:
break;
default:
break;
}
return FALSE;
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :