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