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