xref: /trunk/main/sw/source/ui/config/mailconfigpage.src (revision d2992cc17a5536db9d9cad92e33116a6ace952cf)
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#include <mailconfigpage.hrc>
25#include <config.hrc>
26#include <helpid.h>
27#include <cmdid.h>
28#include <globals.hrc>
29
30TabPage TP_MAILCONFIG
31{
32    HelpID = HID_TP_MAILCONFIG;
33    Size = MAP_APPFONT ( 260, 185 ) ;
34    Hide = TRUE ;
35
36    Text[ en-US ] = "Mail Merge e-mail" ;
37
38    FixedLine FL_IDENTITY
39    {
40        Pos = MAP_APPFONT ( 6, 3 ) ;
41        Size = MAP_APPFONT ( 248, 8 ) ;
42        Text[ en-US ] = "User information" ;
43    };
44    FixedText FT_DISPLAYNAME
45    {
46        Pos = MAP_APPFONT ( 12, 16 ) ;
47        Size = MAP_APPFONT ( 74, 8 ) ;
48        Text[ en-US ] = "~Your name" ;
49    };
50    Edit ED_DISPLAYNAME
51    {
52        HelpID = "sw:Edit:TP_MAILCONFIG:ED_DISPLAYNAME" ;
53        Pos = MAP_APPFONT ( 88, 14 ) ;
54        Size = MAP_APPFONT ( 160, 12 ) ;
55        Border = TRUE;
56    };
57    FixedText FT_ADDRESS
58    {
59        Pos = MAP_APPFONT ( 12, 31 ) ;
60        Size = MAP_APPFONT ( 74, 8 ) ;
61        Text[ en-US ] = "~E-Mail address" ;
62    };
63    Edit ED_ADDRESS
64    {
65        HelpID = "sw:Edit:TP_MAILCONFIG:ED_ADDRESS" ;
66        Pos = MAP_APPFONT ( 88, 29 ) ;
67        Size = MAP_APPFONT ( 160, 12 ) ;
68        Border = TRUE;
69    };
70    CheckBox CB_REPLYTO
71    {
72        HelpID = "sw:CheckBox:TP_MAILCONFIG:CB_REPLYTO" ;
73        Pos = MAP_APPFONT ( 12, 45 ) ;
74        Size = MAP_APPFONT ( 242, 10 ) ;
75        Text[ en-US ] = "Send replies to ~different e-mail address" ;
76    };
77    FixedText FT_REPLYTO
78    {
79        Pos = MAP_APPFONT ( 18, 60 ) ;
80        Size = MAP_APPFONT ( 68, 8 ) ;
81        Text[ en-US ] = "~Reply address" ;
82    };
83    Edit ED_REPLYTO
84    {
85        HelpID = "sw:Edit:TP_MAILCONFIG:ED_REPLYTO" ;
86        Pos = MAP_APPFONT ( 88, 58 ) ;
87        Size = MAP_APPFONT ( 160, 12 ) ;
88        Border = TRUE;
89    };
90    FixedLine FL_SMTP
91    {
92        Pos = MAP_APPFONT ( 6, 76 ) ;
93        Size = MAP_APPFONT ( 248, 8 ) ;
94        Text[ en-US ] = "Outgoing server (SMTP) Settings" ;
95    };
96    FixedText FT_SERVER
97    {
98        Pos = MAP_APPFONT ( 12, 89 ) ;
99        Size = MAP_APPFONT ( 74, 8 ) ;
100        Text[ en-US ] = "~Server name" ;
101    };
102    Edit ED_SERVER
103    {
104        HelpID = "sw:Edit:TP_MAILCONFIG:ED_SERVER" ;
105        Pos = MAP_APPFONT ( 88, 87 ) ;
106        Size = MAP_APPFONT ( 105, 12 ) ;
107        Border = TRUE;
108    };
109    FixedText FT_PORT
110    {
111        Pos = MAP_APPFONT ( 197, 89 ) ;
112        Size = MAP_APPFONT ( 24, 8 ) ;
113        Right = TRUE;
114        Text[ en-US ] = "~Port" ;
115    };
116    NumericField NF_PORT
117    {
118        HelpID = "sw:NumericField:TP_MAILCONFIG:NF_PORT" ;
119        Pos = MAP_APPFONT ( 223, 87 ) ;
120        Size = MAP_APPFONT ( 25, 12 ) ;
121        Border = TRUE;
122        Left = TRUE ;
123        First = 1 ;
124        Minimum = 1 ;
125        Maximum = 65535;
126        Repeat = TRUE ;
127        Spin = FALSE ;
128        TabStop = TRUE ;
129    };
130    CheckBox CB_SECURE
131    {
132        HelpID = "sw:CheckBox:TP_MAILCONFIG:CB_SECURE" ;
133        Pos = MAP_APPFONT ( 12, 104 ) ;
134        Size = MAP_APPFONT ( 242, 10 ) ;
135        Text[ en-US ] = "~Use secure connection (SSL)" ;
136    };
137    PushButton PB_AUTHENTICATION
138    {
139        HelpID = "sw:PushButton:TP_MAILCONFIG:PB_AUTHENTICATION" ;
140        Pos = MAP_APPFONT ( 88, 118 ) ;
141        Size = MAP_APPFONT ( 105, 14 ) ;
142        Text[ en-US ] = "Server Au~thentication" ;
143    };
144    FixedLine FL_SEPARATOR
145    {
146        Pos = MAP_APPFONT ( 6, 156 ) ;
147        Size = MAP_APPFONT ( 248, 8 ) ;
148    };
149    PushButton PB_TEST
150    {
151        HelpID = "sw:PushButton:TP_MAILCONFIG:PB_TEST" ;
152        Pos = MAP_APPFONT ( 88, 164 ) ;
153        Size = MAP_APPFONT ( 105, 14 ) ;
154        Text[ en-US ] = "Test S~ettings..." ;
155    };
156};
157ModalDialog DLG_MM_TESTACCOUNTSETTINGS
158{
159    OutputSize = TRUE ;
160    SVLook = TRUE ;
161    HelpID = HID_MM_TESTACCOUNTSETTINGS;
162    Size = MAP_APPFONT ( 250, 176 ) ;
163    Moveable = TRUE ;
164
165    Text[ en-US ] = "Test Account Settings" ;
166
167    FixedText FI_INFO
168    {
169        Pos = MAP_APPFONT ( 6, 3 ) ;
170        Size = MAP_APPFONT ( 238, 8 ) ;
171        Text[ en-US ] = "%PRODUCTNAME is testing the e-mail account settings..." ;
172    };
173    Control LB_STATUS
174    {
175        Pos = MAP_APPFONT ( 6, 14 ) ;
176        Size = MAP_APPFONT ( 238, 50 ) ;
177        Border = TRUE;
178    };
179    FixedText FI_ERROR
180    {
181        Pos = MAP_APPFONT ( 6, 68 ) ;
182        Size = MAP_APPFONT ( 238, 8 ) ;
183        Text[ en-US ] = "Errors" ;
184    };
185    MultiLineEdit ED_ERROR
186    {
187        HelpID = "sw:MultiLineEdit:DLG_MM_TESTACCOUNTSETTINGS:ED_ERROR" ;
188        Pos = MAP_APPFONT ( 6, 79 ) ;
189        Size = MAP_APPFONT ( 238, 60 ) ;
190        Border = TRUE;
191        Readonly = TRUE;
192    };
193    FixedLine FL_SEPAPARATOR
194    {
195        Pos = MAP_APPFONT ( 0, 145 ) ;
196        Size = MAP_APPFONT ( 250, 8 ) ;
197    };
198    PushButton PB_STOP
199    {
200        HelpID = "sw:PushButton:DLG_MM_TESTACCOUNTSETTINGS:PB_STOP" ;
201        Pos = MAP_APPFONT ( 85, 156 ) ;
202        Size = MAP_APPFONT ( 50, 14 ) ;
203        Text[ en-US ] = "~Stop" ;
204    };
205    CancelButton PB_CANCEL
206    {
207        Pos = MAP_APPFONT ( 138, 156 ) ;
208        Size = MAP_APPFONT ( 50, 14 ) ;
209    };
210    HelpButton PB_HELP
211    {
212        Pos = MAP_APPFONT ( 194, 156 ) ;
213        Size = MAP_APPFONT ( 50, 14 ) ;
214    };
215    #define IMGLIST_IDS\
216        IdList = \
217        { \
218            FN_FORMULA_CANCEL   ;\
219            FN_FORMULA_APPLY    ;\
220        }; \
221        IdCount = 2
222
223    ImageList ILIST
224    {
225        Prefix = "sc" ;
226        IMGLIST_IDS;
227    };
228
229    ImageList ILIST_HC
230    {
231        Prefix = "sch" ;
232        IMGLIST_IDS;
233    };
234    String ST_TASK
235    {
236        Text[ en-US ] = "Task" ;
237    };
238    String ST_STATUS
239    {
240        Text[ en-US ] = "Status" ;
241    };
242    String ST_ESTABLISH
243    {
244        Text[ en-US ] = "Establish network connection" ;
245    };
246    String ST_FINDSERVER
247    {
248        Text[ en-US ] = "Find outgoing mail server" ;
249    };
250    String ST_COMPLETED
251    {
252        Text[ en-US ] = "Successful" ;
253    };
254    String ST_FAILED
255    {
256        Text[ en-US ] = "Failed" ;
257    };
258    String ST_ERROR_SERVER
259    {
260        Text[ en-US ] = "%PRODUCTNAME could not connect to the outgoing mail server. Check your system's settings and the settings in %PRODUCTNAME. Check the server name, the port and the secure connections settings" ;
261    };
262
263};
264ModalDialog DLG_MM_SERVERAUTHENTICATION
265{
266    OutputSize = TRUE ;
267    SVLook = TRUE ;
268    HelpID = HID_MM_SERVERAUTHENTICATION;
269    Size = MAP_APPFONT ( 250, 211 ) ;
270    Moveable = TRUE ;
271
272    Text[ en-US ] = "Server Authentication" ;
273
274    CheckBox CB_AUTHENTICATION
275    {
276        HelpID = "sw:CheckBox:DLG_MM_SERVERAUTHENTICATION:CB_AUTHENTICATION" ;
277        Pos = MAP_APPFONT ( 6, 3 ) ;
278        Size = MAP_APPFONT ( 238, 10 ) ;
279        Text[ en-US ] = "The outgoing mail server (SMTP) requires au~thentication" ;
280    };
281    RadioButton RB_SEP_AUTHENTICATION
282    {
283        HelpID = "sw:RadioButton:DLG_MM_SERVERAUTHENTICATION:RB_SEP_AUTHENTICATION" ;
284        Pos = MAP_APPFONT ( 12, 17 ) ;
285        Size = MAP_APPFONT ( 232, 10 ) ;
286        Text[ en-US ] = "The outgoing mail server (SMTP) requires ~separate authentication" ;
287    };
288    FixedText FT_OUTGOINGSERVER
289    {
290        Pos = MAP_APPFONT ( 18, 31 ) ;
291        Size = MAP_APPFONT ( 200, 8 ) ;
292        Text[ en-US ] = "Outgoing mail server:" ;
293    };
294    FixedText FT_USERNAME
295    {
296        Pos = MAP_APPFONT ( 18, 44 ) ;
297        Size = MAP_APPFONT ( 53, 8 ) ;
298        Text[ en-US ] = "~User name" ;
299    };
300    Edit ED_USERNAME
301    {
302        HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_USERNAME" ;
303        Pos = MAP_APPFONT ( 78, 42 ) ;
304        Size = MAP_APPFONT ( 115, 12 ) ;
305        Border = TRUE;
306    };
307    FixedText FT_OUTPASSWORD
308    {
309        Pos = MAP_APPFONT ( 18, 59 ) ;
310        Size = MAP_APPFONT ( 53, 8 ) ;
311        Text[ en-US ] = "~Password" ;
312    };
313    Edit ED_OUTPASSWORD
314    {
315        HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_OUTPASSWORD" ;
316        Pos = MAP_APPFONT ( 78, 57 ) ;
317        Size = MAP_APPFONT ( 115, 12 ) ;
318        Border = TRUE;
319        PassWord = TRUE;
320    };
321    RadioButton RB_SMPTAFTERPOP
322    {
323        HelpID = "sw:RadioButton:DLG_MM_SERVERAUTHENTICATION:RB_SMPTAFTERPOP" ;
324        Pos = MAP_APPFONT ( 12, 73 ) ;
325        Size = MAP_APPFONT ( 232, 20 ) ;
326        WordBreak = TRUE;
327        Text[ en-US ] = "The outgoing mail server uses the same authentication as the ~incoming mail server. Enter the settings of the incoming mail server." ;
328    };
329    FixedText FT_INCOMINGSERVER
330    {
331        Pos = MAP_APPFONT ( 18, 97 ) ;
332        Size = MAP_APPFONT ( 230, 8 ) ;
333        Text[ en-US ] = "Incoming mail server:" ;
334    };
335    FixedText FT_SERVER
336    {
337        Pos = MAP_APPFONT ( 18, 110 ) ;
338        Size = MAP_APPFONT ( 53, 8 ) ;
339        Text[ en-US ] = "Server ~name" ;
340    };
341    Edit ED_SERVER
342    {
343        HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_SERVER" ;
344        Pos = MAP_APPFONT ( 78, 108 ) ;
345        Size = MAP_APPFONT ( 115, 12 ) ;
346        Border = TRUE;
347    };
348    FixedText FT_PORT
349    {
350        Pos = MAP_APPFONT ( 195, 110 ) ;
351        Size = MAP_APPFONT ( 20, 10 ) ;
352        Right = TRUE;
353        Text[ en-US ] = "P~ort" ;
354    };
355    NumericField NF_PORT
356    {
357        HelpID = "sw:NumericField:DLG_MM_SERVERAUTHENTICATION:NF_PORT" ;
358        Pos = MAP_APPFONT ( 219, 108 ) ;
359        Size = MAP_APPFONT ( 25, 12 ) ;
360        Border = TRUE;
361        Left = TRUE ;
362        First = 1 ;
363        Minimum = 1 ;
364        Maximum = 65535;
365        Repeat = TRUE ;
366        Spin = FALSE ;
367        TabStop = TRUE ;
368    };
369    FixedText FT_PROTOCOL
370    {
371        Pos = MAP_APPFONT ( 18, 126 ) ;
372        Size = MAP_APPFONT ( 53, 8 ) ;
373        Text[ en-US ] = "Type" ;
374    };
375    RadioButton RB_POP3
376    {
377        HelpID = "sw:RadioButton:DLG_MM_SERVERAUTHENTICATION:RB_POP3" ;
378        Pos = MAP_APPFONT ( 78, 125 ) ;
379        Size = MAP_APPFONT ( 115, 10 ) ;
380        Text[ en-US ] = "~POP3" ;
381    };
382    RadioButton RB_IMAP
383    {
384        HelpID = "sw:RadioButton:DLG_MM_SERVERAUTHENTICATION:RB_IMAP" ;
385        Pos = MAP_APPFONT ( 78, 138 ) ;
386        Size = MAP_APPFONT ( 115, 10 ) ;
387        Text[ en-US ] = "~IMAP" ;
388    };
389    FixedText FT_INUSERNAME
390    {
391        Pos = MAP_APPFONT ( 18, 152 ) ;
392        Size = MAP_APPFONT ( 53, 8 ) ;
393        Text[ en-US ] = "Us~er name" ;
394    };
395    Edit ED_INUSERNAME
396    {
397        HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_INUSERNAME" ;
398        Pos = MAP_APPFONT ( 78, 150 ) ;
399        Size = MAP_APPFONT ( 115, 12 ) ;
400        Border = TRUE;
401    };
402    FixedText FT_INPASSWORD
403    {
404        Pos = MAP_APPFONT ( 18, 167 ) ;
405        Size = MAP_APPFONT ( 53, 8 ) ;
406        Text[ en-US ] = "Pass~word" ;
407    };
408    Edit ED_INPASSWORD
409    {
410        HelpID = "sw:Edit:DLG_MM_SERVERAUTHENTICATION:ED_INPASSWORD" ;
411        Pos = MAP_APPFONT ( 78, 165 ) ;
412        Size = MAP_APPFONT ( 115, 12 ) ;
413        Border = TRUE;
414        PassWord = TRUE;
415    };
416    FixedLine FL_SEPARATOR
417    {
418        Pos = MAP_APPFONT ( 0, 183 ) ;
419        Size = MAP_APPFONT ( 250, 8 ) ;
420    };
421    OKButton PB_OK
422    {
423        Pos = MAP_APPFONT ( 85, 191 ) ;
424        Size = MAP_APPFONT ( 50, 14 ) ;
425    };
426    CancelButton PB_CANCEL
427    {
428        Pos = MAP_APPFONT ( 138, 191 ) ;
429        Size = MAP_APPFONT ( 50, 14 ) ;
430    };
431    HelpButton PB_HELP
432    {
433        Pos = MAP_APPFONT ( 194, 191 ) ;
434        Size = MAP_APPFONT ( 50, 14 ) ;
435    };
436};
437