Lines Matching defs:NSS

19 var NSS = new Object();
20 NSS['sodipodi']='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd';
21 NSS['cc']='http://web.resource.org/cc/';
22 NSS['svg']='http://www.w3.org/2000/svg';
23 NSS['dc']='http://purl.org/dc/elements/1.1/';
24 NSS['rdf']='http://www.w3.org/1999/02/22-rdf-syntax-ns#';
25 NSS['inkscape']='http://www.inkscape.org/namespaces/inkscape';
26 NSS['xlink']='http://www.w3.org/1999/xlink';
27 NSS['xml']='http://www.w3.org/XML/1998/namespace';
28 NSS['jessyink']='https://launchpad.net/jessyink';
55 var ROOT_NODE = document.getElementsByTagNameNS(NSS["svg"], "svg")[0];
140 var namedViews = document.getElementsByTagNameNS(NSS["sodipodi"], "namedview");
160 var defsNodes = document.getElementsByTagNameNS(NSS["svg"], "defs");
168 var rectNode = document.createElementNS(NSS["svg"], "rect");
169 var clipPath = document.createElementNS(NSS["svg"], "clipPath");
185 var nodes = document.getElementsByTagNameNS(NSS["svg"], "g");
191 if (nodes[counter].getAttributeNS(NSS["inkscape"], "groupmode") && (nodes[counter].getAttributeNS(NSS["inkscape"], "groupmode") == "layer"))
193 if (nodes[counter].getAttributeNS(NSS["inkscape"], "label") && nodes[counter].getAttributeNS(NSS["jessyink"], "masterSlide") == "masterSlide")
195 else if (nodes[counter].getAttributeNS(NSS["inkscape"], "label") && nodes[counter].getAttributeNS(NSS["jessyink"], "presentationLayer") == "presentationLayer")
200 else if (nodes[counter].getAttributeNS(NSS['jessyink'], 'element'))
211 if (masterSlide.hasAttributeNS(NSS["jessyink"], "transitionIn"))
212 defaultTransitionInDict = propStrToDict(masterSlide.getAttributeNS(NSS["jessyink"], "transitionIn"));
214 if (masterSlide.hasAttributeNS(NSS["jessyink"], "transitionOut"))
215 defaultTransitionOutDict = propStrToDict(masterSlide.getAttributeNS(NSS["jessyink"], "transitionOut"));
236 var JessyInkPresentationLayer = document.createElementNS(NSS["svg"], "g");
237 JessyInkPresentationLayer.setAttributeNS(NSS["inkscape"], "groupmode", "layer");
238 JessyInkPresentationLayer.setAttributeNS(NSS["inkscape"], "label", "JessyInk Presentation Layer");
239 JessyInkPresentationLayer.setAttributeNS(NSS["jessyink"], "presentationLayer", "presentationLayer");
261 if (node.hasAttributeNS(NSS["jessyink"], "transitionIn"))
262 dict = propStrToDict(node.getAttributeNS(NSS["jessyink"], "transitionIn"));
276 if (node.hasAttributeNS(NSS["jessyink"], "transitionOut"))
277 dict = propStrToDict(node.getAttributeNS(NSS["jessyink"], "transitionOut"));
292 clonedNode.removeAttributeNS(NSS["inkscape"], "groupmode");
293 clonedNode.removeAttributeNS(NSS["inkscape"], "label");
303 substituteAutoTexts(node, node.getAttributeNS(NSS["inkscape"], "label"), counter + 1, tempSlides.length);
305 node.removeAttributeNS(NSS["inkscape"], "groupmode");
306 node.removeAttributeNS(NSS["inkscape"], "label");
328 var effects = getElementsByPropertyNS(node, NSS["jessyink"], propName);
333 var dict = propStrToDict(element.getAttributeNS(NSS["jessyink"], propName));
339 var newGroup = document.createElementNS(NSS["svg"], "g");
375 var transformGroup = document.createElementNS(NSS["svg"], "g");
389 var viewGroup = document.createElementNS(NSS["svg"], "g");
397 var rectNode = document.createElementNS(NSS["svg"], "rect");
411 var views = getElementsByPropertyNS(node, NSS["jessyink"], "view");
421 var dict = propStrToDict(element.getAttributeNS(NSS["jessyink"], "view"));
503 var jessyInkObjects = document.getElementsByTagNameNS(NSS["svg"], "g");
509 if (elem.getAttributeNS(NSS["jessyink"], "customKeyBindings"))
520 var jessyInkMouseHandler = document.getElementsByTagNameNS(NSS["jessyink"], "mousehandler");
569 var texts = node.getElementsByTagNameNS(NSS["svg"], "tspan");
573 if (texts[textCounter].getAttributeNS(NSS["jessyink"], "autoText") == "slideNumber")
575 else if (texts[textCounter].getAttributeNS(NSS["jessyink"], "autoText") == "numberOfSlides")
577 else if (texts[textCounter].getAttributeNS(NSS["jessyink"], "autoText") == "slideTitle")
1311 exportNode.setAttributeNS(NSS["inkscape"], "groupmode", "layer");
1312 exportNode.setAttributeNS(NSS["inkscape"], "label", "slide_" + padString((counterSlides + 1).toString(), slides.length.toString().length) + "_effect_" + padString("0", maxEffect.toString().length));
1335 exportNode.setAttributeNS(NSS["inkscape"], "groupmode", "layer");
1336 exportNode.setAttributeNS(NSS["inkscape"], "label", layerName);
1377 var defs = nd.getElementsByTagNameNS(NSS["svg"], "defs");
1406 namedView.setAttributeNS(NSS['inkscape'], 'current-layer', exportedLayers[0].getAttributeNS(NSS['inkscape'], 'label'));
1467 mouse_original_path = document.createElementNS(NSS["svg"], "path");
1476 mouse_presentation_path = document.createElementNS(NSS["svg"], "path");
2004 if ((node.nodeName == "use") && (node.getAttributeNS(NSS["xlink"], "href")) && (replace[node.getAttribute(NSS["xlink"], "href")]))
2005 node.setAttribute(NSS["xlink"], "href", node.getAttribute(NSS["xlink"], "href") + suffix);
2037 var g = document.createElementNS(NSS["svg"], "g");
2042 var rect_progress_bar = document.createElementNS(NSS["svg"], "rect");
2051 var circle_timer_indicator = document.createElementNS(NSS["svg"], "circle");
2197 var g = document.createElementNS(NSS["svg"], "g");
2229 clonedNode.removeAttributeNS(NSS["inkscape"], "groupmode");
2230 clonedNode.removeAttributeNS(NSS["inkscape"], "label");
2242 var transformGroup = document.createElementNS(NSS["svg"], "g");
2256 var viewGroup = document.createElementNS(NSS["svg"], "g");
2264 var rectNode = document.createElementNS(NSS["svg"], "rect");
2296 g = document.createElementNS(NSS["svg"], "g");
2297 g.setAttributeNS(NSS["inkscape"], "groupmode", "layer");
2298 g.setAttributeNS(NSS["inkscape"], "label", "Whiteboard " + number_of_added_slides);
2392 if (node.getAttributeNS(NSS['jessyink'], 'element') == 'core.video')