diff options
Diffstat (limited to 'odk/examples/python/toolpanel')
-rw-r--r-- | odk/examples/python/toolpanel/CalcWindowState.xcu | 35 | ||||
-rw-r--r-- | odk/examples/python/toolpanel/Factory.xcu | 35 | ||||
-rw-r--r-- | odk/examples/python/toolpanel/META-INF/manifest.xml | 35 | ||||
-rw-r--r-- | odk/examples/python/toolpanel/Makefile | 34 | ||||
-rw-r--r-- | odk/examples/python/toolpanel/description.xml | 35 | ||||
-rw-r--r-- | odk/examples/python/toolpanel/toolpanel.component | 35 | ||||
-rw-r--r-- | odk/examples/python/toolpanel/toolpanel.py | 35 |
7 files changed, 60 insertions, 184 deletions
diff --git a/odk/examples/python/toolpanel/CalcWindowState.xcu b/odk/examples/python/toolpanel/CalcWindowState.xcu index 5da57d7e2400..9abb827d8fd4 100644 --- a/odk/examples/python/toolpanel/CalcWindowState.xcu +++ b/odk/examples/python/toolpanel/CalcWindowState.xcu @@ -1,31 +1,12 @@ <?xml version='1.0' encoding='UTF-8'?> -<!--# Version: MPL 1.1 / GPLv3+ / LGPLv3+ -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License or as specified alternatively below. You may obtain a copy of -# the License at http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Initial Developer of the Original Code is -# Laurent Godard <lgodard.libre@laposte.net> -# Portions created by the Initial Developer are Copyright (C) 2011 the -# Initial Developer. All Rights Reserved. -# -# Major Contributor(s): -# -# For minor contributions see the git repository. -# -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 3 or later (the "GPLv3+"), or -# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), -# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable -# instead of those above.--> +<!-- + * 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/. + * +--> <oor:component-data oor:name="CalcWindowState" oor:package="org.openoffice.Office.UI" diff --git a/odk/examples/python/toolpanel/Factory.xcu b/odk/examples/python/toolpanel/Factory.xcu index e7ca0d81eca4..bc9b5feef139 100644 --- a/odk/examples/python/toolpanel/Factory.xcu +++ b/odk/examples/python/toolpanel/Factory.xcu @@ -1,31 +1,12 @@ <?xml version='1.0' encoding='UTF-8'?> -<!--# Version: MPL 1.1 / GPLv3+ / LGPLv3+ -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License or as specified alternatively below. You may obtain a copy of -# the License at http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Initial Developer of the Original Code is -# Laurent Godard <lgodard.libre@laposte.net> -# Portions created by the Initial Developer are Copyright (C) 2011 the -# Initial Developer. All Rights Reserved. -# -# Major Contributor(s): -# -# For minor contributions see the git repository. -# -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 3 or later (the "GPLv3+"), or -# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), -# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable -# instead of those above.--> +<!-- + * 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/. + * +--> <oor:component-data oor:name="Factories" oor:package="org.openoffice.Office.UI" diff --git a/odk/examples/python/toolpanel/META-INF/manifest.xml b/odk/examples/python/toolpanel/META-INF/manifest.xml index d545ad0a2efb..300501b7fef1 100644 --- a/odk/examples/python/toolpanel/META-INF/manifest.xml +++ b/odk/examples/python/toolpanel/META-INF/manifest.xml @@ -1,31 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<!--# Version: MPL 1.1 / GPLv3+ / LGPLv3+ -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License or as specified alternatively below. You may obtain a copy of -# the License at http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Initial Developer of the Original Code is -# Laurent Godard <lgodard.libre@laposte.net> -# Portions created by the Initial Developer are Copyright (C) 2011 the -# Initial Developer. All Rights Reserved. -# -# Major Contributor(s): -# -# For minor contributions see the git repository. -# -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 3 or later (the "GPLv3+"), or -# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), -# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable -# instead of those above.--> +<!-- + * 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/. + * +--> <manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-components" diff --git a/odk/examples/python/toolpanel/Makefile b/odk/examples/python/toolpanel/Makefile index 7460471f24f3..3a1d93acf45b 100644 --- a/odk/examples/python/toolpanel/Makefile +++ b/odk/examples/python/toolpanel/Makefile @@ -1,30 +1,10 @@ -## -## Version: MPL 1.1 / GPLv3+ / LGPLv3+ -## -## The contents of this file are subject to the Mozilla Public License Version -## 1.1 (the "License"); you may not use this file except in compliance with -## the License or as specified alternatively below. You may obtain a copy of -## the License at http://www.mozilla.org/MPL/ -## -## Software distributed under the License is distributed on an "AS IS" basis, -## WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -## for the specific language governing rights and limitations under the -## License. -## -## Major Contributor(s): -## [ Copyright (C) 2011 Red Hat, Inc., Stephan Bergmann <sbergman@redhat.com> -## (initial developer) ] -## -## All Rights Reserved. -## -## For minor contributions see the git repository. -## -## Alternatively, the contents of this file may be used under the terms of -## either the GNU General Public License Version 3 or later (the "GPLv3+"), or -## the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), -## in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable -## instead of those above. -## +# +# 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/. +# PRJ = ../../.. SETTINGS = $(PRJ)/settings diff --git a/odk/examples/python/toolpanel/description.xml b/odk/examples/python/toolpanel/description.xml index f910e7ee5710..c448e8541bd4 100644 --- a/odk/examples/python/toolpanel/description.xml +++ b/odk/examples/python/toolpanel/description.xml @@ -1,31 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<!--# Version: MPL 1.1 / GPLv3+ / LGPLv3+ -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License or as specified alternatively below. You may obtain a copy of -# the License at http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Initial Developer of the Original Code is -# Laurent Godard <lgodard.libre@laposte.net> -# Portions created by the Initial Developer are Copyright (C) 2011 the -# Initial Developer. All Rights Reserved. -# -# Major Contributor(s): -# -# For minor contributions see the git repository. -# -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 3 or later (the "GPLv3+"), or -# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), -# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable -# instead of those above.--> +<!-- + * 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/. + * +--> <description xmlns="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink"> <version value="0.1.0"/> <identifier value="org.libreoffice.example.toolpanel"/> diff --git a/odk/examples/python/toolpanel/toolpanel.component b/odk/examples/python/toolpanel/toolpanel.component index 225e4f1c65c1..d7fde354575e 100644 --- a/odk/examples/python/toolpanel/toolpanel.component +++ b/odk/examples/python/toolpanel/toolpanel.component @@ -1,31 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<!--# Version: MPL 1.1 / GPLv3+ / LGPLv3+ -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License or as specified alternatively below. You may obtain a copy of -# the License at http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Initial Developer of the Original Code is -# Laurent Godard <lgodard.libre@laposte.net> -# Portions created by the Initial Developer are Copyright (C) 2011 the -# Initial Developer. All Rights Reserved. -# -# Major Contributor(s): -# -# For minor contributions see the git repository. -# -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 3 or later (the "GPLv3+"), or -# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), -# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable -# instead of those above.--> +<!-- + * 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/. + * +--> <components xmlns="http://openoffice.org/2010/uno-components"> <component loader="com.sun.star.loader.Python" uri="./toolpanel.py"> <implementation name="org.libreoffice.example.toolpanel.pocFactory"> diff --git a/odk/examples/python/toolpanel/toolpanel.py b/odk/examples/python/toolpanel/toolpanel.py index 31fce5103a89..8fcfb3f322fe 100644 --- a/odk/examples/python/toolpanel/toolpanel.py +++ b/odk/examples/python/toolpanel/toolpanel.py @@ -1,31 +1,22 @@ -# Version: MPL 1.1 / GPLv3+ / LGPLv3+ # -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License or as specified alternatively below. You may obtain a copy of -# the License at http://www.mozilla.org/MPL/ +# This file is part of the LibreOffice project. # -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. +# 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/. # -# The Initial Developer of the Original Code is -# Laurent Godard <lgodard.libre@laposte.net> -# Portions created by the Initial Developer are Copyright (C) 2011 the -# Initial Developer. All Rights Reserved. +# This file incorporates work covered by the following license notice: # -# Major Contributor(s): +# 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 . # -# For minor contributions see the git repository. +# inspired by core/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent # -# inspired from core/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 3 or later (the "GPLv3+"), or -# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), -# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable -# instead of those above. import uno import unohelper |