1*80fe9c7bSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*80fe9c7bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*80fe9c7bSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*80fe9c7bSAndrew Rist * distributed with this work for additional information
6*80fe9c7bSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*80fe9c7bSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*80fe9c7bSAndrew Rist * "License"); you may not use this file except in compliance
9*80fe9c7bSAndrew Rist * with the License.  You may obtain a copy of the License at
10*80fe9c7bSAndrew Rist *
11*80fe9c7bSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*80fe9c7bSAndrew Rist *
13*80fe9c7bSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*80fe9c7bSAndrew Rist * software distributed under the License is distributed on an
15*80fe9c7bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*80fe9c7bSAndrew Rist * KIND, either express or implied.  See the License for the
17*80fe9c7bSAndrew Rist * specific language governing permissions and limitations
18*80fe9c7bSAndrew Rist * under the License.
19*80fe9c7bSAndrew Rist *
20*80fe9c7bSAndrew Rist *************************************************************/
21*80fe9c7bSAndrew Rist
22*80fe9c7bSAndrew 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 ) ;
42cdf0e10cSrcweir		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 ) ;
48cdf0e10cSrcweir		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. "
89cdf0e10cSrcweir        "You can also find detailed information at the Oracle website \n\n"
90cdf0e10cSrcweir        "http://www.oracle.com/us/products/applications/open-office.";
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			{
165cdf0e10cSrcweir				File = "arrow.bmp" ;
166cdf0e10cSrcweir				File[ ar ] = "m_arrow.bmp" ;
167cdf0e10cSrcweir			};
168cdf0e10cSrcweir			MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
169cdf0e10cSrcweir		};
170cdf0e10cSrcweir	};
171cdf0e10cSrcweir
172cdf0e10cSrcweir	FixedText FT_INFO2_1
173cdf0e10cSrcweir	{
174cdf0e10cSrcweir		WordBreak = TRUE ;
175cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_3 ) ;
176cdf0e10cSrcweir		Size = MAP_APPFONT ( COL2_WIDTH , FT_HEIGHT ) ;
177cdf0e10cSrcweir		Text [ en-US ] = "1." ;
178cdf0e10cSrcweir	};
179cdf0e10cSrcweir
180cdf0e10cSrcweir	FixedText FT_INFO2
181cdf0e10cSrcweir	{
182cdf0e10cSrcweir		WordBreak = TRUE ;
183cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_3 , LICENSE_ROW_3 ) ;
184cdf0e10cSrcweir		Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ;
185cdf0e10cSrcweir		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." ;
186cdf0e10cSrcweir	};
187cdf0e10cSrcweir
188cdf0e10cSrcweir	PushButton PB_PAGEDOWN
189cdf0e10cSrcweir	{
190cdf0e10cSrcweir	    HelpID = "extensions:PushButton:RID_TP_LICENSE:PB_PAGEDOWN";
191cdf0e10cSrcweir		TabStop = TRUE ;
192cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
193cdf0e10cSrcweir		Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
194cdf0e10cSrcweir		Text [ en-US ] = "Page Down" ;
195cdf0e10cSrcweir	};
196cdf0e10cSrcweir
197cdf0e10cSrcweir	FixedText FT_INFO3_1
198cdf0e10cSrcweir	{
199cdf0e10cSrcweir		WordBreak = TRUE ;
200cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_4 ) ;
201cdf0e10cSrcweir		Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
202cdf0e10cSrcweir		Text [ en-US ] = "2." ;
203cdf0e10cSrcweir	};
204cdf0e10cSrcweir
205cdf0e10cSrcweir	FixedText FT_INFO3
206cdf0e10cSrcweir	{
207cdf0e10cSrcweir		WordBreak = TRUE ;
208cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ;
209cdf0e10cSrcweir		Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
210cdf0e10cSrcweir		Text [ en-US ] = "Accept the License Agreement." ;
211cdf0e10cSrcweir	};
212cdf0e10cSrcweir
213cdf0e10cSrcweir	CheckBox CB_ACCEPT
214cdf0e10cSrcweir	{
215cdf0e10cSrcweir	    HelpID = "extensions:CheckBox:RID_TP_LICENSE:CB_ACCEPT";
216cdf0e10cSrcweir		TabStop = TRUE ;
217cdf0e10cSrcweir		Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_5 ) ;
218cdf0e10cSrcweir		Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
219cdf0e10cSrcweir		Text [ en-US ] = "I accept the terms of the Agreement." ;
220cdf0e10cSrcweir	};
221cdf0e10cSrcweir
222cdf0e10cSrcweir	String LICENCE_ACCEPT
223cdf0e10cSrcweir	{
224cdf0e10cSrcweir		Text [ en-US ] = "~Accept" ;
225cdf0e10cSrcweir	};
226cdf0e10cSrcweir
227cdf0e10cSrcweir	String LICENCE_NOTACCEPT
228cdf0e10cSrcweir	{
229cdf0e10cSrcweir		Text [ en-US ] = "Decline" ;
230cdf0e10cSrcweir	};
231cdf0e10cSrcweir
232cdf0e10cSrcweir};
233cdf0e10cSrcweir
234cdf0e10cSrcweir
235cdf0e10cSrcweir
236cdf0e10cSrcweir
237cdf0e10cSrcweir
238cdf0e10cSrcweir
239cdf0e10cSrcweir
240cdf0e10cSrcweir
241cdf0e10cSrcweir
242cdf0e10cSrcweir
243cdf0e10cSrcweir
244cdf0e10cSrcweir
245cdf0e10cSrcweir
246cdf0e10cSrcweir
247cdf0e10cSrcweir
248cdf0e10cSrcweir
249cdf0e10cSrcweir
250cdf0e10cSrcweir
251cdf0e10cSrcweir
252cdf0e10cSrcweir
253cdf0e10cSrcweir
254cdf0e10cSrcweir
255cdf0e10cSrcweir
256cdf0e10cSrcweir
257cdf0e10cSrcweir
258cdf0e10cSrcweir
259cdf0e10cSrcweir
260cdf0e10cSrcweir
261cdf0e10cSrcweir
262cdf0e10cSrcweir
263cdf0e10cSrcweir
264cdf0e10cSrcweir
265cdf0e10cSrcweir
266cdf0e10cSrcweir
267cdf0e10cSrcweir
268cdf0e10cSrcweir
269cdf0e10cSrcweir
270cdf0e10cSrcweir
271cdf0e10cSrcweir
272cdf0e10cSrcweir
273cdf0e10cSrcweir
274cdf0e10cSrcweir
275cdf0e10cSrcweir
276cdf0e10cSrcweir
277cdf0e10cSrcweir
278cdf0e10cSrcweir
279cdf0e10cSrcweir
280cdf0e10cSrcweir
281cdf0e10cSrcweir
282cdf0e10cSrcweir
283cdf0e10cSrcweir
284cdf0e10cSrcweir
285cdf0e10cSrcweir
286cdf0e10cSrcweir
287