1 ------------------------------------------------------------------------
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
11 a) if that module has an MPLv2 on ALv2 header - please use
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.
24 ------------------------------------------------------------------------
26 For all entirely new, original source files created by
29 ------------------------------------------------------------------------
31 For C/C++/Java/IDL etc.
33 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
35 * This file is part of the LibreOffice project.
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/.
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
46 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
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/.
55 # vim: set noet sw=4 ts=4:
59 # -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
61 # This file is part of the LibreOffice project.
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/.
68 # vim: set shiftwidth=4 softtabstop=4 expandtab:
72 <?xml version="1.0" encoding="UTF-8"?>
74 * This file is part of the LibreOffice project.
76 * This Source Code Form is subject to the terms of the Mozilla Public
77 * License, v. 2.0. If a copy of the MPL was not distributed with this
78 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
83 ------------------------------------------------------------------------
85 For source files which may contain code
86 from the Apache Software Foundation:
88 ------------------------------------------------------------------------
90 For C/C++/Java/IDL etc.
92 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
94 * This file is part of the LibreOffice project.
96 * This Source Code Form is subject to the terms of the Mozilla Public
97 * License, v. 2.0. If a copy of the MPL was not distributed with this
98 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
100 * This file incorporates work covered by the following license notice:
102 * Licensed to the Apache Software Foundation (ASF) under one or more
103 * contributor license agreements. See the NOTICE file distributed
104 * with this work for additional information regarding copyright
105 * ownership. The ASF licenses this file to you under the Apache
106 * License, Version 2.0 (the "License"); you may not use this file
107 * except in compliance with the License. You may obtain a copy of
108 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
111 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
113 For makefiles, perl, scripts etc.
115 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
117 # This file is part of the LibreOffice project.
119 # This Source Code Form is subject to the terms of the Mozilla Public
120 # License, v. 2.0. If a copy of the MPL was not distributed with this
121 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
123 # This file incorporates work covered by the following license notice:
125 # Licensed to the Apache Software Foundation (ASF) under one or more
126 # contributor license agreements. See the NOTICE file distributed
127 # with this work for additional information regarding copyright
128 # ownership. The ASF licenses this file to you under the Apache
129 # License, Version 2.0 (the "License"); you may not use this file
130 # except in compliance with the License. You may obtain a copy of
131 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
134 # vim: set noet sw=4 ts=4:
136 For XML / .component:
138 <?xml version="1.0" encoding="UTF-8"?>
140 * This file is part of the LibreOffice project.
142 * This Source Code Form is subject to the terms of the Mozilla Public
143 * License, v. 2.0. If a copy of the MPL was not distributed with this
144 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
146 * This file incorporates work covered by the following license notice:
148 * Licensed to the Apache Software Foundation (ASF) under one or more
149 * contributor license agreements. See the NOTICE file distributed
150 * with this work for additional information regarding copyright
151 * ownership. The ASF licenses this file to you under the Apache
152 * License, Version 2.0 (the "License"); you may not use this file
153 * except in compliance with the License. You may obtain a copy of
154 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
158 ------------------------------------------------------------------------
160 For source headers which are part of
161 LibreOffice published API:
163 ------------------------------------------------------------------------
165 In published API header files, the following notice should be appended after the license header:
168 * This file is part of LibreOffice project published API