2012-06-22 08:24:47 -05:00
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
2012-08-08 08:12:19 -05:00
|
|
|
* Stop / Think *
|
|
|
|
|
|
|
|
You need to choose either a pure MPLv2 header (from the top),
|
|
|
|
or an MPLv2 on ALv2 header (from the bottom).
|
|
|
|
|
|
|
|
If the new module you created is based in any way on an
|
|
|
|
existing module, then:
|
|
|
|
|
|
|
|
a) if that module has an LGPLv3+ header - please retain that
|
|
|
|
in the new code, it will get updated when that module is
|
|
|
|
re-based.
|
|
|
|
|
|
|
|
b) if that module has an MPLv2 on ALv2 header - please use
|
|
|
|
this option or
|
|
|
|
|
|
|
|
c) if the module is entirely your own work, and/or based on an
|
|
|
|
existing MPLv2 header - please use that header.
|
|
|
|
|
|
|
|
For any questions please contact me directly:
|
|
|
|
michael.meeks@suse.com.
|
|
|
|
|
|
|
|
Thanks !
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
|
|
|
For all entirely new, original source files created by
|
2012-06-22 08:24:47 -05:00
|
|
|
LibreOffice hackers:
|
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
2012-06-13 07:40:14 -05:00
|
|
|
For C/C++/Java/IDL etc.
|
|
|
|
|
2011-10-26 13:40:15 -05:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2011-01-11 15:49:39 -06:00
|
|
|
/*
|
2012-06-13 07:40:14 -05:00
|
|
|
* This file is part of the LibreOffice project.
|
2011-01-11 15:49:39 -06:00
|
|
|
*
|
2012-04-19 09:01:03 -05:00
|
|
|
* 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/.
|
2011-01-11 15:49:39 -06:00
|
|
|
*/
|
2011-10-26 13:40:15 -05:00
|
|
|
...
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
2012-06-13 07:40:14 -05:00
|
|
|
|
|
|
|
For makefiles:
|
|
|
|
|
2012-06-13 20:31:32 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2012-06-13 07:40:14 -05:00
|
|
|
#
|
|
|
|
# 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/.
|
|
|
|
#
|
2012-06-13 20:31:32 -05:00
|
|
|
...
|
|
|
|
# vim: set noet sw=4 ts=4:
|
2012-06-13 07:40:14 -05:00
|
|
|
|
|
|
|
For XML / .component:
|
|
|
|
|
2012-06-13 11:07:46 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-06-13 07:40:14 -05:00
|
|
|
<!--
|
|
|
|
* 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/.
|
|
|
|
*
|
|
|
|
-->
|
|
|
|
|
2012-06-22 08:24:47 -05:00
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
2012-08-08 08:12:19 -05:00
|
|
|
For source files which may contain code
|
|
|
|
from the Apache Software Foundation:
|
2012-06-22 08:24:47 -05:00
|
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
|
|
|
For C/C++/Java/IDL etc.
|
|
|
|
|
2013-05-14 03:00:40 -05:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-22 08:24:47 -05:00
|
|
|
/*
|
|
|
|
* 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 .
|
|
|
|
*/
|
2013-05-14 03:00:40 -05:00
|
|
|
...
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
2012-06-22 08:24:47 -05:00
|
|
|
|
|
|
|
For makefiles, perl, scripts etc.
|
|
|
|
|
2013-05-14 03:00:40 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2012-06-22 08:24:47 -05:00
|
|
|
#
|
|
|
|
# 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 .
|
|
|
|
#
|
2013-05-14 03:00:40 -05:00
|
|
|
...
|
|
|
|
# vim: set noet sw=4 ts=4:
|
2012-06-26 03:49:35 -05:00
|
|
|
|
|
|
|
For XML / .component:
|
|
|
|
|
2013-05-14 03:00:40 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-06-26 03:49:35 -05:00
|
|
|
<!--
|
|
|
|
* 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 .
|
|
|
|
-->
|