summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mailmergechildwindow.src
blob: a33f24d268b6182a66405ff226236f332e8482b3 (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
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 * 
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: mailmergechildwindow.src,v $
 * $Revision: 1.11.240.1 $
 *
 * 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 "mailmergechildwindow.hrc"
#include "dbui.hrc"
#include "helpid.h"
#include <cmdid.h>

#define WIDTH  100
#define HEIGHT 16

#define WORKAROUND \
    Text [ en-US ] = "Return to Mail Merge Wizard" ; \


FloatingWindow DLG_MAILMERGECHILD\
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( WIDTH , HEIGHT ) ;
    Moveable = TRUE ;
    Closeable = FALSE ;
    Sizeable = FALSE ;
    Zoomable = TRUE ;
    HelpID = HID_MAILMERGECHILD ;
    Hide = TRUE ;
    Text [ en-US ] = "Mail Merge Wizard";\
    ToolBox TB_BACK\
    {
        MenuStrings = TRUE ;
        SVLook = TRUE ;
        ItemList =
        {
            ToolBoxItem\
            {
                Identifier = 1;
                HelpID = HID_RETURN_TO_MAILMERGE ;
                Left = TRUE;
                WORKAROUND
            };
        };
    };
    #define IMGLIST1_IDS\
        IdList = \
        { \
            FN_SHOW_ROOT; \
        }; \
        IdCount = 1

    ImageList ILIST_TBX
    {
        Prefix = "sc";
        MaskColor = IMAGE_MASK_COLOR;
        IMGLIST1_IDS;
    };

    ImageList ILIST_TBX_HC
    {
        Prefix = "sch";
        MaskColor = IMAGE_MASK_COLOR ;
        IMGLIST1_IDS;
    };
};

//FloatingWindow DLG_MM_SENDMAILS
ModelessDialog /*ModalDialog*/ DLG_MM_SENDMAILS
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    HelpID = HID_MM_SENDMAILS;
    Size = MAP_APPFONT ( 250 , 221 ) ;
    Moveable = TRUE ;
    Closeable = TRUE;

    Text [ en-US ] = "Sending E-mail messages";

    FixedLine  FL_STATUS
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 238 , 8 ) ;
        Text[ en-US ] = "Connection status";
    };
    FixedText  FT_STATUS1
    {
        Pos = MAP_APPFONT ( 12 , 14 ) ;
        Size = MAP_APPFONT ( 226 , 8 ) ;
        Text[ en-US ] = "The connection to the outgoing mail server has been established";
    };
    String ST_SEND
    {
        Text[ en-US ] = "Sending e-mails...";
    };
    FixedLine  FL_TRANSFERSTATUS
    {
        Pos = MAP_APPFONT ( 6 , 28 ) ;
        Size = MAP_APPFONT ( 238 , 8 ) ;
        Text[ en-US ] = "Transfer status";
    };
    FixedText  FT_TRANSFERSTATUS
    {
        Pos = MAP_APPFONT ( 12, 39 ) ;
        Size = MAP_APPFONT ( 110 , 8 ) ;
        Text[ en-US ] = "%1 of %2 e-mails sent";
    };
    FixedText  FI_PAUSED
    {
        Pos = MAP_APPFONT ( 125, 39 ) ;
        Size = MAP_APPFONT ( 100 , 8 ) ;
        Hide = TRUE;
        Text[ en-US ] = "Sending paused";
    };
    Window    PB_PROGRESS
    {
        Pos = MAP_APPFONT ( 12 , 50 ) ;
        Size = MAP_APPFONT ( 226 , 14 ) ;
        Border = TRUE;
    };
    FixedText  FT_ERRORSTATUS
    {
        Pos = MAP_APPFONT ( 12 , 67 ) ;
        Size = MAP_APPFONT ( 226 , 8 ) ;
        Text[ en-US ] = "E-mails not sent: %1";
    };
    PushButton PB_DETAILS
    {
        Pos = MAP_APPFONT ( 188 , 81 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text[ en-US ] = "More >>";
    };
    String  ST_LESS
    {
        Text[ en-US ] = "<< Less";
    };

    Control LB_STATUS
    {
        Pos = MAP_APPFONT ( 12 , 101 ) ;
        Size = MAP_APPFONT ( 226 , 80 ) ;
        Border = TRUE;
    };
    FixedLine  FL_SEPARATOR
    {
        Pos = MAP_APPFONT ( 0 , 187 ) ;
        Size = MAP_APPFONT ( 250 , 8 ) ;
    };
    PushButton PB_STOP
    {
        Pos = MAP_APPFONT ( 141 , 201 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text[ en-US ] = "~Stop";
    };
    PushButton PB_CLOSE
    {
        Pos = MAP_APPFONT ( 194 , 201 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text[ en-US ] = "C~lose";
    };
    String     ST_CONTINUE
    {
        Text[ en-US ] = "~Continue";
    };
    #define IMGLIST2_IDS\
        IdList = \
        { \
            FN_FORMULA_CANCEL ;\
            FN_FORMULA_APPLY     ;\
        }; \
        IdCount = 2

    ImageList ILIST
    {
        Prefix = "sc";
        MaskColor = IMAGE_MASK_COLOR;
        IMGLIST2_IDS;
    };

    ImageList ILIST_HC
    {
        Prefix = "sch";
        MaskColor = IMAGE_MASK_COLOR ;
        IMGLIST2_IDS;
    };
    String ST_TASK
    {
        Text[ en-US ] = "Task";
    };
    String ST_STATUS
    {
        Text[ en-US ] = "Status";
    };
    String ST_SENDINGTO
    {
        Text[ en-US ] = "Sending to: %1";
    };
    String ST_COMPLETED
    {
        Text[ en-US ] = "Successfully sent";
    };
    String ST_FAILED
    {
        Text[ en-US ] = "Sending failed (invalid address)";
    };
    String ST_TERMINATEQUERY
    {
        Text[ en-US ] = "There are still e-mail messages in your %PRODUCTNAME Outbox.\nWould you like to exit anyway?";
    };
};

ModalDialog DLG_MM_SENDWARNING
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    HelpID = HID_MM_SENDWARNING;
    Size = MAP_APPFONT ( 240 , 137 ) ;
    Moveable = TRUE ;

    Text[en-US] = "E-Mails could not be sent";
    FixedImage IM_WARNING
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 30 , 30 ) ;
    };
    FixedText FI_WARNING
    {
        Pos = MAP_APPFONT ( 40 , 6 ) ;
        Size = MAP_APPFONT ( 170 , 30 ) ;
        WordBreak = TRUE;
        Text[ en-US ] = "The following error occurred:";
    };
    FixedText   FT_DETAILS
    {
        Pos = MAP_APPFONT (  40, 39 ) ;
        Size = MAP_APPFONT (  174, 8 ) ;
        Text[ en-US ] = "Detailed information";
    };
    MultiLineEdit ED_DETAILS
    {
        Pos = MAP_APPFONT ( 40 , 50 ) ;
        Size = MAP_APPFONT ( 194 , 50 ) ;
        Border = TRUE;
        Readonly = TRUE;
    };
    FixedLine FL_SEPARATOR
    {
        Pos = MAP_APPFONT ( 0 , 106 ) ;
        Size = MAP_APPFONT ( 240 , 8 ) ;
    };
    OKButton PB_OK
    {
        Pos = MAP_APPFONT ( 95 ,  117) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        DefButton = TRUE;
    };
};