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#include "mailmergechildwindow.hrc"
24#include "dbui.hrc"
25#include "helpid.h"
26#include <cmdid.h>
27
28#define WIDTH	100
29#define HEIGHT	16
30
31#define WORKAROUND \
32	Text [ en-US ] = "Return to Mail Merge Wizard" ; \
33
34
35FloatingWindow DLG_MAILMERGECHILD\
36{
37	OutputSize = TRUE ;
38	SVLook = TRUE ;
39	Size = MAP_APPFONT ( WIDTH, HEIGHT ) ;
40	Moveable = TRUE ;
41	Closeable = FALSE ;
42	Sizeable = FALSE ;
43	Zoomable = TRUE ;
44	HelpID = HID_MAILMERGECHILD ;
45	Hide = TRUE ;
46	Text [ en-US ] = "Mail Merge Wizard" ;\
47	ToolBox TB_BACK\
48	{
49		MenuStrings = TRUE ;
50		SVLook = TRUE ;
51		ItemList =
52		{
53			ToolBoxItem\
54			{
55				Identifier = 1 ;
56				HelpID = HID_RETURN_TO_MAILMERGE ;
57				Left = TRUE ;
58				WORKAROUND
59			};
60		};
61	};
62	#define IMGLIST1_IDS\
63		IdList = \
64		{ \
65			FN_SHOW_ROOT; \
66		}; \
67		IdCount = 1
68
69	ImageList ILIST_TBX
70	{
71		Prefix = "sc" ;
72		MaskColor = IMAGE_MASK_COLOR ;
73		IMGLIST1_IDS ;
74	};
75
76	ImageList ILIST_TBX_HC
77	{
78		Prefix = "sch" ;
79		MaskColor = IMAGE_MASK_COLOR ;
80		IMGLIST1_IDS ;
81	};
82};
83
84//FloatingWindow DLG_MM_SENDMAILS
85ModelessDialog /*ModalDialog*/ DLG_MM_SENDMAILS
86{
87	OutputSize = TRUE ;
88	SVLook = TRUE ;
89	HelpID = HID_MM_SENDMAILS ;
90	Size = MAP_APPFONT ( 250, 221 ) ;
91	Moveable = TRUE ;
92	Closeable = TRUE ;
93
94	Text [ en-US ] = "Sending E-mail messages" ;
95
96	FixedLine FL_STATUS
97	{
98		Pos = MAP_APPFONT ( 6, 3 ) ;
99		Size = MAP_APPFONT ( 238, 8 ) ;
100		Text [ en-US ] = "Connection status" ;
101	};
102	FixedText FT_STATUS1
103	{
104		Pos = MAP_APPFONT ( 12, 14 ) ;
105		Size = MAP_APPFONT ( 226, 8 ) ;
106		Text [ en-US ] = "The connection to the outgoing mail server has been established" ;
107	};
108	String ST_SEND
109	{
110		Text [ en-US ] = "Sending e-mails..." ;
111	};
112	FixedLine FL_TRANSFERSTATUS
113	{
114		Pos = MAP_APPFONT ( 6, 28 ) ;
115		Size = MAP_APPFONT ( 238, 8 ) ;
116		Text [ en-US ] = "Transfer status" ;
117	};
118	FixedText FT_TRANSFERSTATUS
119	{
120		Pos = MAP_APPFONT ( 12, 39 ) ;
121		Size = MAP_APPFONT ( 110, 8 ) ;
122		Text [ en-US ] = "%1 of %2 e-mails sent" ;
123	};
124	FixedText FI_PAUSED
125	{
126		Pos = MAP_APPFONT ( 125, 39 ) ;
127		Size = MAP_APPFONT ( 100, 8 ) ;
128		Hide = TRUE ;
129		Text [ en-US ] = "Sending paused" ;
130	};
131	Window PB_PROGRESS
132	{
133		Pos = MAP_APPFONT ( 12, 50 ) ;
134		Size = MAP_APPFONT ( 226, 14 ) ;
135		Border = TRUE ;
136	};
137	FixedText FT_ERRORSTATUS
138	{
139		Pos = MAP_APPFONT ( 12, 67 ) ;
140		Size = MAP_APPFONT ( 226, 8 ) ;
141		Text [ en-US ] = "E-mails not sent: %1" ;
142	};
143	PushButton PB_DETAILS
144	{
145		Pos = MAP_APPFONT ( 188, 81 ) ;
146		Size = MAP_APPFONT ( 50, 14 ) ;
147		Text [ en-US ] = "More >" ;
148	};
149	String ST_LESS
150	{
151		Text [ en-US ] = "< Less" ;
152	};
153
154	Control LB_STATUS
155	{
156		Pos = MAP_APPFONT ( 12, 101 ) ;
157		Size = MAP_APPFONT ( 226, 80 ) ;
158		Border = TRUE ;
159	};
160	FixedLine FL_SEPARATOR
161	{
162		Pos = MAP_APPFONT ( 0, 187 ) ;
163		Size = MAP_APPFONT ( 250, 8 ) ;
164	};
165	PushButton PB_STOP
166	{
167		Pos = MAP_APPFONT ( 141, 201 ) ;
168		Size = MAP_APPFONT ( 50, 14 ) ;
169		Text [ en-US ] = "~Stop" ;
170	};
171	PushButton PB_CLOSE
172	{
173		Pos = MAP_APPFONT ( 194, 201 ) ;
174		Size = MAP_APPFONT ( 50, 14 ) ;
175		Text [ en-US ] = "C~lose" ;
176	};
177	String ST_CONTINUE
178	{
179		Text [ en-US ] = "~Continue" ;
180	};
181	#define IMGLIST2_IDS\
182		IdList = \
183		{ \
184			FN_FORMULA_CANCEL ;\
185			FN_FORMULA_APPLY ;\
186		}; \
187		IdCount = 2
188
189	ImageList ILIST
190	{
191		Prefix = "sc" ;
192		MaskColor = IMAGE_MASK_COLOR ;
193		IMGLIST2_IDS ;
194	};
195
196	ImageList ILIST_HC
197	{
198		Prefix = "sch" ;
199		MaskColor = IMAGE_MASK_COLOR ;
200		IMGLIST2_IDS ;
201	};
202	String ST_TASK
203	{
204		Text [ en-US ] = "Task" ;
205	};
206	String ST_STATUS
207	{
208		Text [ en-US ] = "Status" ;
209	};
210	String ST_SENDINGTO
211	{
212		Text [ en-US ] = "Sending to: %1" ;
213	};
214	String ST_COMPLETED
215	{
216		Text [ en-US ] = "Successfully sent" ;
217	};
218	String ST_FAILED
219	{
220		Text [ en-US ] = "Sending failed (invalid address)" ;
221	};
222	String ST_TERMINATEQUERY
223	{
224		Text [ en-US ] = "There are still e-mail messages in your %PRODUCTNAME Outbox.\nWould you like to exit anyway?" ;
225	};
226};
227
228ModalDialog DLG_MM_SENDWARNING
229{
230	OutputSize = TRUE ;
231	SVLook = TRUE ;
232	HelpID = HID_MM_SENDWARNING ;
233	Size = MAP_APPFONT ( 240, 137 ) ;
234	Moveable = TRUE ;
235
236	Text[en-US] = "E-Mails could not be sent" ;
237	FixedImage IM_WARNING
238	{
239		Pos = MAP_APPFONT ( 6, 3 ) ;
240		Size = MAP_APPFONT ( 30, 30 ) ;
241	};
242	FixedText FI_WARNING
243	{
244		Pos = MAP_APPFONT ( 40, 6 ) ;
245		Size = MAP_APPFONT ( 170, 30 ) ;
246		WordBreak = TRUE ;
247		Text [ en-US ] = "The following error occurred:" ;
248	};
249	FixedText FT_DETAILS
250	{
251		Pos = MAP_APPFONT ( 40, 39 ) ;
252		Size = MAP_APPFONT ( 174, 8 ) ;
253		Text [ en-US ] = "Detailed information" ;
254	};
255	MultiLineEdit ED_DETAILS
256	{
257		HelpID = "sw:MultiLineEdit:DLG_MM_SENDWARNING:ED_DETAILS" ;
258		Pos = MAP_APPFONT ( 40, 50 ) ;
259		Size = MAP_APPFONT ( 194, 50 ) ;
260		Border = TRUE ;
261		Readonly = TRUE ;
262	};
263	FixedLine FL_SEPARATOR
264	{
265		Pos = MAP_APPFONT ( 0, 106 ) ;
266		Size = MAP_APPFONT ( 240, 8 ) ;
267	};
268	OKButton PB_OK
269	{
270		Pos = MAP_APPFONT ( 95, 117) ;
271		Size = MAP_APPFONT ( 50, 14 ) ;
272		DefButton = TRUE ;
273	};
274};
275
276// ********************************************************************** EOF
277