180fe9c7bSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 380fe9c7bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 480fe9c7bSAndrew Rist * or more contributor license agreements. See the NOTICE file 580fe9c7bSAndrew Rist * distributed with this work for additional information 680fe9c7bSAndrew Rist * regarding copyright ownership. The ASF licenses this file 780fe9c7bSAndrew Rist * to you under the Apache License, Version 2.0 (the 880fe9c7bSAndrew Rist * "License"); you may not use this file except in compliance 980fe9c7bSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 1180fe9c7bSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 1380fe9c7bSAndrew Rist * Unless required by applicable law or agreed to in writing, 1480fe9c7bSAndrew Rist * software distributed under the License is distributed on an 1580fe9c7bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1680fe9c7bSAndrew Rist * KIND, either express or implied. See the License for the 1780fe9c7bSAndrew Rist * specific language governing permissions and limitations 1880fe9c7bSAndrew Rist * under the License. 19cdf0e10cSrcweir * 2080fe9c7bSAndrew Rist *************************************************************/ 2180fe9c7bSAndrew Rist 2280fe9c7bSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef _EXTENSIONS_PRELOAD_PRELOAD_HRC_ 25cdf0e10cSrcweir#include "preload.hrc" 26cdf0e10cSrcweir#endif 27cdf0e10cSrcweir 28cdf0e10cSrcweirModalDialog RID_DLG_OEMWIZARD 29cdf0e10cSrcweir{ 30cdf0e10cSrcweir HelpID = "extensions:ModalDialog:RID_DLG_OEMWIZARD" ; 31cdf0e10cSrcweir Text = "%PRODUCTNAME %PRODUCTVERSION" ; 32cdf0e10cSrcweir 33cdf0e10cSrcweir OutputSize = TRUE ; 34cdf0e10cSrcweir SVLook = TRUE ; 35cdf0e10cSrcweir Moveable = TRUE ; 36cdf0e10cSrcweir Closeable = TRUE ; 37cdf0e10cSrcweir Hide = TRUE ; 38cdf0e10cSrcweir PushButton PB_PREV 39cdf0e10cSrcweir { 40cdf0e10cSrcweir HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_PREV" ; 41cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 42*23ebc8c8Smseidel Text [ en-US ] = "< Back" ; 43cdf0e10cSrcweir }; 44cdf0e10cSrcweir PushButton PB_NEXT 45cdf0e10cSrcweir { 46cdf0e10cSrcweir HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_NEXT" ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 48*23ebc8c8Smseidel Text [ en-US ] = "Next >" ; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir CancelButton PB_CANCEL 51cdf0e10cSrcweir { 52cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 53cdf0e10cSrcweir }; 54cdf0e10cSrcweir String ST_ACCEPT 55cdf0e10cSrcweir { 56cdf0e10cSrcweir Text [ en-US ] = "Accept" ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir String ST_FINISH 59cdf0e10cSrcweir { 60cdf0e10cSrcweir Text [ en-US ] = "Finish" ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir String ST_LICENSE_AGREEMENT 63cdf0e10cSrcweir { 64cdf0e10cSrcweir Text [ en-US ] = " - Software License Agreement" ; 65cdf0e10cSrcweir }; 66cdf0e10cSrcweir 67cdf0e10cSrcweir String ST_INSERT_USER_DATA 68cdf0e10cSrcweir { 69cdf0e10cSrcweir Text [ en-US ] = "- User Data" ; 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir}; 72cdf0e10cSrcweirTabPage RID_TP_WELCOME 73cdf0e10cSrcweir{ 74cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_TP_WELCOME" ; 75cdf0e10cSrcweir// HelpId = ; 76cdf0e10cSrcweir OutputSize = TRUE ; 77cdf0e10cSrcweir SVLook = TRUE ; 78cdf0e10cSrcweir Hide = TRUE ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( 260, 185 ) ; 80cdf0e10cSrcweir Text [ en-US ] = "Welcome" ; 81cdf0e10cSrcweir FixedText FT_INFO 82cdf0e10cSrcweir { 83cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 3 ) ; 84cdf0e10cSrcweir Size = MAP_APPFONT ( 248, 174 ) ; 85cdf0e10cSrcweir WordBreak = TRUE ; 86cdf0e10cSrcweir Text [ en-US ] = "Welcome to %PRODUCTNAME %PRODUCTVERSION OEM\n\nTo start the %PRODUCTNAME %PRODUCTVERSION OEM, " 87cdf0e10cSrcweir "please enter your personal data in the dialog following the license text. Important information is contained " 88cdf0e10cSrcweir "in the readme files which are located in the %PRODUCTNAME product directory. Please read these files carefully. " 89e622c435SJürgen Schmidt "You can also find detailed information at the OpenOffice website \n\n" 90*23ebc8c8Smseidel "https://www.openoffice.org." ; 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir}; 93cdf0e10cSrcweir 94cdf0e10cSrcweir#define LICENSE_DIALOG_WIDTH 260 95cdf0e10cSrcweir#define LICENSE_DIALOG_HEIGTH 185 96cdf0e10cSrcweir#define LICENSE_RIGHT_BORDER 7 97cdf0e10cSrcweir#define LICENSE_BOTTOM_BORDER 0 98cdf0e10cSrcweir#define LICENSE_ROW_1 (7) 99cdf0e10cSrcweir#define LICENSE_COL_1 (7) 100cdf0e10cSrcweir 101cdf0e10cSrcweir#define OFFSET 2 102cdf0e10cSrcweir#define COL2_WIDTH 10 103cdf0e10cSrcweir#define OFFSET_IMG 10 104cdf0e10cSrcweir#define FT_HEIGHT 8 105cdf0e10cSrcweir#define PB_HEIGHT 14 106cdf0e10cSrcweir#define PD_WIDTH 40 107cdf0e10cSrcweir 108cdf0e10cSrcweir#define LICENCE_HEIGHT 102 109cdf0e10cSrcweir#define LICENSE_ROW_2 (LICENSE_ROW_1 + OFFSET + LICENCE_HEIGHT) 110cdf0e10cSrcweir#define LICENSE_ROW_3 (LICENSE_ROW_2 + OFFSET + FT_HEIGHT) 111cdf0e10cSrcweir#define LICENSE_ROW_4 (LICENSE_ROW_3 + OFFSET + 3 * FT_HEIGHT ) 112cdf0e10cSrcweir#define LICENSE_ROW_5 (LICENSE_ROW_4 + OFFSET + FT_HEIGHT) 113cdf0e10cSrcweir 114cdf0e10cSrcweir/* 115cdf0e10cSrcweir#define LICENSE_ROW_5 (LICENSE_DIALOG_HEIGTH - LICENSE_BOTTOM_BORDER - OFFSET - FT_HEIGHT) 116cdf0e10cSrcweir#define LICENSE_ROW_4 (LICENSE_ROW_5 - OFFSET - FT_HEIGHT) 117cdf0e10cSrcweir#define LICENSE_ROW_3 (LICENSE_ROW_4 - OFFSET - 3 * FT_HEIGHT) 118cdf0e10cSrcweir#define LICENSE_ROW_2 (LICENSE_ROW_3 - OFFSET - FT_HEIGHT) 119cdf0e10cSrcweir#define LICENCE_HEIGHT (LICENSE_ROW_2 - LICENSE_ROW_1 - OFFSET) 120cdf0e10cSrcweir*/ 121cdf0e10cSrcweir 122cdf0e10cSrcweir 123cdf0e10cSrcweir#define LICENSE_COL_2 (LICENSE_COL_1 + OFFSET_IMG) 124cdf0e10cSrcweir#define LICENSE_COL_3 (LICENSE_COL_2 + COL2_WIDTH + 1) 125cdf0e10cSrcweir#define LICENSE_COL_4 (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - PD_WIDTH) 126cdf0e10cSrcweir 127cdf0e10cSrcweir#define LICENSE_WIDTH (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - LICENSE_ROW_1) 128cdf0e10cSrcweir#define COL3_WIDTH (LICENSE_COL_4 - LICENSE_COL_3) 129cdf0e10cSrcweir 130cdf0e10cSrcweir 131cdf0e10cSrcweirTabPage RID_TP_LICENSE 132cdf0e10cSrcweir{ 133cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_TP_LICENSE" ; 134cdf0e10cSrcweir OutputSize = TRUE ; 135cdf0e10cSrcweir SVLook = TRUE ; 136cdf0e10cSrcweir Hide = TRUE ; 137cdf0e10cSrcweir Size = MAP_APPFONT ( LICENSE_DIALOG_WIDTH, LICENSE_DIALOG_HEIGTH ) ; 138cdf0e10cSrcweir Text [ en-US ] = "License Agreement" ; 139cdf0e10cSrcweir 140cdf0e10cSrcweir MultiLineEdit ML_LICENSE 141cdf0e10cSrcweir { 142cdf0e10cSrcweir HelpID = "extensions:MultiLineEdit:RID_TP_LICENSE:ML_LICENSE" ; 143cdf0e10cSrcweir PosSize = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_1, LICENSE_WIDTH, LICENCE_HEIGHT ) ; 144cdf0e10cSrcweir Border = TRUE ; 145cdf0e10cSrcweir VScroll = TRUE ; 146cdf0e10cSrcweir ReadOnly = TRUE ; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir 149cdf0e10cSrcweir FixedText FT_INFO1 150cdf0e10cSrcweir { 151cdf0e10cSrcweir WordBreak = TRUE ; 152cdf0e10cSrcweir Pos = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_2 ) ; 153cdf0e10cSrcweir Size = MAP_APPFONT ( LICENSE_WIDTH, FT_HEIGHT ) ; 154cdf0e10cSrcweir Text [ en-US ] = "Please follow these steps to proceed with the installation:" ; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir 157cdf0e10cSrcweir FixedImage IMG_ARROW 158cdf0e10cSrcweir { 159cdf0e10cSrcweir Pos = MAP_APPFONT ( LICENSE_COL_1, LICENSE_ROW_3 ) ; 160cdf0e10cSrcweir Size = MAP_PIXEL ( 16, 16 ) ; 161cdf0e10cSrcweir Fixed = Image 162cdf0e10cSrcweir { 163cdf0e10cSrcweir ImageBitmap = Bitmap 164cdf0e10cSrcweir { 165dbb1086aSmseidel File = "arrow.png" ; 166dbb1086aSmseidel File [ ar ] = "m_arrow.png" ; 167cdf0e10cSrcweir }; 168cdf0e10cSrcweir }; 169cdf0e10cSrcweir }; 170cdf0e10cSrcweir 171cdf0e10cSrcweir FixedText FT_INFO2_1 172cdf0e10cSrcweir { 173cdf0e10cSrcweir WordBreak = TRUE ; 174cdf0e10cSrcweir Pos = MAP_APPFONT ( LICENSE_COL_2, LICENSE_ROW_3 ) ; 175cdf0e10cSrcweir Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ; 176cdf0e10cSrcweir Text [ en-US ] = "1." ; 177cdf0e10cSrcweir }; 178cdf0e10cSrcweir 179cdf0e10cSrcweir FixedText FT_INFO2 180cdf0e10cSrcweir { 181cdf0e10cSrcweir WordBreak = TRUE ; 182cdf0e10cSrcweir Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_3 ) ; 183cdf0e10cSrcweir Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ; 184cdf0e10cSrcweir Text [ en-US ] = "View the complete License Agreement. Please use the scroll bar or the '%PAGEDOWN' button in this dialog to view the entire license text." ; 185cdf0e10cSrcweir }; 186cdf0e10cSrcweir 187cdf0e10cSrcweir PushButton PB_PAGEDOWN 188cdf0e10cSrcweir { 189cdf0e10cSrcweir HelpID = "extensions:PushButton:RID_TP_LICENSE:PB_PAGEDOWN" ; 190cdf0e10cSrcweir TabStop = TRUE ; 191cdf0e10cSrcweir Pos = MAP_APPFONT ( LICENSE_COL_4, LICENSE_ROW_3 ) ; 192cdf0e10cSrcweir Size = MAP_APPFONT ( PD_WIDTH, PB_HEIGHT ) ; 193cdf0e10cSrcweir Text [ en-US ] = "Page Down" ; 194cdf0e10cSrcweir }; 195cdf0e10cSrcweir 196cdf0e10cSrcweir FixedText FT_INFO3_1 197cdf0e10cSrcweir { 198cdf0e10cSrcweir WordBreak = TRUE ; 199cdf0e10cSrcweir Pos = MAP_APPFONT ( LICENSE_COL_2, LICENSE_ROW_4 ) ; 200cdf0e10cSrcweir Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ; 201cdf0e10cSrcweir Text [ en-US ] = "2." ; 202cdf0e10cSrcweir }; 203cdf0e10cSrcweir 204cdf0e10cSrcweir FixedText FT_INFO3 205cdf0e10cSrcweir { 206cdf0e10cSrcweir WordBreak = TRUE ; 207cdf0e10cSrcweir Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ; 208cdf0e10cSrcweir Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ; 209cdf0e10cSrcweir Text [ en-US ] = "Accept the License Agreement." ; 210cdf0e10cSrcweir }; 211cdf0e10cSrcweir 212cdf0e10cSrcweir CheckBox CB_ACCEPT 213cdf0e10cSrcweir { 214cdf0e10cSrcweir HelpID = "extensions:CheckBox:RID_TP_LICENSE:CB_ACCEPT" ; 215cdf0e10cSrcweir TabStop = TRUE ; 216cdf0e10cSrcweir Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_5 ) ; 217cdf0e10cSrcweir Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ; 218cdf0e10cSrcweir Text [ en-US ] = "I accept the terms of the Agreement." ; 219cdf0e10cSrcweir }; 220cdf0e10cSrcweir 221cdf0e10cSrcweir String LICENCE_ACCEPT 222cdf0e10cSrcweir { 223cdf0e10cSrcweir Text [ en-US ] = "~Accept" ; 224cdf0e10cSrcweir }; 225cdf0e10cSrcweir 226cdf0e10cSrcweir String LICENCE_NOTACCEPT 227cdf0e10cSrcweir { 228cdf0e10cSrcweir Text [ en-US ] = "Decline" ; 229cdf0e10cSrcweir }; 230cdf0e10cSrcweir 231cdf0e10cSrcweir}; 232cdf0e10cSrcweir 233*23ebc8c8Smseidel// ********************************************************************** EOF 234