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 10cdf0e10cSrcweir * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 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. 19cdf0e10cSrcweir * 200e2af6afSAndrew Rist *************************************************************/ 210e2af6afSAndrew Rist 22cdf0e10cSrcweir#include "about.hrc" 23cdf0e10cSrcweir 24ca04f111SAriel Constenla-Haile#define BTN_WIDTH 50 25ca04f111SAriel Constenla-Haile#define BTN_HEIGHT 14 26ca04f111SAriel Constenla-Haile 27cdf0e10cSrcweirModalDialog RID_DEFAULTABOUT 28cdf0e10cSrcweir{ 29cdf0e10cSrcweir HelpID = "cui:ModalDialog:RID_DEFAULTABOUT" ; 30cdf0e10cSrcweir OutputSize = TRUE ; 31cdf0e10cSrcweir Moveable = TRUE ; 32cdf0e10cSrcweir SVLook = TRUE ; 33325547baSAriel Constenla-Haile Size = MAP_APPFONT ( 200, 150 ) ; 34599cc5b4SOliver-Rainer Wittmann Text [ en-US ] = "About %FULLPRODUCTNAME" ; 3523c0a6f8SAriel Constenla-Haile OKButton RID_CUI_ABOUT_BTN_OK 36cdf0e10cSrcweir { 37cdf0e10cSrcweir DefButton = TRUE ; 38ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGHT ) ; 39ca04f111SAriel Constenla-Haile }; 40ca04f111SAriel Constenla-Haile PushButton RID_CUI_ABOUT_BTN_README 41ca04f111SAriel Constenla-Haile { 42ca04f111SAriel Constenla-Haile DefButton = FALSE ; 43ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGHT ) ; 44ca04f111SAriel Constenla-Haile Text [ en-US ] = "License..." ; 45cdf0e10cSrcweir }; 4623c0a6f8SAriel Constenla-Haile FixedText RID_CUI_ABOUT_FTXT_VERSION 47cdf0e10cSrcweir { 48cdf0e10cSrcweir WordBreak = TRUE ; 49599cc5b4SOliver-Rainer Wittmann Text = "%FULLPRODUCTNAME %ABOUTBOXPRODUCTVERSION %PRODUCTEXTENSION" ; 50cdf0e10cSrcweir }; 5123c0a6f8SAriel Constenla-Haile MultiLineEdit RID_CUI_ABOUT_FTXT_BUILDDATA 5223c0a6f8SAriel Constenla-Haile { 5323c0a6f8SAriel Constenla-Haile //HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_BUILDDATA" ; 5423c0a6f8SAriel Constenla-Haile Border = FALSE ; 5523c0a6f8SAriel Constenla-Haile IgnoreTab = TRUE ; 5623c0a6f8SAriel Constenla-Haile ReadOnly = TRUE ; 5723c0a6f8SAriel Constenla-Haile AutoVScroll = FALSE ; 5823c0a6f8SAriel Constenla-Haile }; 5923c0a6f8SAriel Constenla-Haile MultiLineEdit RID_CUI_ABOUT_FTXT_COPYRIGHT 60cdf0e10cSrcweir { 61cdf0e10cSrcweir HelpID = "cui:MultiLineEdit:RID_DEFAULTABOUT:ABOUT_FTXT_COPYRIGHT" ; 62173e4882SAriel Constenla-Haile Border = FALSE ; 63cdf0e10cSrcweir IgnoreTab = TRUE ; 64cdf0e10cSrcweir ReadOnly = TRUE ; 6523c0a6f8SAriel Constenla-Haile AutoVScroll = FALSE ; 66cdf0e10cSrcweir }; 6723c0a6f8SAriel Constenla-Haile FixedText RID_CUI_ABOUT_FTXT_WELCOME_LINK 68cdf0e10cSrcweir { 6923c0a6f8SAriel Constenla-Haile Left = TRUE ; 704d56bd9dSMatthias Seidel Text = "https://www.openoffice.org/welcome/credits.html" ; 7123c0a6f8SAriel Constenla-Haile }; 724524451eSJürgen Schmidt String RID_CUI_ABOUT_STR_COPYRIGHT_VENDOR 7323c0a6f8SAriel Constenla-Haile { 74*3abe7c57SMatthias Seidel Text = "%OOOVENDOR" ; 754524451eSJürgen Schmidt }; 764524451eSJürgen Schmidt String RID_CUI_ABOUT_STR_CREATED 774524451eSJürgen Schmidt { 784524451eSJürgen Schmidt Text [ en-US ] = "This product was created by the OpenOffice community." ; 794524451eSJürgen Schmidt }; 804524451eSJürgen Schmidt String RID_CUI_ABOUT_STR_CREATED_VENDOR 814524451eSJürgen Schmidt { 824524451eSJürgen Schmidt Text [ en-US ] = "This product was created by %OOOVENDOR, based on Apache OpenOffice." ; 834524451eSJürgen Schmidt }; 844524451eSJürgen Schmidt String RID_CUI_ABOUT_STR_ACKNOWLEDGE 854524451eSJürgen Schmidt { 864524451eSJürgen Schmidt Text [ en-US ] = "The OpenOffice community acknowledges all contributing members, especially those mentioned at" ; 87cdf0e10cSrcweir }; 88ca04f111SAriel Constenla-Haile}; 89ca04f111SAriel Constenla-Haile 90ca04f111SAriel Constenla-Haile 91ca04f111SAriel Constenla-Haile#define TAB_WIDTH 290 92ca04f111SAriel Constenla-Haile#define TAB_HEIGHT 270 93ca04f111SAriel Constenla-Haile 94ca04f111SAriel Constenla-Haile#define CTRL_MARGIN 3 95ca04f111SAriel Constenla-Haile#define DLG_WIDTH CTRL_MARGIN + TAB_WIDTH + CTRL_MARGIN 96ca04f111SAriel Constenla-Haile#define DLG_HEIGHT CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN + BTN_HEIGHT + CTRL_MARGIN 97ca04f111SAriel Constenla-Haile 98ca04f111SAriel Constenla-HaileModalDialog RID_CUI_README_DLG 99ca04f111SAriel Constenla-Haile{ 100ca04f111SAriel Constenla-Haile OutputSize = TRUE ; 101ca04f111SAriel Constenla-Haile SvLook = TRUE ; 102ca04f111SAriel Constenla-Haile Moveable = TRUE ; 103ca04f111SAriel Constenla-Haile Closeable = TRUE ; 104ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ; 105ca04f111SAriel Constenla-Haile Text [ en-US ] = "Readme, License and Notice" ; 106ca04f111SAriel Constenla-Haile 107ca04f111SAriel Constenla-Haile TabControl RID_CUI_README_TBCTL 108ca04f111SAriel Constenla-Haile { 109ca04f111SAriel Constenla-Haile OutputSize = TRUE ; 110ca04f111SAriel Constenla-Haile Pos = MAP_APPFONT ( CTRL_MARGIN, CTRL_MARGIN ) ; 111ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( TAB_WIDTH, TAB_HEIGHT ) ; 112ca04f111SAriel Constenla-Haile PageList = 113ca04f111SAriel Constenla-Haile { 114ca04f111SAriel Constenla-Haile PageItem 115ca04f111SAriel Constenla-Haile { 116ca04f111SAriel Constenla-Haile Identifier = RID_CUI_READMEPAGE ; 117ca04f111SAriel Constenla-Haile PageResID = RID_CUI_README_TBPAGE ; 118ca04f111SAriel Constenla-Haile Text [ en-US ] = "Readme" ; 119ca04f111SAriel Constenla-Haile }; 120ca04f111SAriel Constenla-Haile PageItem 121ca04f111SAriel Constenla-Haile { 122ca04f111SAriel Constenla-Haile Identifier = RID_CUI_LICENSEPAGE ; 123ca04f111SAriel Constenla-Haile PageResID = RID_CUI_README_TBPAGE ; 124ca04f111SAriel Constenla-Haile Text [ en-US ] = "License" ; 125ca04f111SAriel Constenla-Haile }; 126ca04f111SAriel Constenla-Haile PageItem 127ca04f111SAriel Constenla-Haile { 128ca04f111SAriel Constenla-Haile Identifier = RID_CUI_NOTICEPAGE ; 129ca04f111SAriel Constenla-Haile PageResID = RID_CUI_README_TBPAGE ; 130ca04f111SAriel Constenla-Haile Text [ en-US ] = "Notice" ; 131ca04f111SAriel Constenla-Haile }; 132ca04f111SAriel Constenla-Haile }; 133ca04f111SAriel Constenla-Haile }; 134ca04f111SAriel Constenla-Haile 135ca04f111SAriel Constenla-Haile OKButton RID_CUI_README_OKBTN 136ca04f111SAriel Constenla-Haile { 137ca04f111SAriel Constenla-Haile DefButton = TRUE ; 138ca04f111SAriel Constenla-Haile Pos = MAP_APPFONT ( 0, CTRL_MARGIN + TAB_HEIGHT + CTRL_MARGIN ) ; 139ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( BTN_WIDTH, BTN_HEIGHT ) ; 140ca04f111SAriel Constenla-Haile }; 141ca04f111SAriel Constenla-Haile}; 142ca04f111SAriel Constenla-Haile 143ca04f111SAriel Constenla-HaileTabPage RID_CUI_README_TBPAGE 144ca04f111SAriel Constenla-Haile{ 145ca04f111SAriel Constenla-Haile OutputSize = TRUE ; 146ca04f111SAriel Constenla-Haile SVLook = TRUE ; 147ca04f111SAriel Constenla-Haile Hide = TRUE ; 148ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( TAB_WIDTH, TAB_HEIGHT ) ; 149ca04f111SAriel Constenla-Haile 150ca04f111SAriel Constenla-Haile MultiLineEdit RID_CUI_README_TBPAGE_EDIT 151ca04f111SAriel Constenla-Haile { 152ca04f111SAriel Constenla-Haile Border = TRUE ; 153ca04f111SAriel Constenla-Haile IgnoreTab = TRUE ; 154ca04f111SAriel Constenla-Haile ReadOnly = TRUE ; 155ca04f111SAriel Constenla-Haile AutoVScroll = TRUE ; 156ca04f111SAriel Constenla-Haile Pos = MAP_APPFONT ( CTRL_MARGIN, CTRL_MARGIN ) ; 157ca04f111SAriel Constenla-Haile Size = MAP_APPFONT ( TAB_WIDTH - CTRL_MARGIN - CTRL_MARGIN, TAB_HEIGHT - CTRL_MARGIN - CTRL_MARGIN ) ; 158ca04f111SAriel Constenla-Haile }; 159cdf0e10cSrcweir}; 160cdf0e10cSrcweir 16122daf8cbSmseidel// ********************************************************************** EOF 162