xref: /AOO41X/main/extensions/source/preload/preload.src (revision d3e0dd8eb215533c15e891ee35bd141abe9397ee)
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        "http://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.bmp" ;
166                File[ ar ] = "m_arrow.bmp" ;
167            };
168            MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
169        };
170    };
171
172    FixedText FT_INFO2_1
173    {
174        WordBreak = TRUE ;
175        Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_3 ) ;
176        Size = MAP_APPFONT ( COL2_WIDTH , FT_HEIGHT ) ;
177        Text [ en-US ] = "1." ;
178    };
179
180    FixedText FT_INFO2
181    {
182        WordBreak = TRUE ;
183        Pos = MAP_APPFONT ( LICENSE_COL_3 , LICENSE_ROW_3 ) ;
184        Size = MAP_APPFONT ( COL3_WIDTH, 3*FT_HEIGHT ) ;
185        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." ;
186    };
187
188    PushButton PB_PAGEDOWN
189    {
190        HelpID = "extensions:PushButton:RID_TP_LICENSE:PB_PAGEDOWN";
191        TabStop = TRUE ;
192        Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
193        Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
194        Text [ en-US ] = "Page Down" ;
195    };
196
197    FixedText FT_INFO3_1
198    {
199        WordBreak = TRUE ;
200        Pos = MAP_APPFONT ( LICENSE_COL_2 , LICENSE_ROW_4 ) ;
201        Size = MAP_APPFONT ( COL2_WIDTH, FT_HEIGHT ) ;
202        Text [ en-US ] = "2." ;
203    };
204
205    FixedText FT_INFO3
206    {
207        WordBreak = TRUE ;
208        Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_4 ) ;
209        Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
210        Text [ en-US ] = "Accept the License Agreement." ;
211    };
212
213    CheckBox CB_ACCEPT
214    {
215        HelpID = "extensions:CheckBox:RID_TP_LICENSE:CB_ACCEPT";
216        TabStop = TRUE ;
217        Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_5 ) ;
218        Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
219        Text [ en-US ] = "I accept the terms of the Agreement." ;
220    };
221
222    String LICENCE_ACCEPT
223    {
224        Text [ en-US ] = "~Accept" ;
225    };
226
227    String LICENCE_NOTACCEPT
228    {
229        Text [ en-US ] = "Decline" ;
230    };
231
232};
233
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