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