merge the formfield patch from ooo-build
[ooovba.git] / solenv / inc / shlinfo.rc
blob07853e84862e0f6b75e11953bb3ef2b729d101a1
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
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  ************************************************************************/
28 #if !defined(ENGLISH)
29 #define LG_D                                    // generate always german version
30 #endif
32 #define VER_FIRSTYEAR   2008
35 #if defined(OS2)
37 #define OS2_VERSION "hello world"
39 #else
41 #include <windows.h>
42 #include "version.hrc"
44 // -----------------------------------------------------------------------
45 //                              version information
46 // -----------------------------------------------------------------------
48 VS_VERSION_INFO versioninfo
49 #ifndef SUBVERSION
50         fileversion    VERSION, 0, VERVARIANT, VER_COUNT
51         productversion VERSION, 0, VERVARIANT, VER_COUNT
52 #else
53         fileversion    VERSION, SUBVERSION, VERVARIANT, VER_COUNT
54         productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT
55 #endif
56         fileflagsmask 0x3F
57         fileflags
58 #if defined(DEBUG)
59         VS_FF_DEBUG |
60 #endif
61 #ifdef VER_PREL
62         VS_FF_PRERELEASE |
63 #endif
64         0
65 #ifndef WIN32
66         fileos VOS_DOS_WINDOWS16
67 #else
68         fileos VOS_NT_WINDOWS32
69 #endif
70         filetype VFT_APP
71         {
72                 block "StringFileInfo"
73                 {
74 #ifdef LG_D
75                         block "040704E4"
76                         {
77                                 // German StringTable
78                                 value "CompanyName",            "OpenOffice.org\0"
79                                 value "FileVersion",            PPS(VER_LEVEL) "\0"
80                                 value "OriginalFilename",       PPS(ORG_NAME) "\0"
81                                 value "InternalName",           PPS(INTERNAL_NAME) "\0"
82                                 value "LegalCopyright",         S_CRIGHT " Sun Microsystems, Inc.\0"
83                                 ADDITIONAL_VERINFO1
84                                 ADDITIONAL_VERINFO2
85                                 ADDITIONAL_VERINFO3
86                         }
87 #else
88                         block "040904E4"
89                         {
90                                 // International StringTable
91                                 value "CompanyName",            "OpenOffice.org\0"
92                                 value "FileVersion",            PPS(VER_LEVEL) "\0"
93                                 value "OriginalFilename",       PPS(ORG_NAME) "\0"
94                                 value "InternalName",           PPS(INTERNAL_NAME) "\0"
95                                 value "LegalCopyright",         S_CRIGHT " Sun Microsystems, Inc.\0"
96                                 ADDITIONAL_VERINFO1
97                                 ADDITIONAL_VERINFO2
98                                 ADDITIONAL_VERINFO3
99                         }
100 #endif
101                 }
103                 block "VarFileInfo"
104                 {
105 #ifdef LG_D
106                         value "Translation", 0x0407, 1252
107 #else
108                         value "Translation", 0x0409, 1252
109 #endif
110                 }
111         }
113 #endif // OS2