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