diff options
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"> |