xref: /AOO41X/main/sw/source/ui/dbui/mailmergechildwindow.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir#include "mailmergechildwindow.hrc"
28*cdf0e10cSrcweir#include "dbui.hrc"
29*cdf0e10cSrcweir#include "helpid.h"
30*cdf0e10cSrcweir#include <cmdid.h>
31*cdf0e10cSrcweir
32*cdf0e10cSrcweir#define WIDTH  100
33*cdf0e10cSrcweir#define HEIGHT 16
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir#define WORKAROUND \
36*cdf0e10cSrcweir    Text [ en-US ] = "Return to Mail Merge Wizard" ; \
37*cdf0e10cSrcweir
38*cdf0e10cSrcweir
39*cdf0e10cSrcweirFloatingWindow DLG_MAILMERGECHILD\
40*cdf0e10cSrcweir{
41*cdf0e10cSrcweir	OutputSize = TRUE ;
42*cdf0e10cSrcweir	SVLook = TRUE ;
43*cdf0e10cSrcweir	Size = MAP_APPFONT ( WIDTH , HEIGHT ) ;
44*cdf0e10cSrcweir	Moveable = TRUE ;
45*cdf0e10cSrcweir	Closeable = FALSE ;
46*cdf0e10cSrcweir	Sizeable = FALSE ;
47*cdf0e10cSrcweir	Zoomable = TRUE ;
48*cdf0e10cSrcweir    HelpID = HID_MAILMERGECHILD ;
49*cdf0e10cSrcweir	Hide = TRUE ;
50*cdf0e10cSrcweir    Text [ en-US ] = "Mail Merge Wizard";\
51*cdf0e10cSrcweir    ToolBox TB_BACK\
52*cdf0e10cSrcweir    {
53*cdf0e10cSrcweir        MenuStrings = TRUE ;
54*cdf0e10cSrcweir        SVLook = TRUE ;
55*cdf0e10cSrcweir        ItemList =
56*cdf0e10cSrcweir        {
57*cdf0e10cSrcweir            ToolBoxItem\
58*cdf0e10cSrcweir            {
59*cdf0e10cSrcweir                Identifier = 1;
60*cdf0e10cSrcweir                HelpID = HID_RETURN_TO_MAILMERGE ;
61*cdf0e10cSrcweir                Left = TRUE;
62*cdf0e10cSrcweir                WORKAROUND
63*cdf0e10cSrcweir            };
64*cdf0e10cSrcweir        };
65*cdf0e10cSrcweir    };
66*cdf0e10cSrcweir    #define IMGLIST1_IDS\
67*cdf0e10cSrcweir        IdList = \
68*cdf0e10cSrcweir        { \
69*cdf0e10cSrcweir            FN_SHOW_ROOT; \
70*cdf0e10cSrcweir        }; \
71*cdf0e10cSrcweir        IdCount = 1
72*cdf0e10cSrcweir
73*cdf0e10cSrcweir    ImageList ILIST_TBX
74*cdf0e10cSrcweir    {
75*cdf0e10cSrcweir        Prefix = "sc";
76*cdf0e10cSrcweir        MaskColor = IMAGE_MASK_COLOR;
77*cdf0e10cSrcweir        IMGLIST1_IDS;
78*cdf0e10cSrcweir    };
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir    ImageList ILIST_TBX_HC
81*cdf0e10cSrcweir    {
82*cdf0e10cSrcweir        Prefix = "sch";
83*cdf0e10cSrcweir        MaskColor = IMAGE_MASK_COLOR ;
84*cdf0e10cSrcweir        IMGLIST1_IDS;
85*cdf0e10cSrcweir    };
86*cdf0e10cSrcweir};
87*cdf0e10cSrcweir
88*cdf0e10cSrcweir//FloatingWindow DLG_MM_SENDMAILS
89*cdf0e10cSrcweirModelessDialog /*ModalDialog*/ DLG_MM_SENDMAILS
90*cdf0e10cSrcweir{
91*cdf0e10cSrcweir    OutputSize = TRUE ;
92*cdf0e10cSrcweir    SVLook = TRUE ;
93*cdf0e10cSrcweir    HelpID = HID_MM_SENDMAILS;
94*cdf0e10cSrcweir    Size = MAP_APPFONT ( 250 , 221 ) ;
95*cdf0e10cSrcweir    Moveable = TRUE ;
96*cdf0e10cSrcweir    Closeable = TRUE;
97*cdf0e10cSrcweir
98*cdf0e10cSrcweir    Text [ en-US ] = "Sending E-mail messages";
99*cdf0e10cSrcweir
100*cdf0e10cSrcweir    FixedLine  FL_STATUS
101*cdf0e10cSrcweir    {
102*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
103*cdf0e10cSrcweir        Size = MAP_APPFONT ( 238 , 8 ) ;
104*cdf0e10cSrcweir        Text[ en-US ] = "Connection status";
105*cdf0e10cSrcweir    };
106*cdf0e10cSrcweir    FixedText  FT_STATUS1
107*cdf0e10cSrcweir    {
108*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
109*cdf0e10cSrcweir        Size = MAP_APPFONT ( 226 , 8 ) ;
110*cdf0e10cSrcweir        Text[ en-US ] = "The connection to the outgoing mail server has been established";
111*cdf0e10cSrcweir    };
112*cdf0e10cSrcweir    String ST_SEND
113*cdf0e10cSrcweir    {
114*cdf0e10cSrcweir        Text[ en-US ] = "Sending e-mails...";
115*cdf0e10cSrcweir    };
116*cdf0e10cSrcweir    FixedLine  FL_TRANSFERSTATUS
117*cdf0e10cSrcweir    {
118*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 28 ) ;
119*cdf0e10cSrcweir        Size = MAP_APPFONT ( 238 , 8 ) ;
120*cdf0e10cSrcweir        Text[ en-US ] = "Transfer status";
121*cdf0e10cSrcweir    };
122*cdf0e10cSrcweir    FixedText  FT_TRANSFERSTATUS
123*cdf0e10cSrcweir    {
124*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 39 ) ;
125*cdf0e10cSrcweir        Size = MAP_APPFONT ( 110 , 8 ) ;
126*cdf0e10cSrcweir        Text[ en-US ] = "%1 of %2 e-mails sent";
127*cdf0e10cSrcweir    };
128*cdf0e10cSrcweir    FixedText  FI_PAUSED
129*cdf0e10cSrcweir    {
130*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 125, 39 ) ;
131*cdf0e10cSrcweir        Size = MAP_APPFONT ( 100 , 8 ) ;
132*cdf0e10cSrcweir        Hide = TRUE;
133*cdf0e10cSrcweir        Text[ en-US ] = "Sending paused";
134*cdf0e10cSrcweir    };
135*cdf0e10cSrcweir    Window    PB_PROGRESS
136*cdf0e10cSrcweir    {
137*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 50 ) ;
138*cdf0e10cSrcweir        Size = MAP_APPFONT ( 226 , 14 ) ;
139*cdf0e10cSrcweir        Border = TRUE;
140*cdf0e10cSrcweir    };
141*cdf0e10cSrcweir    FixedText  FT_ERRORSTATUS
142*cdf0e10cSrcweir    {
143*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 67 ) ;
144*cdf0e10cSrcweir        Size = MAP_APPFONT ( 226 , 8 ) ;
145*cdf0e10cSrcweir        Text[ en-US ] = "E-mails not sent: %1";
146*cdf0e10cSrcweir    };
147*cdf0e10cSrcweir    PushButton PB_DETAILS
148*cdf0e10cSrcweir    {
149*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 188 , 81 ) ;
150*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
151*cdf0e10cSrcweir        Text[ en-US ] = "More >>";
152*cdf0e10cSrcweir    };
153*cdf0e10cSrcweir    String  ST_LESS
154*cdf0e10cSrcweir    {
155*cdf0e10cSrcweir        Text[ en-US ] = "<< Less";
156*cdf0e10cSrcweir    };
157*cdf0e10cSrcweir
158*cdf0e10cSrcweir    Control LB_STATUS
159*cdf0e10cSrcweir    {
160*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 101 ) ;
161*cdf0e10cSrcweir        Size = MAP_APPFONT ( 226 , 80 ) ;
162*cdf0e10cSrcweir        Border = TRUE;
163*cdf0e10cSrcweir    };
164*cdf0e10cSrcweir    FixedLine  FL_SEPARATOR
165*cdf0e10cSrcweir    {
166*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 187 ) ;
167*cdf0e10cSrcweir        Size = MAP_APPFONT ( 250 , 8 ) ;
168*cdf0e10cSrcweir    };
169*cdf0e10cSrcweir    PushButton PB_STOP
170*cdf0e10cSrcweir    {
171*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 141 , 201 ) ;
172*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
173*cdf0e10cSrcweir        Text[ en-US ] = "~Stop";
174*cdf0e10cSrcweir    };
175*cdf0e10cSrcweir    PushButton PB_CLOSE
176*cdf0e10cSrcweir    {
177*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194 , 201 ) ;
178*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
179*cdf0e10cSrcweir        Text[ en-US ] = "C~lose";
180*cdf0e10cSrcweir    };
181*cdf0e10cSrcweir    String     ST_CONTINUE
182*cdf0e10cSrcweir    {
183*cdf0e10cSrcweir        Text[ en-US ] = "~Continue";
184*cdf0e10cSrcweir    };
185*cdf0e10cSrcweir    #define IMGLIST2_IDS\
186*cdf0e10cSrcweir        IdList = \
187*cdf0e10cSrcweir        { \
188*cdf0e10cSrcweir            FN_FORMULA_CANCEL ;\
189*cdf0e10cSrcweir            FN_FORMULA_APPLY     ;\
190*cdf0e10cSrcweir        }; \
191*cdf0e10cSrcweir        IdCount = 2
192*cdf0e10cSrcweir
193*cdf0e10cSrcweir    ImageList ILIST
194*cdf0e10cSrcweir    {
195*cdf0e10cSrcweir        Prefix = "sc";
196*cdf0e10cSrcweir        MaskColor = IMAGE_MASK_COLOR;
197*cdf0e10cSrcweir        IMGLIST2_IDS;
198*cdf0e10cSrcweir    };
199*cdf0e10cSrcweir
200*cdf0e10cSrcweir    ImageList ILIST_HC
201*cdf0e10cSrcweir    {
202*cdf0e10cSrcweir        Prefix = "sch";
203*cdf0e10cSrcweir        MaskColor = IMAGE_MASK_COLOR ;
204*cdf0e10cSrcweir        IMGLIST2_IDS;
205*cdf0e10cSrcweir    };
206*cdf0e10cSrcweir    String ST_TASK
207*cdf0e10cSrcweir    {
208*cdf0e10cSrcweir        Text[ en-US ] = "Task";
209*cdf0e10cSrcweir    };
210*cdf0e10cSrcweir    String ST_STATUS
211*cdf0e10cSrcweir    {
212*cdf0e10cSrcweir        Text[ en-US ] = "Status";
213*cdf0e10cSrcweir    };
214*cdf0e10cSrcweir    String ST_SENDINGTO
215*cdf0e10cSrcweir    {
216*cdf0e10cSrcweir        Text[ en-US ] = "Sending to: %1";
217*cdf0e10cSrcweir    };
218*cdf0e10cSrcweir    String ST_COMPLETED
219*cdf0e10cSrcweir    {
220*cdf0e10cSrcweir        Text[ en-US ] = "Successfully sent";
221*cdf0e10cSrcweir    };
222*cdf0e10cSrcweir    String ST_FAILED
223*cdf0e10cSrcweir    {
224*cdf0e10cSrcweir        Text[ en-US ] = "Sending failed (invalid address)";
225*cdf0e10cSrcweir    };
226*cdf0e10cSrcweir    String ST_TERMINATEQUERY
227*cdf0e10cSrcweir    {
228*cdf0e10cSrcweir        Text[ en-US ] = "There are still e-mail messages in your %PRODUCTNAME Outbox.\nWould you like to exit anyway?";
229*cdf0e10cSrcweir    };
230*cdf0e10cSrcweir};
231*cdf0e10cSrcweir
232*cdf0e10cSrcweirModalDialog DLG_MM_SENDWARNING
233*cdf0e10cSrcweir{
234*cdf0e10cSrcweir    OutputSize = TRUE ;
235*cdf0e10cSrcweir    SVLook = TRUE ;
236*cdf0e10cSrcweir    HelpID = HID_MM_SENDWARNING;
237*cdf0e10cSrcweir    Size = MAP_APPFONT ( 240 , 137 ) ;
238*cdf0e10cSrcweir    Moveable = TRUE ;
239*cdf0e10cSrcweir
240*cdf0e10cSrcweir    Text[en-US] = "E-Mails could not be sent";
241*cdf0e10cSrcweir    FixedImage IM_WARNING
242*cdf0e10cSrcweir    {
243*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
244*cdf0e10cSrcweir        Size = MAP_APPFONT ( 30 , 30 ) ;
245*cdf0e10cSrcweir    };
246*cdf0e10cSrcweir    FixedText FI_WARNING
247*cdf0e10cSrcweir    {
248*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 40 , 6 ) ;
249*cdf0e10cSrcweir        Size = MAP_APPFONT ( 170 , 30 ) ;
250*cdf0e10cSrcweir        WordBreak = TRUE;
251*cdf0e10cSrcweir        Text[ en-US ] = "The following error occurred:";
252*cdf0e10cSrcweir    };
253*cdf0e10cSrcweir    FixedText   FT_DETAILS
254*cdf0e10cSrcweir    {
255*cdf0e10cSrcweir        Pos = MAP_APPFONT (  40, 39 ) ;
256*cdf0e10cSrcweir        Size = MAP_APPFONT (  174, 8 ) ;
257*cdf0e10cSrcweir        Text[ en-US ] = "Detailed information";
258*cdf0e10cSrcweir    };
259*cdf0e10cSrcweir    MultiLineEdit ED_DETAILS
260*cdf0e10cSrcweir    {
261*cdf0e10cSrcweir        HelpID = "sw:MultiLineEdit:DLG_MM_SENDWARNING:ED_DETAILS";
262*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 40 , 50 ) ;
263*cdf0e10cSrcweir        Size = MAP_APPFONT ( 194 , 50 ) ;
264*cdf0e10cSrcweir        Border = TRUE;
265*cdf0e10cSrcweir        Readonly = TRUE;
266*cdf0e10cSrcweir    };
267*cdf0e10cSrcweir    FixedLine FL_SEPARATOR
268*cdf0e10cSrcweir    {
269*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 106 ) ;
270*cdf0e10cSrcweir        Size = MAP_APPFONT ( 240 , 8 ) ;
271*cdf0e10cSrcweir    };
272*cdf0e10cSrcweir    OKButton PB_OK
273*cdf0e10cSrcweir    {
274*cdf0e10cSrcweir        Pos = MAP_APPFONT ( 95 ,  117) ;
275*cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
276*cdf0e10cSrcweir        DefButton = TRUE;
277*cdf0e10cSrcweir    };
278*cdf0e10cSrcweir};
279*cdf0e10cSrcweir
280