Lines Matching refs:url
68 + public void highlighLineInScriptWindow(URL url, int lineNum) {
69 + debugGui.highlighLineInScriptWindow(url, lineNum);
85 + public void showScriptWindow(URL url) {
86 + debugGui.showScriptWindow(url);
89 + public boolean isModified(URL url) {
90 + return debugGui.isModified(url);
93 + public String getText(URL url) {
94 + return debugGui.getText(url);
112 String url = fnOrScript.getSourceName();
113 - if (url == null) { url = "<stdin>"; }
114 + if (url == null) { url = "document"; }
124 + public Object evalScriptWithReturn(final String url, final String text, Scriptable scope) {
126 + action.url = url;
161 + return cx.evaluateString(this.scope, text, url, 1, null);
236 - menubar.addFile(url);
237 + // menubar.addFile(url);
279 + private String getFileName(URL url) {
280 + if (url.getProtocol().startsWith("vnd.sun.star."))
281 + return url.toString();
282 + return url.getPath();
316 + void removeScript(String url) {
317 + officeScripts.deleteScript(url);
320 + public void showScriptWindow(URL url) {
321 + String key = getFileName(url);
332 + public void highlighLineInScriptWindow(URL url, int lineNum) {
333 + String key = getFileName(url);
356 + String url = w.getUrl();
357 + if (url != null)
365 + result = dim.evalScriptWithReturn(url, w.textArea.getText(), scope);
378 + public boolean isModified(URL url)
380 + String key = getFileName(url);
385 + public String getText(URL url)
387 + String key = getFileName(url);
445 if (url != null) {
447 proxy.fileName = url;
450 + proxy.scope = debugGui.officeScripts.getScriptScope(url);
456 + String url = getUrl();
457 + if (url != null) {
460 + if (url.startsWith("vnd.sun.star"))
462 + URL scriptUrl = debugGui.officeScripts.getScriptUrl(url);
465 + throw new IOException("Can't optain stream for " + url);
471 + os = new FileOutputStream(url);
698 + public void addScript( URL url, Scriptable scope, Runnable closeCallback )
700 + addScript( url.toString(), url, scope, closeCallback );
703 + public void addScript( String key, URL url, Scriptable scope, Runnable closeCallback )
709 + si.url = url;
746 + result = info.url;
787 + URL url;