xref: /aoo42x/main/sw/source/ui/dbui/mmoutputpage.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#include <mmoutputpage.hrc>
24#include <dbui.hrc>
25#include <helpid.h>
26
27TabPage DLG_MM_OUTPUT_PAGE
28{
29    HelpID = HID_MM_OUTPUTPAGE ;
30    Size = MAP_APPFONT ( 260 , 250 ) ;
31    Hide = TRUE ;
32
33    FixedText FI_HEADER
34    {
35        Pos = MAP_APPFONT ( 6 , 8 ) ;
36        Size = MAP_APPFONT ( 248 , 8 ) ;
37        Text[ en-US ] = "Save, print or send the document";
38    };
39    FixedText FI_OPTIONS
40    {
41        Pos = MAP_APPFONT ( 6 , 27 ) ;
42        Size = MAP_APPFONT ( 248 , 8 ) ;
43        Text[ en-US ] = "Select one of the options below:";
44    };
45    RadioButton RB_SAVESTARTDOC
46    {
47        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SAVESTARTDOC";
48        Pos = MAP_APPFONT ( 45 , 40 ) ;
49        Size = MAP_APPFONT ( 209 , 10 ) ;
50        Text[ en-US ] = "~Save starting document";
51    };
52    RadioButton RB_SAVEMERGEDDOC
53    {
54        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SAVEMERGEDDOC";
55        Pos = MAP_APPFONT ( 45 , 53 ) ;
56        Size = MAP_APPFONT ( 209 , 10 ) ;
57        Text[ en-US ] = "Save ~merged document" ;
58    };
59    RadioButton RB_PRINT
60    {
61        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_PRINT";
62        Pos = MAP_APPFONT ( 45 , 66 ) ;
63        Size = MAP_APPFONT ( 209 , 10 ) ;
64        Text[ en-US ] = "~Print merged document";
65    };
66    RadioButton RB_SENDMAIL
67    {
68        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SENDMAIL";
69        Pos = MAP_APPFONT ( 45 , 79 ) ;
70        Size = MAP_APPFONT ( 209 , 10 ) ;
71        Text[ en-US ] = "Send merged document as ~E-Mail";
72    };
73    FixedLine   FL_SEPARATOR
74    {
75        Pos = MAP_APPFONT ( 6 , 95 ) ;
76        Size = MAP_APPFONT ( 248 , 8 ) ;
77    };
78    PushButton  PB_SAVESTARTDOC
79    {
80        HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_SAVESTARTDOC";
81        Pos = MAP_APPFONT ( 55 , 108 ) ;
82        Size = MAP_APPFONT ( 100 , 14 ) ;
83        Text[ en-US ] = "Save starting ~document";
84    };
85    RadioButton RB_SAVEASONE
86    {
87        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SAVEASONE";
88        Pos = MAP_APPFONT ( 45 , 109 ) ;
89        Size = MAP_APPFONT ( 150 , 10 ) ;
90        Text[ en-US ] = "S~ave as single document";
91    };
92    RadioButton RB_SAVEINDIVIDUAL
93    {
94        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SAVEINDIVIDUAL";
95        Pos = MAP_APPFONT (  45, 123 ) ;
96        Size = MAP_APPFONT ( 150 , 10 ) ;
97        Text[ en-US ] = "Sa~ve as individual documents";
98    };
99    RadioButton RB_FROM
100    {
101        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_FROM";
102        Pos = MAP_APPFONT ( 45 , 137 ) ;
103        Size = MAP_APPFONT ( 30 , 10 ) ;
104        Text[ en-US ] = "~From";
105    };
106    NumericField NF_FROM
107    {
108        HelpID = "sw:NumericField:DLG_MM_OUTPUT_PAGE:NF_FROM";
109        Pos = MAP_APPFONT ( 78 , 136 ) ;
110        Size = MAP_APPFONT ( 20 , 10 ) ;
111        Border = TRUE;
112        Left = TRUE ;
113        First = 1 ;
114        Minimum = 1 ;
115        Repeat = TRUE ;
116        Spin = FALSE ;
117        TabStop = TRUE ;
118    };
119    FixedText   FT_TO
120    {
121        Pos = MAP_APPFONT ( 101 , 138 ) ;
122        Size = MAP_APPFONT ( 20 , 8 ) ;
123        Right = TRUE;
124        Text[ en-US ] = "~To";
125    };
126    NumericField NF_TO
127    {
128        HelpID = "sw:NumericField:DLG_MM_OUTPUT_PAGE:NF_TO";
129        Pos = MAP_APPFONT ( 124 , 136 ) ;
130        Size = MAP_APPFONT ( 20 , 10 ) ;
131        Border = TRUE;
132        Left = TRUE ;
133        First = 1 ;
134        Minimum = 1 ;
135        Repeat = TRUE ;
136        Spin = FALSE ;
137        TabStop = TRUE ;
138    };
139    PushButton  PB_SAVENOW
140    {
141        HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_SAVENOW";
142        Pos = MAP_APPFONT ( 45 , 150 ) ;
143        Size = MAP_APPFONT ( 80 , 14 ) ;
144        Text[ en-US ] = "Save Do~cuments";
145    };
146    FixedText   FT_PRINT
147    {
148        Pos = MAP_APPFONT ( 12 , 111 ) ;
149        Size = MAP_APPFONT ( 30 , 8 ) ;
150        Text[ en-US ] = "~Printer";
151    };
152    ListBox     LB_PRINT
153    {
154        HelpID = "sw:ListBox:DLG_MM_OUTPUT_PAGE:LB_PRINT";
155        Pos = MAP_APPFONT ( 45 , 109 ) ;
156        Size = MAP_APPFONT ( 147 , 50 ) ;
157        Border = TRUE;
158        DropDown = TRUE;
159        Sort = TRUE;
160    };
161    PushButton  PB_PRINTERSETTINGS
162    {
163        HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_PRINTERSETTINGS";
164        Pos = MAP_APPFONT ( 198 , 108 ) ;
165        Size = MAP_APPFONT ( 50 , 14 ) ;
166        Text[ en-US ] = "P~roperties...";
167    };
168    RadioButton RB_PRINTALL
169    {
170        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_PRINTALL";
171        Pos = MAP_APPFONT ( 45 , 126 ) ;
172        Size = MAP_APPFONT ( 150 , 10 ) ;
173        Text[ en-US ] = "Print ~all documents";
174    };
175    PushButton  PB_PRINTNOW
176    {
177        HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_PRINTNOW";
178        Pos = MAP_APPFONT ( 45 , 155 ) ;
179        Size = MAP_APPFONT ( 80 , 14 ) ;
180        Text[ en-US ] = "Prin~t Documents";
181    };
182
183    FixedText        FT_MAILTO
184    {
185        Pos = MAP_APPFONT ( 12 , 111 ) ;
186        Size = MAP_APPFONT ( 30 , 8 ) ;
187        Text[ en-US ] = "T~o";
188    };
189    ListBox          LB_MAILTO
190    {
191        HelpID = "sw:ListBox:DLG_MM_OUTPUT_PAGE:LB_MAILTO";
192        Pos = MAP_APPFONT ( 45 , 109 ) ;
193        Size = MAP_APPFONT ( 147 , 50 ) ;
194        DropDown = TRUE;
195        Border = TRUE;
196    };
197    PushButton       PB_COPYTO
198    {
199        HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_COPYTO";
200        Pos = MAP_APPFONT ( 198 , 108 ) ;
201        Size = MAP_APPFONT ( 50 , 14 ) ;
202        Text[ en-US ] = "~Copy to...";
203    };
204    FixedText        FT_SUBJECT
205    {
206        Pos = MAP_APPFONT ( 12 , 127 ) ;
207        Size = MAP_APPFONT ( 30 , 8 ) ;
208        Text[ en-US ] = "S~ubject";
209    };
210    Edit             ED_SUBJECT
211    {
212        HelpID = "sw:Edit:DLG_MM_OUTPUT_PAGE:ED_SUBJECT";
213        Pos = MAP_APPFONT ( 45 , 125 ) ;
214        Size = MAP_APPFONT ( 147 , 12 ) ;
215        Border = TRUE;
216    };
217    FixedText        FT_SENDAS
218    {
219        Pos = MAP_APPFONT ( 12 , 143 ) ;
220        Size = MAP_APPFONT ( 30 , 8 ) ;
221        Text[ en-US ] = "Sen~d as";
222    };
223    ListBox          LB_SENDAS
224    {
225        HelpID = "sw:ListBox:DLG_MM_OUTPUT_PAGE:LB_SENDAS";
226        Pos = MAP_APPFONT ( 45 , 141 ) ;
227        Size = MAP_APPFONT (147  , 70 ) ;
228        DropDown = TRUE;
229        Border = TRUE;
230        StringList =
231        {
232            < "OpenDocument Text" ;                 MM_DOCTYPE_OOO ;> ;
233            < "Adobe PDF-Dokument" ;                MM_DOCTYPE_PDF ;> ;
234            < "Microsoft Word Dokument" ;           MM_DOCTYPE_WORD;> ;
235            < "HTML-Nachricht" ;                    MM_DOCTYPE_HTML;> ;
236            < "Nur Text" ;                          MM_DOCTYPE_TEXT;> ;
237        };
238        StringList [en-US]=
239        {
240            < "OpenDocument Text" ;                 MM_DOCTYPE_OOO ;> ;
241            < "Adobe PDF-Document" ;                MM_DOCTYPE_PDF ;> ;
242            < "Microsoft Word Document" ;           MM_DOCTYPE_WORD;> ;
243            < "HTML Message" ;                      MM_DOCTYPE_HTML;> ;
244            < "Plain Text" ;                        MM_DOCTYPE_TEXT;> ;
245        };
246    };
247    PushButton       PB_SENDAS
248    {
249        HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_SENDAS";
250        Pos = MAP_APPFONT ( 198 , 140 ) ;
251        Size = MAP_APPFONT ( 50 , 14 ) ;
252        Text[ en-US ] = "Pr~operties...";
253    };
254    FixedText        FT_ATTACHMENT
255    {
256        Pos = MAP_APPFONT ( 45 , 157 ) ;
257        Size = MAP_APPFONT ( 147 , 8 ) ;
258        Text[ en-US ] = "Name of the a~ttachment";
259    };
260    Edit ED_ATTACHMENT
261    {
262        HelpID = "sw:Edit:DLG_MM_OUTPUT_PAGE:ED_ATTACHMENT";
263        Pos = MAP_APPFONT ( 45 , 168 ) ;
264        Size = MAP_APPFONT ( 147 , 12 ) ;
265        Border = TRUE;
266    };
267    RadioButton      RB_SENDALL
268    {
269        HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SENDALL";
270        Pos = MAP_APPFONT ( 45 , 184 ) ;
271        Size = MAP_APPFONT ( 153 , 10 ) ;
272        Text[ en-US ] = "S~end all documents";
273    };
274    PushButton       PB_SENDDOCUMENTS
275    {
276        HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_SENDDOCUMENTS";
277        Pos = MAP_APPFONT ( 45 , 212 ) ;
278        Size = MAP_APPFONT ( 80 , 14 ) ;
279        Text[ en-US ] = "Se~nd documents";
280    };
281    String      ST_SAVESTART
282    {
283        Text[ en-US ] = "Save ~starting document";
284    };
285    String      ST_SAVEMERGED
286    {
287        Text[ en-US ] = "Save merged document";
288    };
289    String      ST_PRINT
290    {
291        Text[ en-US ] = "Print settings";
292    };
293    String      ST_SENDMAIL
294    {
295        Text[ en-US ] = "E-Mail settings";
296    };
297    String ST_DEFAULTATTACHMENT
298    {
299        Text[ en-US ] = "Untitled";
300    };
301    String ST_SUBJECTQUERY
302    {
303        Text[ en-US ] = "You did not specify a subject for this message. If you would like to provide one, please type it now.";
304    };
305    String ST_NOSUBJECT
306    {
307        Text[ en-US ] = "No subject";
308    };
309    String ST_NOATTACHMENTNAME
310    {
311        Text[ en-US ] = "You did not specify a new name for the attachment. If you would like to provide one, please type it now.";
312    };
313    String ST_CONFIGUREMAIL
314    {
315        Text[ en-US ] = "In order to be able to send mail merge documents by e-mail, %PRODUCTNAME requires information about the e-mail account to be used.\n\n Do you want to enter e-mail account information now?";
316    };
317};
318
319ModalDialog DLG_MM_COPYTO
320{
321    OutputSize = TRUE ;
322    SVLook = TRUE ;
323    HelpID = HID_MM_COPYTO;
324    Size = MAP_APPFONT ( 250 , 100 ) ;
325    Moveable = TRUE ;
326
327    Text [ en-US ] = "Copy To";
328
329    FixedText FI_DESCRIPTION
330    {
331        Pos = MAP_APPFONT ( 6 , 3 ) ;
332        Size = MAP_APPFONT ( 238 , 8 ) ;
333        Text[ en-US ] = "Send a copy of this mail to:";
334    };
335    FixedText FT_CC
336    {
337        Pos = MAP_APPFONT ( 6 , 17 ) ;
338        Size = MAP_APPFONT ( 30 , 8 ) ;
339        Text[ en-US ] = "~Cc";
340    };
341    Edit ED_CC
342    {
343        HelpID = "sw:Edit:DLG_MM_COPYTO:ED_CC";
344        Pos = MAP_APPFONT ( 40 , 15 ) ;
345        Size = MAP_APPFONT ( 204 , 12 ) ;
346        Border = TRUE;
347    };
348    FixedText FT_BCC
349    {
350        Pos = MAP_APPFONT ( 6 , 33 ) ;
351        Size = MAP_APPFONT ( 30 , 8 ) ;
352        Text[ en-US ] = "~Bcc";
353    };
354    Edit ED_BCC
355    {
356        HelpID = "sw:Edit:DLG_MM_COPYTO:ED_BCC";
357        Pos = MAP_APPFONT ( 40 , 31 ) ;
358        Size = MAP_APPFONT ( 204 , 12 ) ;
359        Border = TRUE;
360    };
361    FixedText FI_NOTE
362    {
363        Pos = MAP_APPFONT ( 6 , 47 ) ;
364        Size = MAP_APPFONT ( 204 , 20 ) ;
365        WordBreak = TRUE;
366        Text[ en-US ] = "Note:\nSeparate e-mail addresses with a semicolon (;).";
367    };
368    FixedLine FL_SEPARATOR
369    {
370        Pos = MAP_APPFONT ( 0 , 66 ) ;
371        Size = MAP_APPFONT ( 250 , 8 ) ;
372    };
373    OKButton        PB_OK
374    {
375        Pos = MAP_APPFONT ( 85 , 80 ) ;
376        Size = MAP_APPFONT ( 50 , 14 ) ;
377        DefButton = TRUE ;
378    };
379    CancelButton        PB_CANCEL
380    {
381        Pos = MAP_APPFONT ( 138 , 80 ) ;
382        Size = MAP_APPFONT ( 50 , 14 ) ;
383    };
384    HelpButton      PB_HELP
385    {
386        Pos = MAP_APPFONT ( 194 , 80 ) ;
387        Size = MAP_APPFONT ( 50 , 14 ) ;
388    };
389};
390
391ModalDialog DLG_MM_SAVEWARNING
392{
393    OutputSize = TRUE ;
394    SVLook = TRUE ;
395    HelpID = HID_MM_SAVEWARNING;
396    Size = MAP_APPFONT ( 200 , 99 ) ;
397    Moveable = TRUE ;
398
399    Text = "%PRODUCTNAME";
400    FixedImage IM_WARNING
401    {
402        Pos = MAP_APPFONT ( 6 , 3 ) ;
403        Size = MAP_APPFONT ( 30 , 30 ) ;
404    };
405    FixedText FI_WARNING
406    {
407        Pos = MAP_APPFONT ( 40 , 3 ) ;
408        Size = MAP_APPFONT ( 150 , 30 ) ;
409        WordBreak = TRUE;
410        Text[ en-US ] = "A document with the name '%1' already exists. Please save this document under a different name.";
411    };
412    FixedText   FT_FILENAME
413    {
414        Pos = MAP_APPFONT (  40, 39 ) ;
415        Size = MAP_APPFONT (  154, 8 ) ;
416        Text[ en-US ] = "New document name";
417    };
418    Edit ED_FILENAME
419    {
420        HelpID = "sw:Edit:DLG_MM_SAVEWARNING:ED_FILENAME";
421        Pos = MAP_APPFONT ( 40 , 50 ) ;
422        Size = MAP_APPFONT ( 154 , 12 ) ;
423        Border = TRUE;
424    };
425    FixedLine FL_SEPARATOR
426    {
427        Pos = MAP_APPFONT ( 0 , 68 ) ;
428        Size = MAP_APPFONT ( 200 , 8 ) ;
429    };
430    OKButton PB_OK
431    {
432        Pos = MAP_APPFONT ( 40 ,  79) ;
433        Size = MAP_APPFONT ( 50 , 14 ) ;
434        DefButton = TRUE;
435    };
436    CancelButton PB_CANCEL
437    {
438        Pos = MAP_APPFONT ( 93 , 79 ) ;
439        Size = MAP_APPFONT ( 50 , 14 ) ;
440    };
441};
442ModalDialog DLG_MM_QUERY
443{
444    OutputSize = TRUE ;
445    SVLook = TRUE ;
446    HelpID = HID_MM_QUERY;
447    Size = MAP_APPFONT ( 240 , 88 ) ;
448    Moveable = TRUE ;
449
450    Text = "%PRODUCTNAME";
451    FixedImage IM_QUERY
452    {
453        Pos = MAP_APPFONT ( 6 , 3 ) ;
454        Size = MAP_APPFONT ( 30 , 30 ) ;
455    };
456    FixedText FI_QUERY
457    {
458        Pos = MAP_APPFONT ( 40 , 6 ) ;
459        Size = MAP_APPFONT ( 190 , 30 ) ;
460        WordBreak = TRUE;
461    };
462    Edit ED_TEXT
463    {
464        HelpID = "sw:Edit:DLG_MM_QUERY:ED_TEXT";
465        Pos = MAP_APPFONT ( 40 , 39 ) ;
466        Size = MAP_APPFONT ( 194 , 12 ) ;
467        Border = TRUE;
468    };
469    FixedLine FL_SEPARATOR
470    {
471        Pos = MAP_APPFONT ( 0 , 57 ) ;
472        Size = MAP_APPFONT ( 240 , 8 ) ;
473    };
474    OKButton PB_OK
475    {
476        Pos = MAP_APPFONT ( 69 ,  68) ;
477        Size = MAP_APPFONT ( 50 , 14 ) ;
478        DefButton = TRUE;
479    };
480    CancelButton PB_CANCEL
481    {
482        Pos = MAP_APPFONT ( 122 , 68 ) ;
483        Size = MAP_APPFONT ( 50 , 14 ) ;
484    };
485};
486
487