Typo: skiped->skipped
[LibreOffice.git] / TEMPLATE.SOURCECODE.HEADER
blob12c3d5557cb7768668bbe56e6217c859d0133426
1 ------------------------------------------------------------------------
3                           * Stop / Think *
5         You need to choose either a pure MPLv2 header (from the top),
6 or an MPLv2 on ALv2 header (from the bottom).
8         If the new module you created is based in any way on an
9 existing module, then:
11         a) if that module has an MPLv2 on ALv2 header - please use
12            this option or
14         b) if the module is entirely your own work, and/or based on an
15            existing MPLv2 header - please use that header.
17         Otherwise, use the pure MPLv2 header for new code.
19         For any questions please contact me directly:
20                             michael.meeks@collabora.com.
22         Thanks !
24 ------------------------------------------------------------------------
26              For all entirely new, original source files created by
27                         LibreOffice hackers:
29 ------------------------------------------------------------------------
31 For C/C++/Java/IDL etc.
33 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
35  * This file is part of the LibreOffice project.
36  *
37  * This Source Code Form is subject to the terms of the Mozilla Public
38  * License, v. 2.0. If a copy of the MPL was not distributed with this
39  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
40  */
41 ...
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
44 For makefiles:
46 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
48 # This file is part of the LibreOffice project.
50 # This Source Code Form is subject to the terms of the Mozilla Public
51 # License, v. 2.0. If a copy of the MPL was not distributed with this
52 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
54 ...
55 # vim: set noet sw=4 ts=4:
57 For XML / .component:
59 <?xml version="1.0" encoding="UTF-8"?>
60 <!--
61  * This file is part of the LibreOffice project.
62  *
63  * This Source Code Form is subject to the terms of the Mozilla Public
64  * License, v. 2.0. If a copy of the MPL was not distributed with this
65  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
66  *
67 -->
70 ------------------------------------------------------------------------
72              For source files which may contain code
73                from the Apache Software Foundation:
75 ------------------------------------------------------------------------
77 For C/C++/Java/IDL etc.
79 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
81  * This file is part of the LibreOffice project.
82  *
83  * This Source Code Form is subject to the terms of the Mozilla Public
84  * License, v. 2.0. If a copy of the MPL was not distributed with this
85  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
86  *
87  * This file incorporates work covered by the following license notice:
88  *
89  *   Licensed to the Apache Software Foundation (ASF) under one or more
90  *   contributor license agreements. See the NOTICE file distributed
91  *   with this work for additional information regarding copyright
92  *   ownership. The ASF licenses this file to you under the Apache
93  *   License, Version 2.0 (the "License"); you may not use this file
94  *   except in compliance with the License. You may obtain a copy of
95  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
96  */
97 ...
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
100 For makefiles, perl, scripts etc.
102 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
104 # This file is part of the LibreOffice project.
106 # This Source Code Form is subject to the terms of the Mozilla Public
107 # License, v. 2.0. If a copy of the MPL was not distributed with this
108 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
110 # This file incorporates work covered by the following license notice:
112 #   Licensed to the Apache Software Foundation (ASF) under one or more
113 #   contributor license agreements. See the NOTICE file distributed
114 #   with this work for additional information regarding copyright
115 #   ownership. The ASF licenses this file to you under the Apache
116 #   License, Version 2.0 (the "License"); you may not use this file
117 #   except in compliance with the License. You may obtain a copy of
118 #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
121 # vim: set noet sw=4 ts=4:
123 For XML / .component:
125 <?xml version="1.0" encoding="UTF-8"?>
126 <!--
127  * This file is part of the LibreOffice project.
129  * This Source Code Form is subject to the terms of the Mozilla Public
130  * License, v. 2.0. If a copy of the MPL was not distributed with this
131  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
133  * This file incorporates work covered by the following license notice:
135  *   Licensed to the Apache Software Foundation (ASF) under one or more
136  *   contributor license agreements. See the NOTICE file distributed
137  *   with this work for additional information regarding copyright
138  *   ownership. The ASF licenses this file to you under the Apache
139  *   License, Version 2.0 (the "License"); you may not use this file
140  *   except in compliance with the License. You may obtain a copy of
141  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .