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