diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-07-02 14:56:57 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-07-02 16:52:50 +0100 |
commit | 1d3e6bb6c4f06cd762de3cad65c2173cec477771 (patch) | |
tree | fcb06f23793762a8fbd9dc8a73042b1130a81d10 /pyuno/demo | |
parent | 678d1f12ad40cd9679a8704faee3df7a8fb347e7 (diff) |
re-base on ALv2 code. Removing:
a patch contributed by Pedro Giffuni to handle FreeBSD issues
that are unlikely to be an issue with a two-layer LibreOffice.
http://svn.apache.org/viewvc?view=revision&revision=1180509
Diffstat (limited to 'pyuno/demo')
-rw-r--r-- | pyuno/demo/Addons.xcu | 18 | ||||
-rw-r--r-- | pyuno/demo/biblioaccess.py | 17 | ||||
-rw-r--r-- | pyuno/demo/makefile.mk | 18 | ||||
-rw-r--r-- | pyuno/demo/ooextract.py | 17 | ||||
-rw-r--r-- | pyuno/demo/pyunoenv.bat | 19 | ||||
-rw-r--r-- | pyuno/demo/swriter.py | 17 | ||||
-rw-r--r-- | pyuno/demo/swritercomp.py | 17 |
7 files changed, 122 insertions, 1 deletions
diff --git a/pyuno/demo/Addons.xcu b/pyuno/demo/Addons.xcu index 75ec5188e6d0..b3e62f302529 100644 --- a/pyuno/demo/Addons.xcu +++ b/pyuno/demo/Addons.xcu @@ -1,4 +1,22 @@ <?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 . + --> + <oor:node xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office"> diff --git a/pyuno/demo/biblioaccess.py b/pyuno/demo/biblioaccess.py index 59d843ad6c01..bab6ce61116b 100644 --- a/pyuno/demo/biblioaccess.py +++ b/pyuno/demo/biblioaccess.py @@ -1,4 +1,21 @@ # -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# +# 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 . +# import uno from com.sun.star.sdb.CommandType import COMMAND diff --git a/pyuno/demo/makefile.mk b/pyuno/demo/makefile.mk index e00a2fb7ca56..11fe66f31bf8 100644 --- a/pyuno/demo/makefile.mk +++ b/pyuno/demo/makefile.mk @@ -1,3 +1,21 @@ +# +# 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 . +# + PRJNAME=pyuno PRJ=.. diff --git a/pyuno/demo/ooextract.py b/pyuno/demo/ooextract.py index 3959bf74b200..477cc8910282 100644 --- a/pyuno/demo/ooextract.py +++ b/pyuno/demo/ooextract.py @@ -1,4 +1,21 @@ # -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# +# 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 . +# import getopt,sys import uno diff --git a/pyuno/demo/pyunoenv.bat b/pyuno/demo/pyunoenv.bat index 1a8239992a4b..b38c61e73d59 100644 --- a/pyuno/demo/pyunoenv.bat +++ b/pyuno/demo/pyunoenv.bat @@ -1,5 +1,22 @@ -set OOOHOME= +rem +rem This file is part of the LibreOffice project. +rem +rem This Source Code Form is subject to the terms of the Mozilla Public +rem License, v. 2.0. If a copy of the MPL was not distributed with this +rem file, You can obtain one at http://mozilla.org/MPL/2.0/. +rem +rem This file incorporates work covered by the following license notice: +rem +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed +rem with this work for additional information regarding copyright +rem ownership. The ASF licenses this file to you under the Apache +rem License, Version 2.0 (the "License"); you may not use this file +rem except in compliance with the License. You may obtain a copy of +rem the License at http://www.apache.org/licenses/LICENSE-2.0 . +rem +set OOOHOME= set PYTHONPATH=.;%OOOHOME%\program;%OOOHOME%\program\pydemo;%OOOHOME%\program\python-2.2.2;%PYTHONPATH% set PATH=%OOOHOME%\program;%PYTHONHOME%;%OOOHOME%\program\python-2.2.2\bin;%PATH% diff --git a/pyuno/demo/swriter.py b/pyuno/demo/swriter.py index bf40a56e99f1..865160a11851 100644 --- a/pyuno/demo/swriter.py +++ b/pyuno/demo/swriter.py @@ -1,4 +1,21 @@ # -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# +# 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 . +# # bootstrap uno component context import uno diff --git a/pyuno/demo/swritercomp.py b/pyuno/demo/swritercomp.py index fd7025f0426f..bdebc9f3f94e 100644 --- a/pyuno/demo/swritercomp.py +++ b/pyuno/demo/swritercomp.py @@ -1,4 +1,21 @@ # -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# +# 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 . +# # just a simple copy of the swriter.py demo, but implemented as a component. The advantage is, # that the component may run within the office process which may give a performance improvement. |