xref: /aoo42x/main/sw/source/ui/envelp/mailmrge.src (revision 8660f102)
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		/* ### ACHTUNG: Neuer Text in Resource? HTM~L : HTML */
290		TabStop = TRUE ;
291		Text [ en-US ] = "HTM~L" ;
292	};
293	CheckBox CB_FORMAT_RTF
294	{
295	    HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_FORMAT_RTF";
296        Pos = MAP_APPFONT ( 220 , 169 ) ;
297        Size = MAP_APPFONT ( 90 , 10 ) ;
298		Disable = TRUE ;
299		TabStop = TRUE ;
300		Text [ en-US ] = "RT~F" ;
301	};
302	CheckBox CB_FORMAT_SW
303	{
304	    HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_FORMAT_SW";
305        Pos = MAP_APPFONT ( 220, 182 ) ;
306        Size = MAP_APPFONT ( 90 , 10 ) ;
307		Disable = TRUE ;
308		TabStop = TRUE ;
309		Text [ en-US ] = "%PRODUCTNAME Writer" ;
310	};
311    FixedLine FL_SEPARATOR
312    {
313        Pos = MAP_APPFONT ( 133 , 93 ) ;
314        Size = MAP_APPFONT ( 4 , 136 ) ;
315        Vert = TRUE;
316    };
317    FixedLine FL_DEST
318	{
319        Pos = MAP_APPFONT ( 138 , 86 ) ;
320        Size = MAP_APPFONT ( 162 , 8 ) ;
321		Text [ en-US ] = "Output" ;
322	};
323    FixedLine FL_BOTTOM_SEPARATOR
324    {
325        Pos = MAP_APPFONT (  0, 232 ) ;
326        Size = MAP_APPFONT ( 312 , 8 ) ;
327    };
328	OKButton BTN_OK
329	{
330        Pos = MAP_APPFONT ( 147 , 244 ) ;
331		Size = MAP_APPFONT ( 50 , 14 ) ;
332		DefButton = TRUE ;
333	};
334	CancelButton BTN_CANCEL
335	{
336        Pos = MAP_APPFONT ( 200 , 244 ) ;
337		Size = MAP_APPFONT ( 50 , 14 ) ;
338	};
339	HelpButton BTN_HELP
340	{
341        Pos = MAP_APPFONT ( 256 , 244 ) ;
342		Size = MAP_APPFONT ( 50 , 14 ) ;
343	};
344};
345
346ModalDialog DLG_MERGE_CREATE
347{
348    OutputSize = TRUE ;
349    SVLook = TRUE ;
350    Size = MAP_APPFONT ( 145 , 63 ) ;
351    Moveable = TRUE ;
352    HelpID = HID_MAIL_MERGE_CREATE_FROM;
353    _MAIL_MERGE_STRING_
354    FixedLine FL_CREATEFROM
355    {
356        Pos = MAP_APPFONT ( 6 , 3 ) ;
357        Size = MAP_APPFONT ( 80 , 8 ) ;
358        Text [ en-US ] = "Create" ;
359	};
360    RadioButton RB_THISDOC
361    {
362        HelpID = "sw:RadioButton:DLG_MERGE_CREATE:RB_THISDOC";
363        Pos = MAP_APPFONT ( 12 , 14 ) ;
364        Size = MAP_APPFONT ( 70 , 10 ) ;
365        Check = TRUE;
366        TabStop = TRUE ;
367        Text [ en-US ] = "From this ~document" ;
368	};
369    RadioButton RB_TEMPLATE
370    {
371        HelpID = "sw:RadioButton:DLG_MERGE_CREATE:RB_TEMPLATE";
372        Pos = MAP_APPFONT ( 12 , 27 ) ;
373        Size = MAP_APPFONT ( 70 , 10 ) ;
374        TabStop = TRUE ;
375        Text [ en-US ] = "From a ~template" ;
376	};
377    OKButton BT_OK
378    {
379        Pos = MAP_APPFONT ( 89 , 6 ) ;
380        Size = MAP_APPFONT ( 50 , 14 ) ;
381        DefButton = TRUE ;
382    };
383    CancelButton BT_CANCEL
384    {
385        Pos = MAP_APPFONT ( 89 , 23 ) ;
386        Size = MAP_APPFONT ( 50 , 14 ) ;
387    };
388    HelpButton BT_HELP
389    {
390        Pos = MAP_APPFONT ( 89 , 43 ) ;
391        Size = MAP_APPFONT ( 50 , 14 ) ;
392    };
393
394};
395ModalDialog DLG_MERGE_FIELD_CONNECTIONS
396{
397    OutputSize = TRUE ;
398    SVLook = TRUE ;
399    Size = MAP_APPFONT ( 205 , 97 ) ;
400    Moveable = TRUE ;
401    HelpID = HID_MAIL_MERGE_INSERT_FIELDS;
402    Text [ en-US ] = "Data Source Connection" ;
403    FixedLine FL_CONNECTIONS
404    {
405        Pos = MAP_APPFONT ( 6 , 3 ) ;
406        Size = MAP_APPFONT ( 140 , 8 ) ;
407        Text [ en-US ] = "Connect" ;
408	};
409    RadioButton RB_USEEXISTING
410    {
411        HelpID = "sw:RadioButton:DLG_MERGE_FIELD_CONNECTIONS:RB_USEEXISTING";
412        Pos = MAP_APPFONT ( 12 , 14 ) ;
413        Size = MAP_APPFONT ( 130 , 10 ) ;
414        Check = TRUE;
415        TabStop = TRUE ;
416        Text [ en-US ] = "~Use existing" ;
417	};
418    RadioButton RB_CREATENEW
419    {
420        HelpID = "sw:RadioButton:DLG_MERGE_FIELD_CONNECTIONS:RB_CREATENEW";
421        Pos = MAP_APPFONT ( 12 , 27 ) ;
422        Size = MAP_APPFONT ( 130 , 10 ) ;
423        TabStop = TRUE ;
424        Text [ en-US ] = "~Create new connection" ;
425	};
426    FixedText FT_INFO
427    {
428        Pos = MAP_APPFONT ( 6 , 41 ) ;
429        Size = MAP_APPFONT ( 141 , 50 ) ;
430        WordBreak = TRUE;
431        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." ;
432	};
433    OKButton BT_OK
434    {
435        Pos = MAP_APPFONT ( 149 , 6 ) ;
436        Size = MAP_APPFONT ( 50 , 14 ) ;
437        DefButton = TRUE ;
438    };
439    CancelButton BT_CANCEL
440    {
441        Pos = MAP_APPFONT ( 149 , 23 ) ;
442        Size = MAP_APPFONT ( 50 , 14 ) ;
443    };
444    HelpButton BT_HELP
445    {
446        Pos = MAP_APPFONT ( 149 , 43 ) ;
447        Size = MAP_APPFONT ( 50 , 14 ) ;
448    };
449
450};
451
452