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_so.hrc"
36
37// -----------------------------------------------------------------------
38// 				version information
39// -----------------------------------------------------------------------
40
41VS_VERSION_INFO versioninfo
42#ifndef SUBVERSION
43	fileversion    VERSION, 0, VERVARIANT, VER_COUNT
44	productversion VERSION, 0, VERVARIANT, VER_COUNT
45#else
46	fileversion    VERSION, SUBVERSION, VERVARIANT, VER_COUNT
47	productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT
48#endif
49	fileflagsmask 0x3F
50	fileflags
51#if defined(DEBUG)
52	VS_FF_DEBUG |
53#endif
54#ifdef VER_PREL
55	VS_FF_PRERELEASE |
56#endif
57	0
58#ifndef WIN32
59	fileos VOS_DOS_WINDOWS16
60#else
61	fileos VOS_NT_WINDOWS32
62#endif
63	filetype VFT_APP
64	{
65		block "StringFileInfo"
66		{
67#ifdef LG_D
68			block "040704E4"
69			{
70				// German StringTable
71				value "CompanyName",		"Oracle\0"
72				value "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0"
73				value "FileVersion",		PPS(VER_LEVEL) "\0"
74				value "ProductVersion",		PPS(VER_LEVEL) "\0"
75				value "OriginalFilename",	PPS(RES_APP_NAME) ".exe\0"
76				value "InternalName",		PPS(RES_APP_NAME) "\0"
77				value "LegalCopyright",		S_CRIGHT " Oracle and/or its affiliates. All rights reserved.\0"
78			}
79#else
80			block "040904E4"
81			{
82				// International StringTable
83				value "CompanyName", 		"Oracle\0"
84				value "FileDescription",	"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0"
85				value "FileVersion",		PPS(VER_LEVEL) "\0"
86				value "ProductVersion",		PPS(VER_LEVEL) "\0"
87				value "OriginalFilename",	PPS(RES_APP_NAME) ".exe\0"
88				value "InternalName",		PPS(RES_APP_NAME) "\0"
89				value "LegalCopyright", 	S_CRIGHT " Oracle and/or its affiliates. All rights reserved.\0"
90			}
91#endif
92		}
93
94		block "VarFileInfo"
95		{
96#ifdef LG_D
97			value "Translation", 0x0407, 1252
98#else
99			value "Translation", 0x0409, 1252
100#endif
101		}
102	}
103