1*cc8deb09SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*cc8deb09SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*cc8deb09SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*cc8deb09SAndrew Rist * distributed with this work for additional information 6*cc8deb09SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*cc8deb09SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*cc8deb09SAndrew Rist * "License"); you may not use this file except in compliance 9*cc8deb09SAndrew Rist * with the License. You may obtain a copy of the License at 10*cc8deb09SAndrew Rist * 11*cc8deb09SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*cc8deb09SAndrew Rist * 13*cc8deb09SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*cc8deb09SAndrew Rist * software distributed under the License is distributed on an 15*cc8deb09SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*cc8deb09SAndrew Rist * KIND, either express or implied. See the License for the 17*cc8deb09SAndrew Rist * specific language governing permissions and limitations 18*cc8deb09SAndrew Rist * under the License. 19*cc8deb09SAndrew Rist * 20*cc8deb09SAndrew Rist *************************************************************/ 21*cc8deb09SAndrew Rist 22*cc8deb09SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#if !defined(ENGLISH) 25cdf0e10cSrcweir#define LG_D // generate always german version 26cdf0e10cSrcweir#endif 27cdf0e10cSrcweir 28cdf0e10cSrcweir#define VER_FIRSTYEAR 2000 29cdf0e10cSrcweir 30cdf0e10cSrcweir#include <windows.h> 31cdf0e10cSrcweir#include "version.hrc" 32cdf0e10cSrcweir 33cdf0e10cSrcweir// ----------------------------------------------------------------------- 34cdf0e10cSrcweir// version information 35cdf0e10cSrcweir// ----------------------------------------------------------------------- 36cdf0e10cSrcweir 37cdf0e10cSrcweirVS_VERSION_INFO versioninfo 38cdf0e10cSrcweir fileversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT 39cdf0e10cSrcweir productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT 40cdf0e10cSrcweir fileflagsmask 0x3F 41cdf0e10cSrcweir fileflags 42cdf0e10cSrcweir#if defined(DEBUG) 43cdf0e10cSrcweir VS_FF_DEBUG | 44cdf0e10cSrcweir#endif 45cdf0e10cSrcweir#ifdef VER_PREL 46cdf0e10cSrcweir VS_FF_PRERELEASE | 47cdf0e10cSrcweir#endif 48cdf0e10cSrcweir 0 49cdf0e10cSrcweir#ifndef WIN32 50cdf0e10cSrcweir fileos VOS_DOS_WINDOWS16 51cdf0e10cSrcweir#else 52cdf0e10cSrcweir fileos VOS_NT_WINDOWS32 53cdf0e10cSrcweir#endif 54cdf0e10cSrcweir filetype VFT_APP 55cdf0e10cSrcweir { 56cdf0e10cSrcweir block "StringFileInfo" 57cdf0e10cSrcweir { 58cdf0e10cSrcweir#ifdef LG_D 59cdf0e10cSrcweir block "040704E4" 60cdf0e10cSrcweir { 61cdf0e10cSrcweir // German StringTable 62cdf0e10cSrcweir value "CompanyName", "OpenOffice.org\0" 63cdf0e10cSrcweir value "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0" 64cdf0e10cSrcweir value "FileVersion", PPS(VER_LEVEL) "\0" 65cdf0e10cSrcweir value "ProductVersion", PPS(VER_LEVEL) "\0" 66cdf0e10cSrcweir value "OriginalFilename", "SOFFICE.EXE\0" 67cdf0e10cSrcweir value "InternalName", "SOFFICE\0" 68cdf0e10cSrcweir value "LegalCopyright", S_CRIGHT " Oracle, Inc.\0" 69cdf0e10cSrcweir } 70cdf0e10cSrcweir#else 71cdf0e10cSrcweir block "040904E4" 72cdf0e10cSrcweir { 73cdf0e10cSrcweir // International StringTable 74cdf0e10cSrcweir value "CompanyName", "OpenOffice.org\0" 75cdf0e10cSrcweir value "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0" 76cdf0e10cSrcweir value "FileVersion", PPS(VER_LEVEL) "\0" 77cdf0e10cSrcweir value "ProductVersion", PPS(VER_LEVEL) "\0" 78cdf0e10cSrcweir value "OriginalFilename", "SOFFICE.EXE\0" 79cdf0e10cSrcweir value "InternalName", "SOFFICE\0" 80cdf0e10cSrcweir value "LegalCopyright", S_CRIGHT " Oracle, Inc.\0" 81cdf0e10cSrcweir } 82cdf0e10cSrcweir#endif 83cdf0e10cSrcweir } 84cdf0e10cSrcweir 85cdf0e10cSrcweir block "VarFileInfo" 86cdf0e10cSrcweir { 87cdf0e10cSrcweir#ifdef LG_D 88cdf0e10cSrcweir value "Translation", 0x0407, 1252 89cdf0e10cSrcweir#else 90cdf0e10cSrcweir value "Translation", 0x0409, 1252 91cdf0e10cSrcweir#endif 92cdf0e10cSrcweir } 93cdf0e10cSrcweir } 94cdf0e10cSrcweir 95cdf0e10cSrcweir2 ICON "icons\\oasis-text.ico" 96cdf0e10cSrcweir3 ICON "icons\\oasis-text-template.ico" 97cdf0e10cSrcweir4 ICON "icons\\oasis-spreadsheet.ico" 98cdf0e10cSrcweir5 ICON "icons\\oasis-spreadsheet-template.ico" 99cdf0e10cSrcweir6 ICON "icons\\oasis-drawing.ico" 100cdf0e10cSrcweir7 ICON "icons\\oasis-drawing-template.ico" 101cdf0e10cSrcweir8 ICON "icons\\oasis-presentation.ico" 102cdf0e10cSrcweir9 ICON "icons\\oasis-presentation-template.ico" 103cdf0e10cSrcweir10 ICON "icons\\oasis-presentation-template.ico" 104cdf0e10cSrcweir11 ICON "icons\\oasis-master-document.ico" 105cdf0e10cSrcweir12 ICON "icons\\oasis-web-template.ico" 106cdf0e10cSrcweir13 ICON "icons\\oasis-empty-document.ico" 107cdf0e10cSrcweir14 ICON "icons\\oasis-database.ico" 108cdf0e10cSrcweir15 ICON "icons\\oasis-formula.ico" 109cdf0e10cSrcweir16 ICON "icons\\oasis-web-template.ico" 110cdf0e10cSrcweir17 ICON "icons\\empty-document.ico" 111cdf0e10cSrcweir18 ICON "icons\\empty-document.ico" 112cdf0e10cSrcweir19 ICON "icons\\ooo3_open.ico" 113cdf0e10cSrcweir20 ICON "icons\\empty-document.ico" 114cdf0e10cSrcweir21 ICON "icons\\ooo3_writer_app.ico" 115cdf0e10cSrcweir22 ICON "icons\\ooo3_calc_app.ico" 116cdf0e10cSrcweir23 ICON "icons\\ooo3_draw_app.ico" 117cdf0e10cSrcweir24 ICON "icons\\ooo3_impress_app.ico" 118cdf0e10cSrcweir25 ICON "icons\\ooo3_math_app.ico" 119cdf0e10cSrcweir26 ICON "icons\\ooo3_base_app.ico" 120cdf0e10cSrcweir27 ICON "icons\\oasis-empty-document.ico" 121cdf0e10cSrcweir28 ICON "icons\\text.ico" 122cdf0e10cSrcweir29 ICON "icons\\text-template.ico" 123cdf0e10cSrcweir30 ICON "icons\\spreadsheet.ico" 124cdf0e10cSrcweir31 ICON "icons\\spreadsheet-template.ico" 125cdf0e10cSrcweir32 ICON "icons\\drawing.ico" 126cdf0e10cSrcweir33 ICON "icons\\drawing-template.ico" 127cdf0e10cSrcweir34 ICON "icons\\presentation.ico" 128cdf0e10cSrcweir35 ICON "icons\\presentation-template.ico" 129cdf0e10cSrcweir36 ICON "icons\\master-document.ico" 130cdf0e10cSrcweir37 ICON "icons\\empty-document.ico" 131cdf0e10cSrcweir38 ICON "icons\\database.ico" 132cdf0e10cSrcweir39 ICON "icons\\formula.ico" 133cdf0e10cSrcweir40 ICON "icons\\oxt-extension.ico" 134cdf0e10cSrcweir 135