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