Lines Matching refs:url
36 def splitUrl( url ): argument
37 nColon = url.find( ":" )
39 raise RuntimeException( "PythonLoader: No protocol in url " + url, None )
40 return url[0:nColon], url[nColon+1:len(url)]
43 def checkForPythonPathBesideComponent( url ): argument
44 path = unohelper.fileUrlToSystemPath( url+"/pythonpath.zip" );
52 path = unohelper.fileUrlToSystemPath( url+"/pythonpath" );
67 def getModuleFromUrl( self, url ): argument
69 print("pythonloader: interpreting url " +url)
70 protocol, dependent = splitUrl( url )
73 url = exp.expandMacros(dependent)
74 protocol,dependent = splitUrl( url )
82 url = unohelper.absolutize( url, url )
85 mod = g_loadedComponents.get( url )
90 checkForPythonPathBesideComponent( url[0:url.rfind('/')] )
93 filename = unohelper.fileUrlToSystemPath( url )
103 g_loadedComponents[url] = mod
109 protocol + " in url " +url, self )
111 raise RuntimeException( "Couldn't load "+url+ " for reason "+str(e), None)