diff options
author | Tomas O'Connor <toconnor@openoffice.org> | 2003-10-29 14:01:18 +0000 |
---|---|---|
committer | Tomas O'Connor <toconnor@openoffice.org> | 2003-10-29 14:01:18 +0000 |
commit | 2a5ee2e1a50f8c6d38787307e29f06fcd7860f00 (patch) | |
tree | a00bf4de24d341f886d6275f2e634750f647dc4c /scripting/examples/beanshell | |
parent | 4b5e3758fc881da0a36656b56a84ff68370f53a6 (diff) |
#i21858# - removal of framework namespace from namespace of
UNO interfaces and services
Diffstat (limited to 'scripting/examples/beanshell')
5 files changed, 20 insertions, 20 deletions
diff --git a/scripting/examples/beanshell/Capitalise/capitalise.bsh b/scripting/examples/beanshell/Capitalise/capitalise.bsh index 7808db8c1294..1b9e5df4bbc6 100644 --- a/scripting/examples/beanshell/Capitalise/capitalise.bsh +++ b/scripting/examples/beanshell/Capitalise/capitalise.bsh @@ -5,7 +5,7 @@ import com.sun.star.container.XIndexAccess; import com.sun.star.text.XText; import com.sun.star.text.XTextRange; import com.sun.star.text.XWordCursor; -import drafts.com.sun.star.script.framework.runtime.XScriptContext; +import drafts.com.sun.star.script.provider.XScriptContext; String getNewString( theString ) { String newString; diff --git a/scripting/examples/beanshell/Highlight/highlighter.bsh b/scripting/examples/beanshell/Highlight/highlighter.bsh index 2441db13b516..a3989b994c7a 100644 --- a/scripting/examples/beanshell/Highlight/highlighter.bsh +++ b/scripting/examples/beanshell/Highlight/highlighter.bsh @@ -4,7 +4,7 @@ import com.sun.star.util.XReplaceDescriptor; import com.sun.star.util.XPropertyReplace; import com.sun.star.beans.PropertyValue; import com.sun.star.text.XTextDocument; -import drafts.com.sun.star.script.framework.runtime.XScriptContext; +import drafts.com.sun.star.script.provider.XScriptContext; int replaceText(searchKey, color, bold) { diff --git a/scripting/examples/beanshell/Highlight/parcel-descriptor.xml b/scripting/examples/beanshell/Highlight/parcel-descriptor.xml index a8ddb9ddea5f..a7bf9d25b00f 100755 --- a/scripting/examples/beanshell/Highlight/parcel-descriptor.xml +++ b/scripting/examples/beanshell/Highlight/parcel-descriptor.xml @@ -1,16 +1,16 @@ -<?xml version="1.0" encoding="UTF-8"?>
-
-<parcel language="BeanShell" xmlns:parcel="scripting.dtd">
-
- <script language="BeanShell">
- <locale lang="en">
- <displayname value="Highlighter"/>
- <description>
- Text highlighting
- </description>
- </locale>
- <functionname value="highlighter.bsh"/>
- <logicalname value="Highlighter.BeanShell"/>
- </script>
-
-</parcel>
+<?xml version="1.0" encoding="UTF-8"?> + +<parcel language="BeanShell" xmlns:parcel="scripting.dtd"> + + <script language="BeanShell"> + <locale lang="en"> + <displayname value="Highlighter"/> + <description> + Text highlighting + </description> + </locale> + <functionname value="highlighter.bsh"/> + <logicalname value="Highlighter.BeanShell"/> + </script> + +</parcel> diff --git a/scripting/examples/beanshell/MemoryUsage/memusage.bsh b/scripting/examples/beanshell/MemoryUsage/memusage.bsh index 9427e194a1b4..809cb5c33e60 100644 --- a/scripting/examples/beanshell/MemoryUsage/memusage.bsh +++ b/scripting/examples/beanshell/MemoryUsage/memusage.bsh @@ -5,7 +5,7 @@ import com.sun.star.lang.XComponent; import com.sun.star.container.XIndexAccess; import com.sun.star.sheet.XSpreadsheetDocument; import com.sun.star.sheet.XSpreadsheet; -import drafts.com.sun.star.script.framework.runtime.XScriptContext; +import drafts.com.sun.star.script.provider.XScriptContext; addEntry(date, total, free) { diff --git a/scripting/examples/beanshell/WordCount/wordcount.bsh b/scripting/examples/beanshell/WordCount/wordcount.bsh index 8006f4fed5af..35332799f6ba 100644 --- a/scripting/examples/beanshell/WordCount/wordcount.bsh +++ b/scripting/examples/beanshell/WordCount/wordcount.bsh @@ -4,7 +4,7 @@ import com.sun.star.view.XSelectionSupplier; import com.sun.star.container.XIndexAccess; import com.sun.star.text.XText; import com.sun.star.text.XTextRange; -import drafts.com.sun.star.script.framework.runtime.XScriptContext; +import drafts.com.sun.star.script.provider.XScriptContext; void doDisplay(numWords) { wordsLabel = new JLabel("Word count = " + numWords); |