diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh | 8 | ||||
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/javascript/template.js | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh b/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh index 9a1ad0939a44..a0c49a2e240c 100644 --- a/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh +++ b/scripting/java/com/sun/star/script/framework/provider/beanshell/template.bsh @@ -20,7 +20,7 @@ these classes and the OpenOffice.org API, see the OpenOffice.org Developers Guide at: - http://api.libreoffice.org/ + https://api.libreoffice.org/ */ import com.sun.star.uno.UnoRuntime; @@ -34,7 +34,7 @@ import com.sun.star.frame.XModel; variable can be used to access the document for which this script was invoked. - Methods available are: + Methods available are: XSCRIPTCONTEXT.getDocument() returns XModel XSCRIPTCONTEXT.getInvocationContext() returns XScriptInvocationContext or NULL @@ -44,9 +44,9 @@ import com.sun.star.frame.XModel; For more information on using this class see the scripting developer guides at: - http://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml + https://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml */ - + // Hello World in BeanShell import com.sun.star.text.XTextDocument; import com.sun.star.text.XText; diff --git a/scripting/java/com/sun/star/script/framework/provider/javascript/template.js b/scripting/java/com/sun/star/script/framework/provider/javascript/template.js index 51a700b0d242..939ba339cd7c 100644 --- a/scripting/java/com/sun/star/script/framework/provider/javascript/template.js +++ b/scripting/java/com/sun/star/script/framework/provider/javascript/template.js @@ -19,7 +19,7 @@ // Import standard OpenOffice.org API classes. For more information on // these classes and the OpenOffice.org API, see the OpenOffice.org // Developers Guide at: -// http://api.libreoffice.org/ +// https://api.libreoffice.org/ importClass(Packages.com.sun.star.uno.UnoRuntime); importClass(Packages.com.sun.star.text.XTextDocument); @@ -42,7 +42,7 @@ importClass(Packages.com.sun.star.frame.XModel); // For more information on using this class see the scripting // developer guides at: -// http://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml +// https://api.libreoffice.org/docs/DevelopersGuide/ScriptingFramework/ScriptingFramework.xhtml oDoc = UnoRuntime.queryInterface(XModel,XSCRIPTCONTEXT.getInvocationContext()); |