xref: /aoo42x/main/sw/source/ui/envelp/mailmrge.src (revision b1d35b17)
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 *****************************************************************
25#include "mailmrge.hrc"
26#include "cmdid.h"
27#include "helpid.h"
28
29#define _MAIL_MERGE_STRING_ \
30	Text [ en-US ] = "Mail Merge" ;	\
31
32ModalDialog DLG_MAILMERGE
33{
34	OutputSize = TRUE ;
35	SVLook = TRUE ;
36	Size = MAP_APPFONT ( 312, 264 ) ;
37	_MAIL_MERGE_STRING_
38	Moveable = TRUE ;
39	Sizeable = TRUE ;
40	HelpID = CMD_FN_QRY_MERGE ;
41	Window WIN_BEAMER
42	{
43		Pos = MAP_APPFONT ( 6, 3 ) ;
44		Size = MAP_APPFONT ( 300, 80 ) ;
45	};
46	RadioButton RB_ALL
47	{
48		HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_ALL" ;
49		Pos = MAP_APPFONT ( 12, 97 ) ;
50		Size = MAP_APPFONT ( 100, 10 ) ;
51		Text [ en-US ] = "~All" ;
52		TabStop = TRUE ;
53	};
54	RadioButton RB_MARKED
55	{
56		HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_MARKED" ;
57		Pos = MAP_APPFONT ( 12, 110 ) ;
58		Size = MAP_APPFONT ( 100, 10 ) ;
59		Text [ en-US ] = "~Selected records" ;
60		TabStop = TRUE ;
61	};
62	RadioButton RB_FROM
63	{
64		HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_FROM" ;
65		Pos = MAP_APPFONT ( 12, 123 ) ;
66		Size = MAP_APPFONT ( 33, 10 ) ;
67		Text [ en-US ] = "~From:" ;
68		TabStop = TRUE ;
69	};
70	NumericField NF_FROM
71	{
72		HelpID = "sw:NumericField:DLG_MAILMERGE:NF_FROM" ;
73		Border = TRUE ;
74		Pos = MAP_APPFONT ( 48, 122 ) ;
75		Size = MAP_APPFONT ( 24, 12 ) ;
76		TabStop = TRUE ;
77		StrictFormat = TRUE ;
78		Minimum = 1 ;
79		Maximum = 999999 ;
80	};
81	FixedText FT_BIS
82	{
83		Pos = MAP_APPFONT ( 75, 123 ) ;
84		Size = MAP_APPFONT ( 27, 10 ) ;
85		Text [ en-US ] = "~To:" ;
86		Center = TRUE ;
87	};
88	NumericField NF_TO
89	{
90		HelpID = "sw:NumericField:DLG_MAILMERGE:NF_TO" ;
91		Border = TRUE ;
92		Pos = MAP_APPFONT ( 105, 122 ) ;
93		Size = MAP_APPFONT ( 24, 12 ) ;
94		TabStop = TRUE ;
95		StrictFormat = TRUE ;
96		Minimum = 1 ;
97		Maximum = 999999 ;
98	};
99	FixedLine FL_RECORD
100	{
101		Pos = MAP_APPFONT ( 6, 86 ) ;
102		Size = MAP_APPFONT ( 126, 8 ) ;
103		Text [ en-US ] = "Records" ;
104	};
105	RadioButton RB_PRINTER
106	{
107		HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_PRINTER" ;
108		Pos = MAP_APPFONT ( 144, 97 ) ;
109		Size = MAP_APPFONT ( 53, 10 ) ;
110		Check = TRUE ;
111		TabStop = TRUE ;
112		Text [ en-US ] = "~Printer" ;
113	};
114	RadioButton RB_MAILING
115	{
116		HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_MAILING" ;
117		Pos = MAP_APPFONT ( 200, 97 ) ;
118		Size = MAP_APPFONT ( 53, 10 ) ;
119		TabStop = TRUE ;
120		Text [ en-US ] = "~Electronic" ;
121	};
122	RadioButton RB_FILE
123	{
124		HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_FILE" ;
125		Pos = MAP_APPFONT ( 256, 97 ) ;
126		Size = MAP_APPFONT ( 56, 10 ) ;
127		TabStop = TRUE ;
128		Text [ en-US ] = "File" ;
129	};
130	CheckBox CB_SINGLE_JOBS
131	{
132		HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_SINGLE_JOBS" ;
133		Pos = MAP_APPFONT ( 150, 112 ) ;
134		Size = MAP_APPFONT ( 142, 10 ) ;
135		TabStop = TRUE ;
136		Text [ en-US ] = "~Single print jobs" ;
137	};
138	FixedLine FL_SAVE_MERGED_DOCUMENT
139	{
140		Pos = MAP_APPFONT ( 144, 128 ) ;
141		Size = MAP_APPFONT ( 156, 8 ) ;
142		Text [ en-US ] = "Save merged document" ;
143	};
144	RadioButton RB_SAVE_SINGLE_DOC
145	{
146		HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_SAVE_SINGLE_DOC" ;
147		Pos = MAP_APPFONT ( 150, 139 ) ;
148		Size = MAP_APPFONT ( 150, 10 ) ;
149		TabStop = TRUE ;
150		Text [ en-US ] = "S~ave as single document" ;
151	};
152	RadioButton RB_SAVE_INDIVIDUAL
153	{
154		HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_SAVE_INDIVIDUAL" ;
155		Pos = MAP_APPFONT ( 150, 152 ) ;
156		Size = MAP_APPFONT ( 150, 10 ) ;
157		TabStop = TRUE ;
158		Text [ en-US ] = "Sa~ve as individual documents" ;
159	};
160	CheckBox RB_GENERATE_FROM_DATABASE
161	{
162		HelpID = "sw:CheckBox:DLG_MAILMERGE:RB_GENERATE_FROM_DATABASE" ;
163		Pos = MAP_APPFONT ( 156, 168 ) ;
164		Size = MAP_APPFONT ( 144, 10 ) ;
165		TabStop = TRUE ;
166		Text [ en-US ] = "Generate file name from ~Database" ;
167	};
168	FixedText FT_COLUMN
169	{
170		Pos = MAP_APPFONT ( 162, 184 ) ;
171		Size = MAP_APPFONT ( 41, 10 ) ;
172		Text [ en-US ] = "Field" ;
173	};
174	ListBox LB_COLUMN
175	{
176		HelpID = "sw:ListBox:DLG_MAILMERGE:LB_COLUMN" ;
177		Border = TRUE ;
178		Pos = MAP_APPFONT ( 205, 182 ) ;
179		Size = MAP_APPFONT ( 103, 84 ) ;
180		TabStop = TRUE ;
181		DropDown = TRUE ;
182	};
183	FixedText FT_PATH
184	{
185		Pos = MAP_APPFONT ( 162, 200 ) ;
186		Size = MAP_APPFONT ( 41, 10 ) ;
187		Text [ en-US ] = "~Path" ;
188	};
189	Edit ED_PATH
190	{
191		HelpID = "sw:Edit:DLG_MAILMERGE:ED_PATH" ;
192		Pos = MAP_APPFONT ( 205, 198 ) ;
193		Size = MAP_APPFONT ( 86, 12 ) ;
194		Border = TRUE ;
195		TabStop = TRUE ;
196	};
197	PushButton PB_PATH
198	{
199		HelpID = "sw:PushButton:DLG_MAILMERGE:PB_PATH" ;
200		Pos = MAP_APPFONT ( 294, 198 ) ;
201		Size = MAP_APPFONT ( 14, 12 ) ;
202		// Soll Groesse des Edits haben (12)!
203		Text = "~..." ;
204		TabStop = TRUE ;
205	};
206	FixedText FT_FILTER
207	{
208		Pos = MAP_APPFONT ( 162, 216 ) ;
209		Size = MAP_APPFONT ( 41, 8 ) ;
210		Text [ en-US ] = "F~ile format" ;
211	};
212	ListBox LB_FILTER
213	{
214		HelpID = "sw:ListBox:DLG_MAILMERGE:LB_FILTER" ;
215		Border = TRUE ;
216		Pos = MAP_APPFONT ( 205, 214 ) ;
217		Size = MAP_APPFONT ( 103, 84 ) ;
218		Disable = TRUE ;
219		TabStop = TRUE ;
220		DropDown = TRUE ;
221	};
222	ListBox LB_ADDRESSFLD
223	{
224		HelpID = "sw:ListBox:DLG_MAILMERGE:LB_ADDRESSFLD" ;
225		Border = TRUE ;
226		Pos = MAP_APPFONT ( 220, 110 ) ;
227		Size = MAP_APPFONT ( 74, 84 ) ;
228		Disable = TRUE ;
229		Hide = TRUE ;
230		TabStop = TRUE ;
231		DropDown = TRUE ;
232	};
233	FixedText FT_SUBJECT
234	{
235		Pos = MAP_APPFONT ( 144, 125 ) ;
236		Size = MAP_APPFONT ( 51, 10 ) ;
237		Disable = TRUE ;
238		Text [ en-US ] = "~Subject" ;
239	};
240	Edit ED_SUBJECT
241	{
242		HelpID = "sw:Edit:DLG_MAILMERGE:ED_SUBJECT" ;
243		Border = TRUE ;
244		Pos = MAP_APPFONT ( 220, 127 ) ;
245		Size = MAP_APPFONT ( 88, 12 ) ;
246		Disable = TRUE ;
247		TabStop = TRUE ;
248	};
249	FixedText FT_ATTACH
250	{
251		Pos = MAP_APPFONT ( 144, 140 ) ;
252		Size = MAP_APPFONT ( 51, 10 ) ;
253		Disable = TRUE ;
254		Text [ en-US ] = "Attachments" ;
255	};
256	Edit ED_ATTACH
257	{
258		HelpID = "sw:Edit:DLG_MAILMERGE:ED_ATTACH" ;
259		Border = TRUE ;
260		Pos = MAP_APPFONT ( 220, 140 ) ;
261		Size = MAP_APPFONT ( 72, 12 ) ;
262		Disable = TRUE ;
263		TabStop = TRUE ;
264		ReadOnly = TRUE ;
265	};
266	PushButton PB_ATTACH
267	{
268		HelpID = "sw:PushButton:DLG_MAILMERGE:PB_ATTACH" ;
269		Pos = MAP_APPFONT ( 294, 140 ) ;
270		Size = MAP_APPFONT ( 14, 12 ) ;
271		// Soll Groesse des Edits haben (12)!
272		Text = "~..." ;
273		TabStop = TRUE ;
274		Disable = TRUE ;
275	};
276	FixedText FT_FORMAT
277	{
278		Pos = MAP_APPFONT ( 144, 157 ) ;
279		Size = MAP_APPFONT ( 51, 8 ) ;
280		Disable = TRUE ;
281		Text [ en-US ] = "Mail Format" ;
282	};
283	CheckBox CB_FORMAT_HTML
284	{
285		HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_FORMAT_HTML" ;
286		Pos = MAP_APPFONT ( 220, 156 ) ;
287		Size = MAP_APPFONT ( 90, 10 ) ;
288		Disable = TRUE ;
289		TabStop = TRUE ;
290		Text [ en-US ] = "HTM~L" ;
291	};
292	CheckBox CB_FORMAT_RTF
293	{
294		HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_FORMAT_RTF" ;
295		Pos = MAP_APPFONT ( 220, 169 ) ;
296		Size = MAP_APPFONT ( 90, 10 ) ;
297		Disable = TRUE ;
298		TabStop = TRUE ;
299		Text [ en-US ] = "RT~F" ;
300	};
301	CheckBox CB_FORMAT_SW
302	{
303		HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_FORMAT_SW" ;
304		Pos = MAP_APPFONT ( 220, 182 ) ;
305		Size = MAP_APPFONT ( 90, 10 ) ;
306		Disable = TRUE ;
307		TabStop = TRUE ;
308		Text [ en-US ] = "%PRODUCTNAME Writer" ;
309	};
310	FixedLine FL_SEPARATOR
311	{
312		Pos = MAP_APPFONT ( 133, 93 ) ;
313		Size = MAP_APPFONT ( 4, 136 ) ;
314		Vert = TRUE;
315	};
316	FixedLine FL_DEST
317	{
318		Pos = MAP_APPFONT ( 138, 86 ) ;
319		Size = MAP_APPFONT ( 162, 8 ) ;
320		Text [ en-US ] = "Output" ;
321	};
322	FixedLine FL_BOTTOM_SEPARATOR
323	{
324		Pos = MAP_APPFONT ( 0, 232 ) ;
325		Size = MAP_APPFONT ( 312, 8 ) ;
326	};
327	OKButton BTN_OK
328	{
329		Pos = MAP_APPFONT ( 147, 244 ) ;
330		Size = MAP_APPFONT ( 50, 14 ) ;
331		DefButton = TRUE ;
332	};
333	CancelButton BTN_CANCEL
334	{
335		Pos = MAP_APPFONT ( 200, 244 ) ;
336		Size = MAP_APPFONT ( 50, 14 ) ;
337	};
338	HelpButton BTN_HELP
339	{
340		Pos = MAP_APPFONT ( 256, 244 ) ;
341		Size = MAP_APPFONT ( 50, 14 ) ;
342	};
343};
344
345ModalDialog DLG_MERGE_CREATE
346{
347	OutputSize = TRUE ;
348	SVLook = TRUE ;
349	Size = MAP_APPFONT ( 145, 63 ) ;
350	Moveable = TRUE ;
351	HelpID = HID_MAIL_MERGE_CREATE_FROM ;
352	_MAIL_MERGE_STRING_
353	FixedLine FL_CREATEFROM
354	{
355		Pos = MAP_APPFONT ( 6, 3 ) ;
356		Size = MAP_APPFONT ( 80, 8 ) ;
357		Text [ en-US ] = "Create" ;
358	};
359	RadioButton RB_THISDOC
360	{
361		HelpID = "sw:RadioButton:DLG_MERGE_CREATE:RB_THISDOC" ;
362		Pos = MAP_APPFONT ( 12, 14 ) ;
363		Size = MAP_APPFONT ( 70, 10 ) ;
364		Check = TRUE ;
365		TabStop = TRUE ;
366		Text [ en-US ] = "From this ~document" ;
367	};
368	RadioButton RB_TEMPLATE
369	{
370		HelpID = "sw:RadioButton:DLG_MERGE_CREATE:RB_TEMPLATE" ;
371		Pos = MAP_APPFONT ( 12, 27 ) ;
372		Size = MAP_APPFONT ( 70, 10 ) ;
373		TabStop = TRUE ;
374		Text [ en-US ] = "From a ~template" ;
375	};
376	OKButton BT_OK
377	{
378		Pos = MAP_APPFONT ( 89, 6 ) ;
379		Size = MAP_APPFONT ( 50, 14 ) ;
380		DefButton = TRUE ;
381	};
382	CancelButton BT_CANCEL
383	{
384		Pos = MAP_APPFONT ( 89, 23 ) ;
385		Size = MAP_APPFONT ( 50, 14 ) ;
386	};
387	HelpButton BT_HELP
388	{
389		Pos = MAP_APPFONT ( 89, 43 ) ;
390		Size = MAP_APPFONT ( 50, 14 ) ;
391	};
392
393};
394ModalDialog DLG_MERGE_FIELD_CONNECTIONS
395{
396	OutputSize = TRUE ;
397	SVLook = TRUE ;
398	Size = MAP_APPFONT ( 205, 97 ) ;
399	Moveable = TRUE ;
400	HelpID = HID_MAIL_MERGE_INSERT_FIELDS ;
401	Text [ en-US ] = "Data Source Connection" ;
402	FixedLine FL_CONNECTIONS
403	{
404		Pos = MAP_APPFONT ( 6, 3 ) ;
405		Size = MAP_APPFONT ( 140, 8 ) ;
406		Text [ en-US ] = "Connect" ;
407	};
408	RadioButton RB_USEEXISTING
409	{
410		HelpID = "sw:RadioButton:DLG_MERGE_FIELD_CONNECTIONS:RB_USEEXISTING" ;
411		Pos = MAP_APPFONT ( 12, 14 ) ;
412		Size = MAP_APPFONT ( 130, 10 ) ;
413		Check = TRUE ;
414		TabStop = TRUE ;
415		Text [ en-US ] = "~Use existing" ;
416	};
417	RadioButton RB_CREATENEW
418	{
419		HelpID = "sw:RadioButton:DLG_MERGE_FIELD_CONNECTIONS:RB_CREATENEW" ;
420		Pos = MAP_APPFONT ( 12, 27 ) ;
421		Size = MAP_APPFONT ( 130, 10 ) ;
422		TabStop = TRUE ;
423		Text [ en-US ] = "~Create new connection" ;
424	};
425	FixedText FT_INFO
426	{
427		Pos = MAP_APPFONT ( 6, 41 ) ;
428		Size = MAP_APPFONT ( 141, 50 ) ;
429		WordBreak = TRUE ;
430		Text [ en-US ] = "Fields are used to personalize form letters. The fields are placeholders for data from a data source, such as a database. The fields in the form letter must be connected to the data source." ;
431	};
432	OKButton BT_OK
433	{
434		Pos = MAP_APPFONT ( 149, 6 ) ;
435		Size = MAP_APPFONT ( 50, 14 ) ;
436		DefButton = TRUE ;
437	};
438	CancelButton BT_CANCEL
439	{
440		Pos = MAP_APPFONT ( 149, 23 ) ;
441		Size = MAP_APPFONT ( 50, 14 ) ;
442	};
443	HelpButton BT_HELP
444	{
445		Pos = MAP_APPFONT ( 149, 43 ) ;
446		Size = MAP_APPFONT ( 50, 14 ) ;
447	};
448
449};
450
451// ********************************************************************** EOF
452