1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28#ifndef _EXTENSIONS_PRELOAD_PRELOAD_HRC_
29#include "preload.hrc"
30#endif
31
32ModalDialog RID_DLG_OEMWIZARD
33{
34    HelpID = "extensions:ModalDialog:RID_DLG_OEMWIZARD";
35    Text = "%PRODUCTNAME %PRODUCTVERSION";
36
37	OutputSize		= TRUE ;
38	SVLook			= TRUE ;
39	Moveable		= TRUE ;
40	Closeable		= TRUE ;
41	Hide			= TRUE;
42    PushButton PB_PREV
43    {
44        HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_PREV";
45        Size = MAP_APPFONT ( 50 , 14 ) ;
46		Text [ en-US ] = "<< Back" ;
47	};
48    PushButton PB_NEXT
49    {
50        HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_NEXT";
51        Size = MAP_APPFONT ( 50 , 14 ) ;
52		Text [ en-US ] = "Next >>" ;
53	};
54    CancelButton PB_CANCEL
55    {
56        Size = MAP_APPFONT ( 50 , 14 ) ;
57    };
58    String ST_ACCEPT
59    {
60    	Text [ en-US ] = "Accept";
61	};
62    String ST_FINISH
63    {
64    	Text [ en-US ] = "Finish";
65	};
66    String ST_LICENSE_AGREEMENT
67    {
68        Text [ en-US ] = " - Software License Agreement";
69	};
70
71    String ST_INSERT_USER_DATA
72    {
73        Text [ en-US ] = "- User Data";
74	};
75};
76TabPage RID_TP_WELCOME
77{
78    HelpID = "extensions:TabPage:RID_TP_WELCOME";
79//    HelpId = ;
80	OutputSize = TRUE ;
81	SVLook = TRUE ;
82	Hide = TRUE ;
83	Size = MAP_APPFONT ( 260 , 185 ) ;
84	Text [ en-US ] = "Welcome";
85    FixedText FT_INFO
86    {
87        Pos = MAP_APPFONT ( 6 , 3 ) ;
88        Size = MAP_APPFONT ( 248 , 174 ) ;
89        WordBreak = TRUE ;
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.";
95	};
96};
97
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)
104
105#define OFFSET        2
106#define COL2_WIDTH   10
107#define OFFSET_IMG   10
108#define FT_HEIGHT     8
109#define PB_HEIGHT    14
110#define PD_WIDTH     40
111
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)
117
118/*
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)
124*/
125
126
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)
130
131#define LICENSE_WIDTH (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - LICENSE_ROW_1)
132#define COL3_WIDTH	  (LICENSE_COL_4 - LICENSE_COL_3)
133
134
135TabPage RID_TP_LICENSE
136{
137    HelpID = "extensions:TabPage:RID_TP_LICENSE";
138	OutputSize = TRUE ;
139	SVLook = TRUE ;
140	Hide = TRUE ;
141	Size = MAP_APPFONT ( LICENSE_DIALOG_WIDTH , LICENSE_DIALOG_HEIGTH ) ;
142	Text [ en-US ] = "License Agreement";
143
144	MultiLineEdit ML_LICENSE
145	{
146	    HelpID = "extensions:MultiLineEdit:RID_TP_LICENSE:ML_LICENSE";
147		PosSize = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_1 , LICENSE_WIDTH , LICENCE_HEIGHT ) ;
148		Border = TRUE ;
149		VScroll = TRUE ;
150		ReadOnly = TRUE ;
151	};
152
153	FixedText FT_INFO1
154	{
155		WordBreak = TRUE ;
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:" ;
159	};
160
161	FixedImage IMG_ARROW
162	{
163		Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_3 ) ;
164		Size = MAP_PIXEL ( 16 , 16 ) ;
165		Fixed = Image
166		{
167			ImageBitmap = Bitmap
168			{
169				File = "arrow.bmp" ;
170				File[ ar ] = "m_arrow.bmp" ;
171			};
172			MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
173		};
174	};
175
176	FixedText FT_INFO2_1
177	{
178		WordBreak = TRUE ;
179		Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_3 ) ;
180		Size = MAP_APPFONT ( COL2_WIDTH , FT_HEIGHT ) ;
181		Text [ en-US ] = "1." ;
182	};
183
184	FixedText FT_INFO2
185	{
186		WordBreak = TRUE ;
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." ;
190	};
191
192	PushButton PB_PAGEDOWN
193	{
194	    HelpID = "extensions:PushButton:RID_TP_LICENSE:PB_PAGEDOWN";
195		TabStop = TRUE ;
196		Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
197		Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
198		Text [ en-US ] = "Page Down" ;
199	};
200
201	FixedText FT_INFO3_1
202	{
203		WordBreak = TRUE ;
204		Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_4 ) ;
205		Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
206		Text [ en-US ] = "2." ;
207	};
208
209	FixedText FT_INFO3
210	{
211		WordBreak = TRUE ;
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." ;
215	};
216
217	CheckBox CB_ACCEPT
218	{
219	    HelpID = "extensions:CheckBox:RID_TP_LICENSE:CB_ACCEPT";
220		TabStop = TRUE ;
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." ;
224	};
225
226	String LICENCE_ACCEPT
227	{
228		Text [ en-US ] = "~Accept" ;
229	};
230
231	String LICENCE_NOTACCEPT
232	{
233		Text [ en-US ] = "Decline" ;
234	};
235
236};
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291