1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 *************************************************************************/
27
28#if !defined(ENGLISH)
29#define LG_D 					// generate always german version
30#endif
31
32#define VER_FIRSTYEAR	2009
33
34#include <windows.h>
35#include "version.hrc"
36
37// -----------------------------------------------------------------------
38// 				version information
39// -----------------------------------------------------------------------
40
41VS_VERSION_INFO versioninfo
42	fileversion    VERSION, SUBVERSION, VERVARIANT, VER_COUNT
43	productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT
44	fileflagsmask 0x3F
45	fileflags
46#if defined(DEBUG)
47	VS_FF_DEBUG |
48#endif
49#ifdef VER_PREL
50	VS_FF_PRERELEASE |
51#endif
52	0
53#ifndef WIN32
54	fileos VOS_DOS_WINDOWS16
55#else
56	fileos VOS_NT_WINDOWS32
57#endif
58	filetype VFT_APP
59	{
60		block "StringFileInfo"
61		{
62#ifdef LG_D
63			block "040704E4"
64			{
65				// German StringTable
66				value "CompanyName",		"OpenOffice.org\0"
67				value "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0"
68				value "FileVersion",		PPS(VER_LEVEL) "\0"
69				value "ProductVersion",		PPS(VER_LEVEL) "\0"
70				value "OriginalFilename",	PPS(RES_APP_NAME) ".exe\0"
71				value "InternalName",		PPS(RES_APP_NAME) "\0"
72				value "LegalCopyright",		S_CRIGHT " Oracle and/or its affiliates. All rights reserved.\0"
73			}
74#else
75			block "040904E4"
76			{
77				// International StringTable
78				value "CompanyName", 		"OpenOffice.org\0"
79				value "FileDescription",	"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0"
80				value "FileVersion",		PPS(VER_LEVEL) "\0"
81				value "ProductVersion",		PPS(VER_LEVEL) "\0"
82				value "OriginalFilename",	PPS(RES_APP_NAME) ".exe\0"
83				value "InternalName",		PPS(RES_APP_NAME) "\0"
84				value "LegalCopyright", 	S_CRIGHT " Oracle and/or its affiliates. All rights reserved.\0"
85			}
86#endif
87		}
88
89		block "VarFileInfo"
90		{
91#ifdef LG_D
92			value "Translation", 0x0407, 1252
93#else
94			value "Translation", 0x0409, 1252
95#endif
96		}
97	}
98