10e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 40e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 50e2af6afSAndrew Rist * distributed with this work for additional information 60e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 90e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 100e2af6afSAndrew Rist * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 120e2af6afSAndrew Rist * 130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 140e2af6afSAndrew Rist * software distributed under the License is distributed on an 150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 160e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 170e2af6afSAndrew Rist * specific language governing permissions and limitations 180e2af6afSAndrew Rist * under the License. 190e2af6afSAndrew Rist * 200e2af6afSAndrew Rist *************************************************************/ 210e2af6afSAndrew Rist 220e2af6afSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "about.hrc" 25cdf0e10cSrcweir 26ca04f111SAriel Constenla-Haile#define BTN_WIDTH 50 27ca04f111SAriel Constenla-Haile#define BTN_HEIGHT 14 28ca04f111SAriel Constenla-Haile 29cdf0e10cSrcweirModalDialog RID_DEFAULTABOUT 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpID = "cui:ModalDialog:RID_DEFAULTABOUT"; 32cdf0e10cSrcweir OutputSize = TRUE ; 33cdf0e10cSrcweir Moveable = TRUE ; 34cdf0e10cSrcweir SVLook = TRUE ; 35325547baSAriel Constenla-Haile Size = MAP_APPFONT ( 200 , 150 ) ; 36599cc5b4SOliver-Rainer Wittmann Text [ en-US ] = "About %FULLPRODUCTNAME" ; 3723c0a6f8SAriel Constenla-Haile OKButton RID_CUI_ABOUT_BTN_OK 38cdf0e10cSrcweir { 39cdf0e10cSrcweir DefButton = TRUE ; 40ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ; 41ca04f111SAriel Constenla-Haile }; 42ca04f111SAriel Constenla-Haile PushButton RID_CUI_ABOUT_BTN_README 43ca04f111SAriel Constenla-Haile { 44ca04f111SAriel Constenla-Haile DefButton = FALSE ; 45ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ; 46ca04f111SAriel Constenla-Haile Text [ en-US ] = "License..." ; 47cdf0e10cSrcweir }; 4823c0a6f8SAriel Constenla-Haile FixedText RID_CUI_ABOUT_FTXT_VERSION 49cdf0e10cSrcweir { 50cdf0e10cSrcweir WordBreak = TRUE ; 51599cc5b4SOliver-Rainer Wittmann Text = "%FULLPRODUCTNAME %ABOUTBOXPRODUCTVERSION %PRODUCTEXTENSION" ; 52cdf0e10cSrcweir }; 5323c0a6f8SAriel Constenla-Haile MultiLineEdit RID_CUI_ABOUT_FTXT_BUILDDATA 5423c0a6f8SAriel Constenla-Haile { 5523c0a6f8SAriel Constenla-Haile //HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_BUILDDATA"; 5623c0a6f8SAriel Constenla-Haile Border = FALSE ; 5723c0a6f8SAriel Constenla-Haile IgnoreTab = TRUE ; 5823c0a6f8SAriel Constenla-Haile ReadOnly = TRUE ; 5923c0a6f8SAriel Constenla-Haile AutoVScroll = FALSE ; 6023c0a6f8SAriel Constenla-Haile }; 6123c0a6f8SAriel Constenla-Haile MultiLineEdit RID_CUI_ABOUT_FTXT_COPYRIGHT 62cdf0e10cSrcweir { 63cdf0e10cSrcweir HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_COPYRIGHT"; 64173e4882SAriel Constenla-Haile Border = FALSE ; 65cdf0e10cSrcweir IgnoreTab = TRUE ; 66cdf0e10cSrcweir ReadOnly = TRUE ; 6723c0a6f8SAriel Constenla-Haile AutoVScroll = FALSE ; 6823c0a6f8SAriel Constenla-Haile }; 6923c0a6f8SAriel Constenla-Haile FixedText RID_CUI_ABOUT_FTXT_WELCOME_LINK 7023c0a6f8SAriel Constenla-Haile { 7123c0a6f8SAriel Constenla-Haile Left = TRUE ; 72*981cc00dSDiGro Text = "https://www.openoffice.org/welcome/credits.html"; 73cdf0e10cSrcweir }; 744524451eSJürgen Schmidt String RID_CUI_ABOUT_STR_COPYRIGHT_VENDOR 75cdf0e10cSrcweir { 764524451eSJürgen Schmidt Text[ en-US ] = "%OOOVENDOR"; 774524451eSJürgen Schmidt }; 784524451eSJürgen Schmidt String RID_CUI_ABOUT_STR_CREATED 794524451eSJürgen Schmidt { 804524451eSJürgen Schmidt Text[ en-US ] = "This product was created by the OpenOffice community."; 814524451eSJürgen Schmidt }; 824524451eSJürgen Schmidt String RID_CUI_ABOUT_STR_CREATED_VENDOR 834524451eSJürgen Schmidt { 844524451eSJürgen Schmidt Text[ en-US ] = "This product was created by %OOOVENDOR, based on Apache OpenOffice."; 854524451eSJürgen Schmidt }; 864524451eSJürgen Schmidt String RID_CUI_ABOUT_STR_ACKNOWLEDGE 874524451eSJürgen Schmidt { 884524451eSJürgen Schmidt Text[ en-US ] = "The OpenOffice community acknowledges all contributing members, especially those mentioned at"; 89cdf0e10cSrcweir }; 90ca04f111SAriel Constenla-Haile}; 91ca04f111SAriel Constenla-Haile 92ca04f111SAriel Constenla-Haile 93ca04f111SAriel Constenla-Haile#define TAB_WIDTH 290 94ca04f111SAriel Constenla-Haile#define TAB_HEIGHT 270 95ca04f111SAriel Constenla-Haile 96ca04f111SAriel Constenla-Haile#define CTRL_MARGIN 3 97ca04f111SAriel Constenla-Haile#define DLG_WIDTH CTRL_MARGIN + TAB_WIDTH + CTRL_MARGIN 98ca04f111SAriel Constenla-Haile#define DLG_HEIGHT CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN + BTN_HEIGHT + CTRL_MARGIN 99ca04f111SAriel Constenla-Haile 100ca04f111SAriel Constenla-HaileModalDialog RID_CUI_README_DLG 101ca04f111SAriel Constenla-Haile{ 102ca04f111SAriel Constenla-Haile OutputSize = TRUE ; 103ca04f111SAriel Constenla-Haile SvLook = TRUE ; 104ca04f111SAriel Constenla-Haile Moveable = TRUE ; 105ca04f111SAriel Constenla-Haile Closeable = TRUE; 106ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ; 107ca04f111SAriel Constenla-Haile Text [ en-US ] = "Readme, License and Notice" ; 108ca04f111SAriel Constenla-Haile 109ca04f111SAriel Constenla-Haile TabControl RID_CUI_README_TBCTL 110ca04f111SAriel Constenla-Haile { 111ca04f111SAriel Constenla-Haile OutputSize = TRUE ; 112ca04f111SAriel Constenla-Haile Pos = MAP_APPFONT( CTRL_MARGIN , CTRL_MARGIN ); 113ca04f111SAriel Constenla-Haile Size = MAP_APPFONT( TAB_WIDTH , TAB_HEIGHT ); 114ca04f111SAriel Constenla-Haile PageList = 115ca04f111SAriel Constenla-Haile { 116ca04f111SAriel Constenla-Haile PageItem 117ca04f111SAriel Constenla-Haile { 118ca04f111SAriel Constenla-Haile Identifier = RID_CUI_READMEPAGE ; 119ca04f111SAriel Constenla-Haile PageResID = RID_CUI_README_TBPAGE ; 120ca04f111SAriel Constenla-Haile Text [ en-US ] = "Readme" ; 121ca04f111SAriel Constenla-Haile }; 122ca04f111SAriel Constenla-Haile PageItem 123ca04f111SAriel Constenla-Haile { 124ca04f111SAriel Constenla-Haile Identifier = RID_CUI_LICENSEPAGE ; 125ca04f111SAriel Constenla-Haile PageResID = RID_CUI_README_TBPAGE ; 126ca04f111SAriel Constenla-Haile Text [ en-US ] = "License" ; 127ca04f111SAriel Constenla-Haile }; 128ca04f111SAriel Constenla-Haile PageItem 129ca04f111SAriel Constenla-Haile { 130ca04f111SAriel Constenla-Haile Identifier = RID_CUI_NOTICEPAGE ; 131ca04f111SAriel Constenla-Haile PageResID = RID_CUI_README_TBPAGE ; 132ca04f111SAriel Constenla-Haile Text [ en-US ] = "Notice" ; 133ca04f111SAriel Constenla-Haile }; 134ca04f111SAriel Constenla-Haile }; 135ca04f111SAriel Constenla-Haile }; 136ca04f111SAriel Constenla-Haile 137ca04f111SAriel Constenla-Haile OKButton RID_CUI_README_OKBTN 138ca04f111SAriel Constenla-Haile { 139ca04f111SAriel Constenla-Haile DefButton = TRUE ; 140ca04f111SAriel Constenla-Haile Pos = MAP_APPFONT( 0, CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN ); 141ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( BTN_WIDTH , BTN_HEIGHT ) ; 142ca04f111SAriel Constenla-Haile }; 143ca04f111SAriel Constenla-Haile}; 144ca04f111SAriel Constenla-Haile 145ca04f111SAriel Constenla-HaileTabPage RID_CUI_README_TBPAGE 146ca04f111SAriel Constenla-Haile{ 147ca04f111SAriel Constenla-Haile OutputSize = TRUE ; 148ca04f111SAriel Constenla-Haile SVLook = TRUE ; 149ca04f111SAriel Constenla-Haile Hide = TRUE ; 150ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( TAB_WIDTH , TAB_HEIGHT ) ; 151ca04f111SAriel Constenla-Haile 152ca04f111SAriel Constenla-Haile MultiLineEdit RID_CUI_README_TBPAGE_EDIT 153ca04f111SAriel Constenla-Haile { 154ca04f111SAriel Constenla-Haile Border = TRUE ; 155ca04f111SAriel Constenla-Haile IgnoreTab = TRUE ; 156ca04f111SAriel Constenla-Haile ReadOnly = TRUE ; 157ca04f111SAriel Constenla-Haile AutoVScroll = TRUE ; 158ca04f111SAriel Constenla-Haile Pos = MAP_APPFONT( CTRL_MARGIN , CTRL_MARGIN ); 159ca04f111SAriel Constenla-Haile Size = MAP_APPFONT( TAB_WIDTH - CTRL_MARGIN - CTRL_MARGIN, TAB_HEIGHT - CTRL_MARGIN - CTRL_MARGIN ); 160ca04f111SAriel Constenla-Haile }; 161cdf0e10cSrcweir}; 162cdf0e10cSrcweir 163