Searched refs:attrib (Results 1 - 25 of 31) sorted by relevance

12

/inkscape/share/extensions/
H A DjessyInk_install.py80 del self.document.getroot().attrib["onload"]
84 node.attrib["{" + inkex.NSS["jessyink"] + "}effectIn"] = node.attrib["jessyInk_effectIn"]
85 del node.attrib["jessyInk_effectIn"]
88 node.attrib["{" + inkex.NSS["jessyink"] + "}effectIn"] = node.attrib["{" + inkex.NSS["jessyink"] + "}effectIn"].replace("=", ":")
91 node.attrib["{" + inkex.NSS["jessyink"] + "}effectOut"] = node.attrib["jessyInk_effectOut"]
92 del node.attrib["jessyInk_effectOut"]
95 node.attrib["{"
[all...]
H A DjessyInk_uninstall.py79 del self.document.getroot().attrib["onload"]
84 del node.attrib["{" + inkex.NSS["jessyink"] + "}effectIn"]
87 del node.attrib["{" + inkex.NSS["jessyink"] + "}effectOut"]
91 del node.attrib["jessyInk_effectIn"]
94 del node.attrib["jessyInk_effectOut"]
99 del node.attrib["{" + inkex.NSS["jessyink"] + "}masterSlide"]
103 del node.attrib["jessyInk_masterSlide"]
108 del node.attrib["{" + inkex.NSS["jessyink"] + "}transitionIn"]
111 del node.attrib["{" + inkex.NSS["jessyink"] + "}transitionOut"]
115 del node.attrib["jessyInk_transitionI
[all...]
H A DjessyInk_effects.py59 if node.attrib.has_key("{" + inkex.NSS["jessyink"] + "}view"):
60 del node.attrib["{" + inkex.NSS["jessyink"] + "}view"]
62 if node.attrib.has_key("{" + inkex.NSS["jessyink"] + "}effectIn"):
63 del node.attrib["{" + inkex.NSS["jessyink"] + "}effectIn"]
68 if node.attrib.has_key("{" + inkex.NSS["jessyink"] + "}view"):
69 del node.attrib["{" + inkex.NSS["jessyink"] + "}view"]
71 if node.attrib.has_key("{" + inkex.NSS["jessyink"] + "}effectOut"):
72 del node.attrib["{" + inkex.NSS["jessyink"] + "}effectOut"]
H A DjessyInk_view.py85 propDict = propListToDict(propStrToList(node.attrib["{" + inkex.NSS["jessyink"] + "}view"]))
88 del node.attrib["{" + inkex.NSS["jessyink"] + "}view"]
94 if rect.attrib.has_key("{" + inkex.NSS["jessyink"] + "}effectIn"):
95 del rect.attrib["{" + inkex.NSS["jessyink"] + "}effectIn"]
97 if rect.attrib.has_key("{" + inkex.NSS["jessyink"] + "}effectOut"):
98 del rect.attrib["{" + inkex.NSS["jessyink"] + "}effectOut"]
100 if node.attrib.has_key("{" + inkex.NSS["jessyink"] + "}view"):
101 del node.attrib["{" + inkex.NSS["jessyink"] + "}view"]
H A DjessyInk_video.py56 layer = self.document.xpath("//svg:g[@id='" + baseView[0].attrib["{" + inkex.NSS["inkscape"] + "}current-layer"] + "']", namespaces=inkex.NSS)
76 nodeDict[key].attrib['id'] = idSubst[key]
80 for attrIter in ndIter.attrib:
82 ndIter.attrib[attrIter] = ndIter.attrib[attrIter].replace("#" + entryIter, "#" + idSubst[entryIter])
96 if entry.attrib.has_key('{' + inkex.NSS['xlink'] + '}href'):
97 linkId = entry.attrib['{' + inkex.NSS['xlink'] + '}href'][1:len(entry.attrib['{' + inkex.NSS['xlink'] + '}href'])]
117 if entry.attrib.has_key('id'):
118 del entry.attrib['i
[all...]
H A Dpixelsnap.py166 style = simplestyle.parseStyle(elem.attrib.get('style', ''))
176 elem.attrib['style'] = simplestyle.formatStyle(style)
200 transform = elem.attrib.get('transform', '').strip()
210 elem.attrib['transform'] = simpletransform.formatTransform(setval)
287 path = simplepath.parsePath(elem.attrib.get(original_d, elem.attrib['d']))
313 path = simplepath.parsePath(elem.attrib.get(original_d, elem.attrib['d']))
338 if original_d in elem.attrib: elem.attrib[original_
[all...]
H A DjessyInk_autoTexts.py63 if nodes[0].attrib.has_key("{" + inkex.NSS["jessyink"] + "}autoText"):
64 del nodes[0].attrib["{" + inkex.NSS["jessyink"] + "}autoText"]
H A Dmerge_styles.py112 common.add(Style(el.attrib['style']), el)
123 el.attrib['style'] = st.to_str("")
125 olds = el.attrib.has_key('class') and el.attrib['class'].split() or []
128 el.attrib['class'] = ' '.join(olds)
H A DjessyInk_transitions.py61 del nodes[0].attrib["{" + inkex.NSS["jessyink"] + "}transitionIn"]
66 del nodes[0].attrib["{" + inkex.NSS["jessyink"] + "}transitionOut"]
H A Dguillotine.py90 (x, y) = g.attrib['position'].split(',')
91 if g.attrib['orientation'][:2] == '0,':
95 elif g.attrib['orientation'][-2:] == ',0':
131 height = self.unittouu(root.attrib['height'])
147 width = self.unittouu(root.attrib['width'])
194 export_file = svg.attrib[att]
H A Dsynfig_prepare.py290 attribs = path_node.attrib
388 del node.attrib["viewBox"]
409 for attrib in style_attribs:
410 if node.get(attrib):
411 this_style[attrib] = node.get(attrib)
412 del node.attrib[attrib]
421 del node.attrib["style"]
427 del node.attrib["transfor
[all...]
H A Dwebslicer_export.py173 current_style = ('style' in layer.attrib) and layer.attrib['style'] or ''
174 layer.attrib['style'] = 'display:none'
176 layer.attrib['style'] = current_style
324 geometry = self.el_geo[el.attrib['id']]
325 geometry['x'] -= self.el_geo[parent.attrib['id']]['x']
326 geometry['y'] -= self.el_geo[parent.attrib['id']]['y']
333 return el.attrib['id']+'.'+conf['format']
352 opts, el.attrib['id'], img_name_png, self.tmp_svg
H A Dgenerate_voronoi.py188 if obj.attrib.has_key('style'):
189 style = simplestyle.parseStyle(obj.attrib['style'])
191 obj.attrib['style'] = simplestyle.formatStyle(style)
195 if node.attrib.has_key('style'):
196 style = simplestyle.parseStyle(node.attrib['style'])
198 node.attrib['style'] = simplestyle.formatStyle(style)
H A Dtar_layers.py78 name = node.attrib.get(LABEL, None)
83 return node.tag == GROUP and node.attrib.get(GROUPMODE,'').lower() == 'layer'
H A DjessyInk_masterSlide.py50 del node.attrib["{" + inkex.NSS["jessyink"] + "}masterSlide"]
H A Dreplace_font.py86 return node.tag in text_tags and 'style' in node.attrib
100 if 'style' in node.attrib:
101 return simplestyle.parseStyle(node.attrib['style'])
107 node.attrib['style'] = simplestyle.formatStyle(style)
H A Deqtexsvg.py67 for name in node_in.attrib:
68 node_out.set(name, node_in.attrib[name])
H A Dimage_attributes.py85 del node.attrib[key]
94 del node.attrib[key]
H A DjessyInk_export.py58 if node.attrib.has_key("style"):
114 self.takeSnapshot(output, node.attrib["{" + inkex.NSS["inkscape"] + "}label"])
H A Dsplit.py52 text = inkex.etree.Element(inkex.addNS("text", "svg"), node.attrib)
138 text = inkex.etree.Element(inkex.addNS("text", "svg"), line.attrib)
180 text = inkex.etree.Element(inkex.addNS("text", "svg"), node.attrib)
H A Dembedimage.py109 del node.attrib[inkex.addNS('absref',u'sodipodi')]
H A Dcoloreffect.py55 if node.attrib.has_key('style'):
134 if newnode.attrib.has_key(xlink):
H A Dsvg_and_media_zip_output.py158 if 'style' in node.attrib:
159 s = simplestyle.parseStyle(node.attrib['style'])
H A Dpathmodifier.py95 del node.attrib["transform"]
228 for attName in node.attrib.keys():
230 del node.attrib[attName]
/inkscape/share/filters/
H A Dsamplify.py67 if fi.tag == e_filter and fi.attrib[a_menu] not in menus:
68 menus.append(fi.attrib[a_menu])
89 id = tdoc.getroot().attrib["id"]
114 newroot.getchildren()[-1].attrib["id"] = "original"
117 text.attrib['x']=str(q['x'] - q['width'] * 0.2)
118 text.attrib['y']=str( q['y'] + q['height'] * (menus.index(menu) + 1.4) )
119 text.attrib['style']="font-size:%d;text-anchor:end;" % (q['height']*0.2)
127 clone.attrib[a_href]='#original'
128 clone.attrib["style"]='filter:url(#'+fi.attrib["i
[all...]

Completed in 79 milliseconds

12