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