1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef _EXTENSIONS_PRELOAD_PRELOAD_HRC_
29 #include "preload.hrc"
32 ModalDialog RID_DLG_OEMWIZARD
34 HelpID = "extensions:ModalDialog:RID_DLG_OEMWIZARD";
35 Text = "%PRODUCTNAME %PRODUCTVERSION";
44 HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_PREV";
45 Size = MAP_APPFONT ( 50 , 14 ) ;
46 Text [ en-US ] = "<< Back" ;
50 HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_NEXT";
51 Size = MAP_APPFONT ( 50 , 14 ) ;
52 Text [ en-US ] = "Next >>" ;
54 CancelButton PB_CANCEL
56 Size = MAP_APPFONT ( 50 , 14 ) ;
60 Text [ en-US ] = "Accept";
64 Text [ en-US ] = "Finish";
66 String ST_LICENSE_AGREEMENT
68 Text [ en-US ] = " - Software License Agreement";
71 String ST_INSERT_USER_DATA
73 Text [ en-US ] = "- User Data";
76 TabPage RID_TP_WELCOME
78 HelpID = "extensions:TabPage:RID_TP_WELCOME";
83 Size = MAP_APPFONT ( 260 , 185 ) ;
84 Text [ en-US ] = "Welcome";
87 Pos = MAP_APPFONT ( 6 , 3 ) ;
88 Size = MAP_APPFONT ( 248 , 174 ) ;
90 Text [ en-US ] = "Welcome to %PRODUCTNAME %PRODUCTVERSION OEM\n\nTo start the %PRODUCTNAME %PRODUCTVERSION OEM, "
91 "please enter your personal data in the dialog following the license text. Important information is contained "
92 "in the readme files which are located in the %PRODUCTNAME product directory. Please read these files carefully. "
93 "You can also find detailed information at the Oracle website \n\n"
94 "http://www.oracle.com/us/products/applications/open-office.";
98 #define LICENSE_DIALOG_WIDTH 260
99 #define LICENSE_DIALOG_HEIGTH 185
100 #define LICENSE_RIGHT_BORDER 7
101 #define LICENSE_BOTTOM_BORDER 0
102 #define LICENSE_ROW_1 (7)
103 #define LICENSE_COL_1 (7)
106 #define COL2_WIDTH 10
107 #define OFFSET_IMG 10
112 #define LICENCE_HEIGHT 102
113 #define LICENSE_ROW_2 (LICENSE_ROW_1 + OFFSET + LICENCE_HEIGHT)
114 #define LICENSE_ROW_3 (LICENSE_ROW_2 + OFFSET + FT_HEIGHT)
115 #define LICENSE_ROW_4 (LICENSE_ROW_3 + OFFSET + 3*FT_HEIGHT )
116 #define LICENSE_ROW_5 (LICENSE_ROW_4 + OFFSET + FT_HEIGHT)
119 #define LICENSE_ROW_5 (LICENSE_DIALOG_HEIGTH - LICENSE_BOTTOM_BORDER - OFFSET - FT_HEIGHT)
120 #define LICENSE_ROW_4 (LICENSE_ROW_5 - OFFSET - FT_HEIGHT)
121 #define LICENSE_ROW_3 (LICENSE_ROW_4 - OFFSET - 3*FT_HEIGHT)
122 #define LICENSE_ROW_2 (LICENSE_ROW_3 - OFFSET - FT_HEIGHT)
123 #define LICENCE_HEIGHT (LICENSE_ROW_2-LICENSE_ROW_1-OFFSET)
127 #define LICENSE_COL_2 (LICENSE_COL_1 + OFFSET_IMG)
128 #define LICENSE_COL_3 (LICENSE_COL_2 + COL2_WIDTH +1)
129 #define LICENSE_COL_4 (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - PD_WIDTH)
131 #define LICENSE_WIDTH (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - LICENSE_ROW_1)
132 #define COL3_WIDTH (LICENSE_COL_4 - LICENSE_COL_3)
135 TabPage RID_TP_LICENSE
137 HelpID = "extensions:TabPage:RID_TP_LICENSE";
141 Size = MAP_APPFONT ( LICENSE_DIALOG_WIDTH , LICENSE_DIALOG_HEIGTH ) ;
142 Text [ en-US ] = "License Agreement";
144 MultiLineEdit ML_LICENSE
146 HelpID = "extensions:MultiLineEdit:RID_TP_LICENSE:ML_LICENSE";
147 PosSize = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_1 , LICENSE_WIDTH , LICENCE_HEIGHT ) ;
156 Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_2 ) ;
157 Size = MAP_APPFONT ( LICENSE_WIDTH , FT_HEIGHT ) ;
158 Text [ en-US ] = "Please follow these steps to proceed with the installation:" ;
163 Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_3 ) ;
164 Size = MAP_PIXEL ( 16 , 16 ) ;
170 File[ ar ] = "m_arrow.bmp" ;
172 MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
179 Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_3 ) ;
180 Size = MAP_APPFONT ( COL2_WIDTH , FT_HEIGHT ) ;
181 Text [ en-US ] = "1." ;
187 Pos = MAP_APPFONT ( LICENSE_COL_3 , LICENSE_ROW_3 ) ;
188 Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ;
189 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." ;
192 PushButton PB_PAGEDOWN
194 HelpID = "extensions:PushButton:RID_TP_LICENSE:PB_PAGEDOWN";
196 Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
197 Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
198 Text [ en-US ] = "Page Down" ;
204 Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_4 ) ;
205 Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
206 Text [ en-US ] = "2." ;
212 Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ;
213 Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
214 Text [ en-US ] = "Accept the License Agreement." ;
219 HelpID = "extensions:CheckBox:RID_TP_LICENSE:CB_ACCEPT";
221 Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_5 ) ;
222 Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
223 Text [ en-US ] = "I accept the terms of the Agreement." ;
226 String LICENCE_ACCEPT
228 Text [ en-US ] = "~Accept" ;
231 String LICENCE_NOTACCEPT
233 Text [ en-US ] = "Decline" ;