1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#ifndef _EXTENSIONS_PRELOAD_PRELOAD_HRC_
29*cdf0e10cSrcweir#include "preload.hrc"
30*cdf0e10cSrcweir#endif
31*cdf0e10cSrcweir
32*cdf0e10cSrcweirModalDialog RID_DLG_OEMWIZARD
33*cdf0e10cSrcweir{
34*cdf0e10cSrcweir    HelpID = "extensions:ModalDialog:RID_DLG_OEMWIZARD";
35*cdf0e10cSrcweir    Text = "%PRODUCTNAME %PRODUCTVERSION";
36*cdf0e10cSrcweir
37*cdf0e10cSrcweir	OutputSize		= TRUE ;
38*cdf0e10cSrcweir	SVLook			= TRUE ;
39*cdf0e10cSrcweir	Moveable		= TRUE ;
40*cdf0e10cSrcweir	Closeable		= TRUE ;
41*cdf0e10cSrcweir	Hide			= TRUE;
42*cdf0e10cSrcweir    PushButton PB_PREV
43*cdf0e10cSrcweir    {
44*cdf0e10cSrcweir        HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_PREV";
45*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
46*cdf0e10cSrcweir		Text [ en-US ] = "<< Back" ;
47*cdf0e10cSrcweir	};
48*cdf0e10cSrcweir    PushButton PB_NEXT
49*cdf0e10cSrcweir    {
50*cdf0e10cSrcweir        HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_NEXT";
51*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
52*cdf0e10cSrcweir		Text [ en-US ] = "Next >>" ;
53*cdf0e10cSrcweir	};
54*cdf0e10cSrcweir    CancelButton PB_CANCEL
55*cdf0e10cSrcweir    {
56*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
57*cdf0e10cSrcweir    };
58*cdf0e10cSrcweir    String ST_ACCEPT
59*cdf0e10cSrcweir    {
60*cdf0e10cSrcweir    	Text [ en-US ] = "Accept";
61*cdf0e10cSrcweir	};
62*cdf0e10cSrcweir    String ST_FINISH
63*cdf0e10cSrcweir    {
64*cdf0e10cSrcweir    	Text [ en-US ] = "Finish";
65*cdf0e10cSrcweir	};
66*cdf0e10cSrcweir    String ST_LICENSE_AGREEMENT
67*cdf0e10cSrcweir    {
68*cdf0e10cSrcweir        Text [ en-US ] = " - Software License Agreement";
69*cdf0e10cSrcweir	};
70*cdf0e10cSrcweir
71*cdf0e10cSrcweir    String ST_INSERT_USER_DATA
72*cdf0e10cSrcweir    {
73*cdf0e10cSrcweir        Text [ en-US ] = "- User Data";
74*cdf0e10cSrcweir	};
75*cdf0e10cSrcweir};
76*cdf0e10cSrcweirTabPage RID_TP_WELCOME
77*cdf0e10cSrcweir{
78*cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_TP_WELCOME";
79*cdf0e10cSrcweir//    HelpId = ;
80*cdf0e10cSrcweir	OutputSize = TRUE ;
81*cdf0e10cSrcweir	SVLook = TRUE ;
82*cdf0e10cSrcweir	Hide = TRUE ;
83*cdf0e10cSrcweir	Size = MAP_APPFONT ( 260 , 185 ) ;
84*cdf0e10cSrcweir	Text [ en-US ] = "Welcome";
85*cdf0e10cSrcweir    FixedText FT_INFO
86*cdf0e10cSrcweir    {
87*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
88*cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 174 ) ;
89*cdf0e10cSrcweir        WordBreak = TRUE ;
90*cdf0e10cSrcweir        Text [ en-US ] = "Welcome to %PRODUCTNAME %PRODUCTVERSION OEM\n\nTo start the %PRODUCTNAME %PRODUCTVERSION OEM, "
91*cdf0e10cSrcweir        "please enter your personal data in the dialog following the license text. Important information is contained "
92*cdf0e10cSrcweir        "in the readme files which are located in the %PRODUCTNAME product directory. Please read these files carefully. "
93*cdf0e10cSrcweir        "You can also find detailed information at the Oracle website \n\n"
94*cdf0e10cSrcweir        "http://www.oracle.com/us/products/applications/open-office.";
95*cdf0e10cSrcweir	};
96*cdf0e10cSrcweir};
97*cdf0e10cSrcweir
98*cdf0e10cSrcweir#define LICENSE_DIALOG_WIDTH  260
99*cdf0e10cSrcweir#define LICENSE_DIALOG_HEIGTH 185
100*cdf0e10cSrcweir#define LICENSE_RIGHT_BORDER  7
101*cdf0e10cSrcweir#define LICENSE_BOTTOM_BORDER  0
102*cdf0e10cSrcweir#define LICENSE_ROW_1 (7)
103*cdf0e10cSrcweir#define LICENSE_COL_1 (7)
104*cdf0e10cSrcweir
105*cdf0e10cSrcweir#define OFFSET        2
106*cdf0e10cSrcweir#define COL2_WIDTH   10
107*cdf0e10cSrcweir#define OFFSET_IMG   10
108*cdf0e10cSrcweir#define FT_HEIGHT     8
109*cdf0e10cSrcweir#define PB_HEIGHT    14
110*cdf0e10cSrcweir#define PD_WIDTH     40
111*cdf0e10cSrcweir
112*cdf0e10cSrcweir#define LICENCE_HEIGHT 102
113*cdf0e10cSrcweir#define LICENSE_ROW_2 (LICENSE_ROW_1 + OFFSET + LICENCE_HEIGHT)
114*cdf0e10cSrcweir#define LICENSE_ROW_3 (LICENSE_ROW_2 + OFFSET + FT_HEIGHT)
115*cdf0e10cSrcweir#define LICENSE_ROW_4 (LICENSE_ROW_3 + OFFSET + 3*FT_HEIGHT )
116*cdf0e10cSrcweir#define LICENSE_ROW_5 (LICENSE_ROW_4 + OFFSET + FT_HEIGHT)
117*cdf0e10cSrcweir
118*cdf0e10cSrcweir/*
119*cdf0e10cSrcweir#define LICENSE_ROW_5 (LICENSE_DIALOG_HEIGTH - LICENSE_BOTTOM_BORDER - OFFSET - FT_HEIGHT)
120*cdf0e10cSrcweir#define LICENSE_ROW_4 (LICENSE_ROW_5 - OFFSET - FT_HEIGHT)
121*cdf0e10cSrcweir#define LICENSE_ROW_3 (LICENSE_ROW_4 - OFFSET - 3*FT_HEIGHT)
122*cdf0e10cSrcweir#define LICENSE_ROW_2 (LICENSE_ROW_3 - OFFSET - FT_HEIGHT)
123*cdf0e10cSrcweir#define LICENCE_HEIGHT (LICENSE_ROW_2-LICENSE_ROW_1-OFFSET)
124*cdf0e10cSrcweir*/
125*cdf0e10cSrcweir
126*cdf0e10cSrcweir
127*cdf0e10cSrcweir#define LICENSE_COL_2 (LICENSE_COL_1 + OFFSET_IMG)
128*cdf0e10cSrcweir#define LICENSE_COL_3 (LICENSE_COL_2 + COL2_WIDTH +1)
129*cdf0e10cSrcweir#define LICENSE_COL_4 (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - PD_WIDTH)
130*cdf0e10cSrcweir
131*cdf0e10cSrcweir#define LICENSE_WIDTH (LICENSE_DIALOG_WIDTH - LICENSE_RIGHT_BORDER - LICENSE_ROW_1)
132*cdf0e10cSrcweir#define COL3_WIDTH	  (LICENSE_COL_4 - LICENSE_COL_3)
133*cdf0e10cSrcweir
134*cdf0e10cSrcweir
135*cdf0e10cSrcweirTabPage RID_TP_LICENSE
136*cdf0e10cSrcweir{
137*cdf0e10cSrcweir    HelpID = "extensions:TabPage:RID_TP_LICENSE";
138*cdf0e10cSrcweir	OutputSize = TRUE ;
139*cdf0e10cSrcweir	SVLook = TRUE ;
140*cdf0e10cSrcweir	Hide = TRUE ;
141*cdf0e10cSrcweir	Size = MAP_APPFONT ( LICENSE_DIALOG_WIDTH , LICENSE_DIALOG_HEIGTH ) ;
142*cdf0e10cSrcweir	Text [ en-US ] = "License Agreement";
143*cdf0e10cSrcweir
144*cdf0e10cSrcweir	MultiLineEdit ML_LICENSE
145*cdf0e10cSrcweir	{
146*cdf0e10cSrcweir	    HelpID = "extensions:MultiLineEdit:RID_TP_LICENSE:ML_LICENSE";
147*cdf0e10cSrcweir		PosSize = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_1 , LICENSE_WIDTH , LICENCE_HEIGHT ) ;
148*cdf0e10cSrcweir		Border = TRUE ;
149*cdf0e10cSrcweir		VScroll = TRUE ;
150*cdf0e10cSrcweir		ReadOnly = TRUE ;
151*cdf0e10cSrcweir	};
152*cdf0e10cSrcweir
153*cdf0e10cSrcweir	FixedText FT_INFO1
154*cdf0e10cSrcweir	{
155*cdf0e10cSrcweir		WordBreak = TRUE ;
156*cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_2 ) ;
157*cdf0e10cSrcweir		Size = MAP_APPFONT ( LICENSE_WIDTH , FT_HEIGHT ) ;
158*cdf0e10cSrcweir		Text [ en-US ] = "Please follow these steps to proceed with the installation:" ;
159*cdf0e10cSrcweir	};
160*cdf0e10cSrcweir
161*cdf0e10cSrcweir	FixedImage IMG_ARROW
162*cdf0e10cSrcweir	{
163*cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_3 ) ;
164*cdf0e10cSrcweir		Size = MAP_PIXEL ( 16 , 16 ) ;
165*cdf0e10cSrcweir		Fixed = Image
166*cdf0e10cSrcweir		{
167*cdf0e10cSrcweir			ImageBitmap = Bitmap
168*cdf0e10cSrcweir			{
169*cdf0e10cSrcweir				File = "arrow.bmp" ;
170*cdf0e10cSrcweir				File[ ar ] = "m_arrow.bmp" ;
171*cdf0e10cSrcweir			};
172*cdf0e10cSrcweir			MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
173*cdf0e10cSrcweir		};
174*cdf0e10cSrcweir	};
175*cdf0e10cSrcweir
176*cdf0e10cSrcweir	FixedText FT_INFO2_1
177*cdf0e10cSrcweir	{
178*cdf0e10cSrcweir		WordBreak = TRUE ;
179*cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_3 ) ;
180*cdf0e10cSrcweir		Size = MAP_APPFONT ( COL2_WIDTH , FT_HEIGHT ) ;
181*cdf0e10cSrcweir		Text [ en-US ] = "1." ;
182*cdf0e10cSrcweir	};
183*cdf0e10cSrcweir
184*cdf0e10cSrcweir	FixedText FT_INFO2
185*cdf0e10cSrcweir	{
186*cdf0e10cSrcweir		WordBreak = TRUE ;
187*cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_3 , LICENSE_ROW_3 ) ;
188*cdf0e10cSrcweir		Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ;
189*cdf0e10cSrcweir		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*cdf0e10cSrcweir	};
191*cdf0e10cSrcweir
192*cdf0e10cSrcweir	PushButton PB_PAGEDOWN
193*cdf0e10cSrcweir	{
194*cdf0e10cSrcweir	    HelpID = "extensions:PushButton:RID_TP_LICENSE:PB_PAGEDOWN";
195*cdf0e10cSrcweir		TabStop = TRUE ;
196*cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
197*cdf0e10cSrcweir		Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
198*cdf0e10cSrcweir		Text [ en-US ] = "Page Down" ;
199*cdf0e10cSrcweir	};
200*cdf0e10cSrcweir
201*cdf0e10cSrcweir	FixedText FT_INFO3_1
202*cdf0e10cSrcweir	{
203*cdf0e10cSrcweir		WordBreak = TRUE ;
204*cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_4 ) ;
205*cdf0e10cSrcweir		Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
206*cdf0e10cSrcweir		Text [ en-US ] = "2." ;
207*cdf0e10cSrcweir	};
208*cdf0e10cSrcweir
209*cdf0e10cSrcweir	FixedText FT_INFO3
210*cdf0e10cSrcweir	{
211*cdf0e10cSrcweir		WordBreak = TRUE ;
212*cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ;
213*cdf0e10cSrcweir		Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
214*cdf0e10cSrcweir		Text [ en-US ] = "Accept the License Agreement." ;
215*cdf0e10cSrcweir	};
216*cdf0e10cSrcweir
217*cdf0e10cSrcweir	CheckBox CB_ACCEPT
218*cdf0e10cSrcweir	{
219*cdf0e10cSrcweir	    HelpID = "extensions:CheckBox:RID_TP_LICENSE:CB_ACCEPT";
220*cdf0e10cSrcweir		TabStop = TRUE ;
221*cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_5 ) ;
222*cdf0e10cSrcweir		Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
223*cdf0e10cSrcweir		Text [ en-US ] = "I accept the terms of the Agreement." ;
224*cdf0e10cSrcweir	};
225*cdf0e10cSrcweir
226*cdf0e10cSrcweir	String LICENCE_ACCEPT
227*cdf0e10cSrcweir	{
228*cdf0e10cSrcweir		Text [ en-US ] = "~Accept" ;
229*cdf0e10cSrcweir	};
230*cdf0e10cSrcweir
231*cdf0e10cSrcweir	String LICENCE_NOTACCEPT
232*cdf0e10cSrcweir	{
233*cdf0e10cSrcweir		Text [ en-US ] = "Decline" ;
234*cdf0e10cSrcweir	};
235*cdf0e10cSrcweir
236*cdf0e10cSrcweir};
237*cdf0e10cSrcweir
238*cdf0e10cSrcweir
239*cdf0e10cSrcweir
240*cdf0e10cSrcweir
241*cdf0e10cSrcweir
242*cdf0e10cSrcweir
243*cdf0e10cSrcweir
244*cdf0e10cSrcweir
245*cdf0e10cSrcweir
246*cdf0e10cSrcweir
247*cdf0e10cSrcweir
248*cdf0e10cSrcweir
249*cdf0e10cSrcweir
250*cdf0e10cSrcweir
251*cdf0e10cSrcweir
252*cdf0e10cSrcweir
253*cdf0e10cSrcweir
254*cdf0e10cSrcweir
255*cdf0e10cSrcweir
256*cdf0e10cSrcweir
257*cdf0e10cSrcweir
258*cdf0e10cSrcweir
259*cdf0e10cSrcweir
260*cdf0e10cSrcweir
261*cdf0e10cSrcweir
262*cdf0e10cSrcweir
263*cdf0e10cSrcweir
264*cdf0e10cSrcweir
265*cdf0e10cSrcweir
266*cdf0e10cSrcweir
267*cdf0e10cSrcweir
268*cdf0e10cSrcweir
269*cdf0e10cSrcweir
270*cdf0e10cSrcweir
271*cdf0e10cSrcweir
272*cdf0e10cSrcweir
273*cdf0e10cSrcweir
274*cdf0e10cSrcweir
275*cdf0e10cSrcweir
276*cdf0e10cSrcweir
277*cdf0e10cSrcweir
278*cdf0e10cSrcweir
279*cdf0e10cSrcweir
280*cdf0e10cSrcweir
281*cdf0e10cSrcweir
282*cdf0e10cSrcweir
283*cdf0e10cSrcweir
284*cdf0e10cSrcweir
285*cdf0e10cSrcweir
286*cdf0e10cSrcweir
287*cdf0e10cSrcweir
288*cdf0e10cSrcweir
289*cdf0e10cSrcweir
290*cdf0e10cSrcweir
291