Lines Matching defs:repr
15 #include "xml/repr.h"
59 * our name must be associated with a repr via "sp_object_type_register". Best done through
60 * sp-object-repr.cpp's repr_name_entries array.
63 SPTag::build(SPDocument *document, Inkscape::XML::Node *repr)
66 SPObject::build(document, repr);
111 * Writes its settings to an incoming repr object, if any.
114 SPTag::write(Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags)
116 if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) {
117 repr = doc->createElement("inkscape:tag");
123 repr->setAttribute("inkscape:expanded", "true");
125 repr->setAttribute("inkscape:expanded", NULL);
128 SPObject::write(doc, repr, flags);
129 return repr;