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