diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-07-06 17:28:37 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-07-06 20:29:14 +0100 |
commit | 3f281b6f0ad73eae72b77fa4dcab9008b7e14187 (patch) | |
tree | 38c452a20a70c65a7c7ee1ed413aa573dad4c3e1 /scripting/examples/beanshell/InteractiveBeanShell | |
parent | efae0d1c5e9634c78567541302a485c22359d778 (diff) |
re-base on ALv2 code. Includes:
remove onlineregistration with dependencies
Patch contributed by Juergen Schmidt
http://svn.apache.org/viewvc?view=revision&revision=1249245
Diffstat (limited to 'scripting/examples/beanshell/InteractiveBeanShell')
-rwxr-xr-x | scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh | 21 | ||||
-rw-r--r-- | scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml | 18 |
2 files changed, 36 insertions, 3 deletions
diff --git a/scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh b/scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh index 5311882c1be3..0e82f1df0489 100755 --- a/scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh +++ b/scripting/examples/beanshell/InteractiveBeanShell/interactive.bsh @@ -1,4 +1,21 @@ -//Pops up a window into which you can type BeanShell code and run it -//against the current document +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +// Pops up a window into which you can type BeanShell code and run it +// against the current document editor(); return 0; diff --git a/scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml b/scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml index 5c2ff6c182c8..0911ac56a8fd 100644 --- a/scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml +++ b/scripting/examples/beanshell/InteractiveBeanShell/parcel-descriptor.xml @@ -1,5 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> - +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . +--> <parcel language="BeanShell" xmlns:parcel="scripting.dtd"> <script language="BeanShell"> |