summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/mailmrge.src
blob: f87f08478ac66954ace021f2fa594ab0f3c1fe69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

 // #include *****************************************************************
#include "mailmrge.hrc"
#include "cmdid.h"
#include "helpid.h"

#define _MAIL_MERGE_STRING_ \
    Text [ en-US ] = "Mail Merge" ;	\

ModalDialog DLG_MAILMERGE
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 312 , 264 ) ;
    _MAIL_MERGE_STRING_
    Moveable = TRUE ;
    Sizeable = TRUE;
    HelpID = FN_QRY_MERGE ;
    Window WIN_BEAMER
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 300 , 80 ) ;
    };
    RadioButton RB_ALL
    {
        Pos = MAP_APPFONT ( 12 , 97 ) ;
        Size = MAP_APPFONT ( 100 , 10 ) ;
        Text [ en-US ] = "~All" ;
        TabStop = TRUE ;
    };
    RadioButton RB_MARKED
    {
        Pos = MAP_APPFONT ( 12 , 110 ) ;
        Size = MAP_APPFONT ( 100 , 10 ) ;
        Text [ en-US ] = "~Selected records" ;
        TabStop = TRUE ;
    };
    RadioButton RB_FROM
    {
        Pos = MAP_APPFONT ( 12 , 123 ) ;
        Size = MAP_APPFONT ( 33 , 10 ) ;
        Text [ en-US ] = "~From:" ;
        TabStop = TRUE ;
    };
    NumericField NF_FROM
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 48 , 122 ) ;
        Size = MAP_APPFONT ( 24 , 12 ) ;
        TabStop = TRUE ;
        StrictFormat = TRUE ;
        Minimum = 1 ;
        Maximum = 999999 ;
    };
    FixedText FT_BIS
    {
        Pos = MAP_APPFONT ( 75 , 123 ) ;
        Size = MAP_APPFONT ( 27 , 10 ) ;
        Text [ en-US ] = "~To:" ;
        Center = TRUE ;
    };
    NumericField NF_TO
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 105 , 122 ) ;
        Size = MAP_APPFONT ( 24 , 12 ) ;
        TabStop = TRUE ;
        StrictFormat = TRUE ;
        Minimum = 1 ;
        Maximum = 999999 ;
    };
    FixedLine FL_RECORD
    {
        Pos = MAP_APPFONT ( 6 , 86 ) ;
        Size = MAP_APPFONT ( 126 , 8 ) ;
        Text [ en-US ] = "Records" ;
    };
    RadioButton RB_PRINTER
    {
        Pos = MAP_APPFONT ( 144 , 97 ) ;
        Size = MAP_APPFONT ( 53 , 10 ) ;
        Check = TRUE ;
        TabStop = TRUE ;
        Text [ en-US ] = "~Printer" ;
    };
    RadioButton RB_MAILING
    {
        Pos = MAP_APPFONT ( 200 , 97 ) ;
        Size = MAP_APPFONT ( 53 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "~Electronic" ;
    };
    RadioButton RB_FILE
    {
        Pos = MAP_APPFONT ( 256 , 97 ) ;
        Size = MAP_APPFONT ( 56 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "File" ;
    };
    CheckBox CB_SINGLE_JOBS
    {
        Pos = MAP_APPFONT ( 150 , 112 ) ;
        Size = MAP_APPFONT ( 142 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "~Single print jobs" ;
    };
    FixedLine FL_SAVE_MERGED_DOCUMENT
    {
        Pos = MAP_APPFONT (  144, 128 ) ;
        Size = MAP_APPFONT ( 156 , 8 ) ;
        Text [ en-US ] = "Save merged document" ;
    };
    RadioButton RB_SAVE_SINGLE_DOC     
    {
        Pos = MAP_APPFONT (  150, 139 ) ;
        Size = MAP_APPFONT ( 150 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "S~ave as single document";
    };
    RadioButton RB_SAVE_INDIVIDUAL     
    {
        Pos = MAP_APPFONT (  150, 152 ) ;
        Size = MAP_APPFONT ( 150 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "Sa~ve as individual documents";
    };
    CheckBox RB_GENERATE_FROM_DATABASE
    {
        Pos = MAP_APPFONT (  156, 168 ) ;
        Size = MAP_APPFONT ( 144 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "Generate file name from ~Database";
    };
    FixedText FT_COLUMN
    {
        Pos = MAP_APPFONT ( 162 , 184 ) ;
        Size = MAP_APPFONT ( 41 , 10 ) ;
        Text [ en-US ] = "Field" ;
    };
    ListBox LB_COLUMN
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 205 , 182 ) ;
        Size = MAP_APPFONT ( 103 , 84 ) ;
        TabStop = TRUE ;
        DropDown = TRUE ;
    };
    FixedText FT_PATH
    {
        Pos = MAP_APPFONT ( 162 , 200 ) ;
        Size = MAP_APPFONT ( 41 , 10 ) ;
        Text [ en-US ] = "~Path" ;
    };
    Edit ED_PATH
    {
        Pos = MAP_APPFONT ( 205 , 198 ) ;
        Size = MAP_APPFONT ( 86 , 12 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
    };
    PushButton PB_PATH
    {
        Pos = MAP_APPFONT ( 294 , 198 ) ;
        Size = MAP_APPFONT ( 14 , 12 ) ;
         // Soll Groesse des Edits haben (12)!
        Text = "~..." ;
        TabStop = TRUE ;
    };
    FixedText FT_FILTER
    {
        Pos = MAP_APPFONT ( 162 , 216 ) ;
        Size = MAP_APPFONT ( 41 , 8 ) ;
        Text [ en-US ] = "F~ile format" ;
    };
    ListBox LB_FILTER
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 205 , 214 ) ;
        Size = MAP_APPFONT ( 103 , 84 ) ;
        Disable = TRUE ;
        TabStop = TRUE ;
        DropDown = TRUE ;
    };
    ListBox LB_ADDRESSFLD
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 220 , 110 ) ;
        Size = MAP_APPFONT ( 74 , 84 ) ;
        Disable = TRUE ;
        Hide = TRUE ;
        TabStop = TRUE ;
        DropDown = TRUE ;
    };
    FixedText FT_SUBJECT
    {
        Pos = MAP_APPFONT ( 144 , 125 ) ;
        Size = MAP_APPFONT ( 51 , 10 ) ;
        Disable = TRUE ;
        Text [ en-US ] = "~Subject" ;
    };
    Edit ED_SUBJECT
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 220 , 127 ) ;
        Size = MAP_APPFONT ( 88 , 12 ) ;
        Disable = TRUE ;
        TabStop = TRUE ;
    };
    FixedText FT_ATTACH
    {
        Pos = MAP_APPFONT ( 144 , 140 ) ;
        Size = MAP_APPFONT ( 51 , 10 ) ;
        Disable = TRUE ;
        Text [ en-US ] = "Attachments" ;
    };
    Edit ED_ATTACH
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 220 , 140 ) ;
        Size = MAP_APPFONT ( 72 , 12 ) ;
        Disable = TRUE ;
        TabStop = TRUE ;
        ReadOnly = TRUE ;
    };
    PushButton PB_ATTACH
    {
        Pos = MAP_APPFONT ( 294 , 140 ) ;
        Size = MAP_APPFONT ( 14 , 12 ) ;
         // Soll Groesse des Edits haben (12)!
        Text = "~..." ;
        TabStop = TRUE ;
        Disable = TRUE ;
    };
    FixedText FT_FORMAT
    {
        Pos = MAP_APPFONT ( 144 , 157 ) ;
        Size = MAP_APPFONT ( 51 , 8 ) ;
        Disable = TRUE ;
        Text [ en-US ] = "Mail Format" ;
    };
    CheckBox CB_FORMAT_HTML
    {
        Pos = MAP_APPFONT ( 220 , 156 ) ;
        Size = MAP_APPFONT ( 90 , 10 ) ;
        Disable = TRUE ;
        /* ### ACHTUNG: Neuer Text in Resource? HTM~L : HTML */
        TabStop = TRUE ;
        Text [ en-US ] = "HTM~L" ;
    };
    CheckBox CB_FORMAT_RTF
    {
        Pos = MAP_APPFONT ( 220 , 169 ) ;
        Size = MAP_APPFONT ( 90 , 10 ) ;
        Disable = TRUE ;
        TabStop = TRUE ;
        Text [ en-US ] = "RT~F" ;
    };
    CheckBox CB_FORMAT_SW
    {
        Pos = MAP_APPFONT ( 220, 182 ) ;
        Size = MAP_APPFONT ( 90 , 10 ) ;
        Disable = TRUE ;
        TabStop = TRUE ;
        Text [ en-US ] = "%PRODUCTNAME Writer" ;
    };
    FixedLine FL_SEPARATOR
    {
        Pos = MAP_APPFONT ( 133 , 93 ) ;
        Size = MAP_APPFONT ( 4 , 136 ) ;
        Vert = TRUE;
    };
    FixedLine FL_DEST
    {
        Pos = MAP_APPFONT ( 138 , 86 ) ;
        Size = MAP_APPFONT ( 162 , 8 ) ;
        Text [ en-US ] = "Output" ;
    };
    FixedLine FL_BOTTOM_SEPARATOR    
    {
        Pos = MAP_APPFONT (  0, 232 ) ;
        Size = MAP_APPFONT ( 312 , 8 ) ;
    };
    OKButton BTN_OK
    {
        Pos = MAP_APPFONT ( 147 , 244 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        DefButton = TRUE ;
    };
    CancelButton BTN_CANCEL
    {
        Pos = MAP_APPFONT ( 200 , 244 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
    HelpButton BTN_HELP
    {
        Pos = MAP_APPFONT ( 256 , 244 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
};

ModalDialog DLG_MERGE_CREATE
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 145 , 63 ) ;
    Moveable = TRUE ;
    HelpID = HID_MAIL_MERGE_CREATE_FROM;
    _MAIL_MERGE_STRING_
    FixedLine FL_CREATEFROM
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 80 , 8 ) ;
        Text [ en-US ] = "Create" ;
    };
    RadioButton RB_THISDOC
    {
        Pos = MAP_APPFONT ( 12 , 14 ) ;
        Size = MAP_APPFONT ( 70 , 10 ) ;
        Check = TRUE;
        TabStop = TRUE ;
        Text [ en-US ] = "From this ~document" ;
    };
    RadioButton RB_TEMPLATE
    {
        Pos = MAP_APPFONT ( 12 , 27 ) ;
        Size = MAP_APPFONT ( 70 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "From a ~template" ;
    };
    OKButton BT_OK
    {
        Pos = MAP_APPFONT ( 89 , 6 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        DefButton = TRUE ;
    };
    CancelButton BT_CANCEL
    {
        Pos = MAP_APPFONT ( 89 , 23 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
    HelpButton BT_HELP
    {
        Pos = MAP_APPFONT ( 89 , 43 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };

};
ModalDialog DLG_MERGE_FIELD_CONNECTIONS
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 205 , 97 ) ;
    Moveable = TRUE ;
    HelpID = HID_MAIL_MERGE_INSERT_FIELDS;
    Text [ en-US ] = "Data Source Connection" ;
    FixedLine FL_CONNECTIONS
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 140 , 8 ) ;
        Text [ en-US ] = "Connect" ;
    };
    RadioButton RB_USEEXISTING
    {
        Pos = MAP_APPFONT ( 12 , 14 ) ;
        Size = MAP_APPFONT ( 130 , 10 ) ;
        Check = TRUE;
        TabStop = TRUE ;
        Text [ en-US ] = "~Use existing" ;
    };
    RadioButton RB_CREATENEW
    {
        Pos = MAP_APPFONT ( 12 , 27 ) ;
        Size = MAP_APPFONT ( 130 , 10 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "~Create new connection" ;
    };
    FixedText FT_INFO
    {
        Pos = MAP_APPFONT ( 6 , 41 ) ;
        Size = MAP_APPFONT ( 141 , 50 ) ;
        WordBreak = TRUE;
        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." ;
    };
    OKButton BT_OK
    {
        Pos = MAP_APPFONT ( 149 , 6 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        DefButton = TRUE ;
    };
    CancelButton BT_CANCEL
    {
        Pos = MAP_APPFONT ( 149 , 23 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
    HelpButton BT_HELP
    {
        Pos = MAP_APPFONT ( 149 , 43 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };

};