Lines Matching refs:repr
18 #include "xml/repr.h"
31 void SPAnchor::build(SPDocument *document, Inkscape::XML::Node *repr) {
32 SPGroup::build(document, repr);
80 Inkscape::XML::Node* SPAnchor::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
81 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
82 repr = xml_doc->createElement("svg:a");
85 repr->setAttribute("xlink:href", this->href);
87 if (repr != this->getRepr()) {
90 COPY_ATTR(repr, this->getRepr(), "xlink:type");
91 COPY_ATTR(repr, this->getRepr(), "xlink:role");
92 COPY_ATTR(repr, this->getRepr(), "xlink:arcrole");
93 COPY_ATTR(repr, this->getRepr(), "xlink:title");
94 COPY_ATTR(repr, this->getRepr(), "xlink:show");
95 COPY_ATTR(repr, this->getRepr(), "xlink:actuate");
96 COPY_ATTR(repr, this->getRepr(), "target");
99 SPGroup::write(xml_doc, repr, flags);
101 return repr;