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 28*cdf0e10cSrcweir // #include ***************************************************************** 29*cdf0e10cSrcweir#include "mailmrge.hrc" 30*cdf0e10cSrcweir#include "cmdid.h" 31*cdf0e10cSrcweir#include "helpid.h" 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir#define _MAIL_MERGE_STRING_ \ 34*cdf0e10cSrcweir Text [ en-US ] = "Mail Merge" ; \ 35*cdf0e10cSrcweir 36*cdf0e10cSrcweirModalDialog DLG_MAILMERGE 37*cdf0e10cSrcweir{ 38*cdf0e10cSrcweir OutputSize = TRUE ; 39*cdf0e10cSrcweir SVLook = TRUE ; 40*cdf0e10cSrcweir Size = MAP_APPFONT ( 312 , 264 ) ; 41*cdf0e10cSrcweir _MAIL_MERGE_STRING_ 42*cdf0e10cSrcweir Moveable = TRUE ; 43*cdf0e10cSrcweir Sizeable = TRUE; 44*cdf0e10cSrcweir HelpID = CMD_FN_QRY_MERGE ; 45*cdf0e10cSrcweir Window WIN_BEAMER 46*cdf0e10cSrcweir { 47*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 48*cdf0e10cSrcweir Size = MAP_APPFONT ( 300 , 80 ) ; 49*cdf0e10cSrcweir }; 50*cdf0e10cSrcweir RadioButton RB_ALL 51*cdf0e10cSrcweir { 52*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_ALL"; 53*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 97 ) ; 54*cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 10 ) ; 55*cdf0e10cSrcweir Text [ en-US ] = "~All" ; 56*cdf0e10cSrcweir TabStop = TRUE ; 57*cdf0e10cSrcweir }; 58*cdf0e10cSrcweir RadioButton RB_MARKED 59*cdf0e10cSrcweir { 60*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_MARKED"; 61*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 110 ) ; 62*cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 10 ) ; 63*cdf0e10cSrcweir Text [ en-US ] = "~Selected records" ; 64*cdf0e10cSrcweir TabStop = TRUE ; 65*cdf0e10cSrcweir }; 66*cdf0e10cSrcweir RadioButton RB_FROM 67*cdf0e10cSrcweir { 68*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_FROM"; 69*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 123 ) ; 70*cdf0e10cSrcweir Size = MAP_APPFONT ( 33 , 10 ) ; 71*cdf0e10cSrcweir Text [ en-US ] = "~From:" ; 72*cdf0e10cSrcweir TabStop = TRUE ; 73*cdf0e10cSrcweir }; 74*cdf0e10cSrcweir NumericField NF_FROM 75*cdf0e10cSrcweir { 76*cdf0e10cSrcweir HelpID = "sw:NumericField:DLG_MAILMERGE:NF_FROM"; 77*cdf0e10cSrcweir Border = TRUE ; 78*cdf0e10cSrcweir Pos = MAP_APPFONT ( 48 , 122 ) ; 79*cdf0e10cSrcweir Size = MAP_APPFONT ( 24 , 12 ) ; 80*cdf0e10cSrcweir TabStop = TRUE ; 81*cdf0e10cSrcweir StrictFormat = TRUE ; 82*cdf0e10cSrcweir Minimum = 1 ; 83*cdf0e10cSrcweir Maximum = 999999 ; 84*cdf0e10cSrcweir }; 85*cdf0e10cSrcweir FixedText FT_BIS 86*cdf0e10cSrcweir { 87*cdf0e10cSrcweir Pos = MAP_APPFONT ( 75 , 123 ) ; 88*cdf0e10cSrcweir Size = MAP_APPFONT ( 27 , 10 ) ; 89*cdf0e10cSrcweir Text [ en-US ] = "~To:" ; 90*cdf0e10cSrcweir Center = TRUE ; 91*cdf0e10cSrcweir }; 92*cdf0e10cSrcweir NumericField NF_TO 93*cdf0e10cSrcweir { 94*cdf0e10cSrcweir HelpID = "sw:NumericField:DLG_MAILMERGE:NF_TO"; 95*cdf0e10cSrcweir Border = TRUE ; 96*cdf0e10cSrcweir Pos = MAP_APPFONT ( 105 , 122 ) ; 97*cdf0e10cSrcweir Size = MAP_APPFONT ( 24 , 12 ) ; 98*cdf0e10cSrcweir TabStop = TRUE ; 99*cdf0e10cSrcweir StrictFormat = TRUE ; 100*cdf0e10cSrcweir Minimum = 1 ; 101*cdf0e10cSrcweir Maximum = 999999 ; 102*cdf0e10cSrcweir }; 103*cdf0e10cSrcweir FixedLine FL_RECORD 104*cdf0e10cSrcweir { 105*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 86 ) ; 106*cdf0e10cSrcweir Size = MAP_APPFONT ( 126 , 8 ) ; 107*cdf0e10cSrcweir Text [ en-US ] = "Records" ; 108*cdf0e10cSrcweir }; 109*cdf0e10cSrcweir RadioButton RB_PRINTER 110*cdf0e10cSrcweir { 111*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_PRINTER"; 112*cdf0e10cSrcweir Pos = MAP_APPFONT ( 144 , 97 ) ; 113*cdf0e10cSrcweir Size = MAP_APPFONT ( 53 , 10 ) ; 114*cdf0e10cSrcweir Check = TRUE ; 115*cdf0e10cSrcweir TabStop = TRUE ; 116*cdf0e10cSrcweir Text [ en-US ] = "~Printer" ; 117*cdf0e10cSrcweir }; 118*cdf0e10cSrcweir RadioButton RB_MAILING 119*cdf0e10cSrcweir { 120*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_MAILING"; 121*cdf0e10cSrcweir Pos = MAP_APPFONT ( 200 , 97 ) ; 122*cdf0e10cSrcweir Size = MAP_APPFONT ( 53 , 10 ) ; 123*cdf0e10cSrcweir TabStop = TRUE ; 124*cdf0e10cSrcweir Text [ en-US ] = "~Electronic" ; 125*cdf0e10cSrcweir }; 126*cdf0e10cSrcweir RadioButton RB_FILE 127*cdf0e10cSrcweir { 128*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_FILE"; 129*cdf0e10cSrcweir Pos = MAP_APPFONT ( 256 , 97 ) ; 130*cdf0e10cSrcweir Size = MAP_APPFONT ( 56 , 10 ) ; 131*cdf0e10cSrcweir TabStop = TRUE ; 132*cdf0e10cSrcweir Text [ en-US ] = "File" ; 133*cdf0e10cSrcweir }; 134*cdf0e10cSrcweir CheckBox CB_SINGLE_JOBS 135*cdf0e10cSrcweir { 136*cdf0e10cSrcweir HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_SINGLE_JOBS"; 137*cdf0e10cSrcweir Pos = MAP_APPFONT ( 150 , 112 ) ; 138*cdf0e10cSrcweir Size = MAP_APPFONT ( 142 , 10 ) ; 139*cdf0e10cSrcweir TabStop = TRUE ; 140*cdf0e10cSrcweir Text [ en-US ] = "~Single print jobs" ; 141*cdf0e10cSrcweir }; 142*cdf0e10cSrcweir FixedLine FL_SAVE_MERGED_DOCUMENT 143*cdf0e10cSrcweir { 144*cdf0e10cSrcweir Pos = MAP_APPFONT ( 144, 128 ) ; 145*cdf0e10cSrcweir Size = MAP_APPFONT ( 156 , 8 ) ; 146*cdf0e10cSrcweir Text [ en-US ] = "Save merged document" ; 147*cdf0e10cSrcweir }; 148*cdf0e10cSrcweir RadioButton RB_SAVE_SINGLE_DOC 149*cdf0e10cSrcweir { 150*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_SAVE_SINGLE_DOC"; 151*cdf0e10cSrcweir Pos = MAP_APPFONT ( 150, 139 ) ; 152*cdf0e10cSrcweir Size = MAP_APPFONT ( 150 , 10 ) ; 153*cdf0e10cSrcweir TabStop = TRUE ; 154*cdf0e10cSrcweir Text [ en-US ] = "S~ave as single document"; 155*cdf0e10cSrcweir }; 156*cdf0e10cSrcweir RadioButton RB_SAVE_INDIVIDUAL 157*cdf0e10cSrcweir { 158*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MAILMERGE:RB_SAVE_INDIVIDUAL"; 159*cdf0e10cSrcweir Pos = MAP_APPFONT ( 150, 152 ) ; 160*cdf0e10cSrcweir Size = MAP_APPFONT ( 150 , 10 ) ; 161*cdf0e10cSrcweir TabStop = TRUE ; 162*cdf0e10cSrcweir Text [ en-US ] = "Sa~ve as individual documents"; 163*cdf0e10cSrcweir }; 164*cdf0e10cSrcweir CheckBox RB_GENERATE_FROM_DATABASE 165*cdf0e10cSrcweir { 166*cdf0e10cSrcweir HelpID = "sw:CheckBox:DLG_MAILMERGE:RB_GENERATE_FROM_DATABASE"; 167*cdf0e10cSrcweir Pos = MAP_APPFONT ( 156, 168 ) ; 168*cdf0e10cSrcweir Size = MAP_APPFONT ( 144 , 10 ) ; 169*cdf0e10cSrcweir TabStop = TRUE ; 170*cdf0e10cSrcweir Text [ en-US ] = "Generate file name from ~Database"; 171*cdf0e10cSrcweir }; 172*cdf0e10cSrcweir FixedText FT_COLUMN 173*cdf0e10cSrcweir { 174*cdf0e10cSrcweir Pos = MAP_APPFONT ( 162 , 184 ) ; 175*cdf0e10cSrcweir Size = MAP_APPFONT ( 41 , 10 ) ; 176*cdf0e10cSrcweir Text [ en-US ] = "Field" ; 177*cdf0e10cSrcweir }; 178*cdf0e10cSrcweir ListBox LB_COLUMN 179*cdf0e10cSrcweir { 180*cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_MAILMERGE:LB_COLUMN"; 181*cdf0e10cSrcweir Border = TRUE ; 182*cdf0e10cSrcweir Pos = MAP_APPFONT ( 205 , 182 ) ; 183*cdf0e10cSrcweir Size = MAP_APPFONT ( 103 , 84 ) ; 184*cdf0e10cSrcweir TabStop = TRUE ; 185*cdf0e10cSrcweir DropDown = TRUE ; 186*cdf0e10cSrcweir }; 187*cdf0e10cSrcweir FixedText FT_PATH 188*cdf0e10cSrcweir { 189*cdf0e10cSrcweir Pos = MAP_APPFONT ( 162 , 200 ) ; 190*cdf0e10cSrcweir Size = MAP_APPFONT ( 41 , 10 ) ; 191*cdf0e10cSrcweir Text [ en-US ] = "~Path" ; 192*cdf0e10cSrcweir }; 193*cdf0e10cSrcweir Edit ED_PATH 194*cdf0e10cSrcweir { 195*cdf0e10cSrcweir HelpID = "sw:Edit:DLG_MAILMERGE:ED_PATH"; 196*cdf0e10cSrcweir Pos = MAP_APPFONT ( 205 , 198 ) ; 197*cdf0e10cSrcweir Size = MAP_APPFONT ( 86 , 12 ) ; 198*cdf0e10cSrcweir Border = TRUE ; 199*cdf0e10cSrcweir TabStop = TRUE ; 200*cdf0e10cSrcweir }; 201*cdf0e10cSrcweir PushButton PB_PATH 202*cdf0e10cSrcweir { 203*cdf0e10cSrcweir HelpID = "sw:PushButton:DLG_MAILMERGE:PB_PATH"; 204*cdf0e10cSrcweir Pos = MAP_APPFONT ( 294 , 198 ) ; 205*cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 12 ) ; 206*cdf0e10cSrcweir // Soll Groesse des Edits haben (12)! 207*cdf0e10cSrcweir Text = "~..." ; 208*cdf0e10cSrcweir TabStop = TRUE ; 209*cdf0e10cSrcweir }; 210*cdf0e10cSrcweir FixedText FT_FILTER 211*cdf0e10cSrcweir { 212*cdf0e10cSrcweir Pos = MAP_APPFONT ( 162 , 216 ) ; 213*cdf0e10cSrcweir Size = MAP_APPFONT ( 41 , 8 ) ; 214*cdf0e10cSrcweir Text [ en-US ] = "F~ile format" ; 215*cdf0e10cSrcweir }; 216*cdf0e10cSrcweir ListBox LB_FILTER 217*cdf0e10cSrcweir { 218*cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_MAILMERGE:LB_FILTER"; 219*cdf0e10cSrcweir Border = TRUE ; 220*cdf0e10cSrcweir Pos = MAP_APPFONT ( 205 , 214 ) ; 221*cdf0e10cSrcweir Size = MAP_APPFONT ( 103 , 84 ) ; 222*cdf0e10cSrcweir Disable = TRUE ; 223*cdf0e10cSrcweir TabStop = TRUE ; 224*cdf0e10cSrcweir DropDown = TRUE ; 225*cdf0e10cSrcweir }; 226*cdf0e10cSrcweir ListBox LB_ADDRESSFLD 227*cdf0e10cSrcweir { 228*cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_MAILMERGE:LB_ADDRESSFLD"; 229*cdf0e10cSrcweir Border = TRUE ; 230*cdf0e10cSrcweir Pos = MAP_APPFONT ( 220 , 110 ) ; 231*cdf0e10cSrcweir Size = MAP_APPFONT ( 74 , 84 ) ; 232*cdf0e10cSrcweir Disable = TRUE ; 233*cdf0e10cSrcweir Hide = TRUE ; 234*cdf0e10cSrcweir TabStop = TRUE ; 235*cdf0e10cSrcweir DropDown = TRUE ; 236*cdf0e10cSrcweir }; 237*cdf0e10cSrcweir FixedText FT_SUBJECT 238*cdf0e10cSrcweir { 239*cdf0e10cSrcweir Pos = MAP_APPFONT ( 144 , 125 ) ; 240*cdf0e10cSrcweir Size = MAP_APPFONT ( 51 , 10 ) ; 241*cdf0e10cSrcweir Disable = TRUE ; 242*cdf0e10cSrcweir Text [ en-US ] = "~Subject" ; 243*cdf0e10cSrcweir }; 244*cdf0e10cSrcweir Edit ED_SUBJECT 245*cdf0e10cSrcweir { 246*cdf0e10cSrcweir HelpID = "sw:Edit:DLG_MAILMERGE:ED_SUBJECT"; 247*cdf0e10cSrcweir Border = TRUE ; 248*cdf0e10cSrcweir Pos = MAP_APPFONT ( 220 , 127 ) ; 249*cdf0e10cSrcweir Size = MAP_APPFONT ( 88 , 12 ) ; 250*cdf0e10cSrcweir Disable = TRUE ; 251*cdf0e10cSrcweir TabStop = TRUE ; 252*cdf0e10cSrcweir }; 253*cdf0e10cSrcweir FixedText FT_ATTACH 254*cdf0e10cSrcweir { 255*cdf0e10cSrcweir Pos = MAP_APPFONT ( 144 , 140 ) ; 256*cdf0e10cSrcweir Size = MAP_APPFONT ( 51 , 10 ) ; 257*cdf0e10cSrcweir Disable = TRUE ; 258*cdf0e10cSrcweir Text [ en-US ] = "Attachments" ; 259*cdf0e10cSrcweir }; 260*cdf0e10cSrcweir Edit ED_ATTACH 261*cdf0e10cSrcweir { 262*cdf0e10cSrcweir HelpID = "sw:Edit:DLG_MAILMERGE:ED_ATTACH"; 263*cdf0e10cSrcweir Border = TRUE ; 264*cdf0e10cSrcweir Pos = MAP_APPFONT ( 220 , 140 ) ; 265*cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 12 ) ; 266*cdf0e10cSrcweir Disable = TRUE ; 267*cdf0e10cSrcweir TabStop = TRUE ; 268*cdf0e10cSrcweir ReadOnly = TRUE ; 269*cdf0e10cSrcweir }; 270*cdf0e10cSrcweir PushButton PB_ATTACH 271*cdf0e10cSrcweir { 272*cdf0e10cSrcweir HelpID = "sw:PushButton:DLG_MAILMERGE:PB_ATTACH"; 273*cdf0e10cSrcweir Pos = MAP_APPFONT ( 294 , 140 ) ; 274*cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 12 ) ; 275*cdf0e10cSrcweir // Soll Groesse des Edits haben (12)! 276*cdf0e10cSrcweir Text = "~..." ; 277*cdf0e10cSrcweir TabStop = TRUE ; 278*cdf0e10cSrcweir Disable = TRUE ; 279*cdf0e10cSrcweir }; 280*cdf0e10cSrcweir FixedText FT_FORMAT 281*cdf0e10cSrcweir { 282*cdf0e10cSrcweir Pos = MAP_APPFONT ( 144 , 157 ) ; 283*cdf0e10cSrcweir Size = MAP_APPFONT ( 51 , 8 ) ; 284*cdf0e10cSrcweir Disable = TRUE ; 285*cdf0e10cSrcweir Text [ en-US ] = "Mail Format" ; 286*cdf0e10cSrcweir }; 287*cdf0e10cSrcweir CheckBox CB_FORMAT_HTML 288*cdf0e10cSrcweir { 289*cdf0e10cSrcweir HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_FORMAT_HTML"; 290*cdf0e10cSrcweir Pos = MAP_APPFONT ( 220 , 156 ) ; 291*cdf0e10cSrcweir Size = MAP_APPFONT ( 90 , 10 ) ; 292*cdf0e10cSrcweir Disable = TRUE ; 293*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? HTM~L : HTML */ 294*cdf0e10cSrcweir TabStop = TRUE ; 295*cdf0e10cSrcweir Text [ en-US ] = "HTM~L" ; 296*cdf0e10cSrcweir }; 297*cdf0e10cSrcweir CheckBox CB_FORMAT_RTF 298*cdf0e10cSrcweir { 299*cdf0e10cSrcweir HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_FORMAT_RTF"; 300*cdf0e10cSrcweir Pos = MAP_APPFONT ( 220 , 169 ) ; 301*cdf0e10cSrcweir Size = MAP_APPFONT ( 90 , 10 ) ; 302*cdf0e10cSrcweir Disable = TRUE ; 303*cdf0e10cSrcweir TabStop = TRUE ; 304*cdf0e10cSrcweir Text [ en-US ] = "RT~F" ; 305*cdf0e10cSrcweir }; 306*cdf0e10cSrcweir CheckBox CB_FORMAT_SW 307*cdf0e10cSrcweir { 308*cdf0e10cSrcweir HelpID = "sw:CheckBox:DLG_MAILMERGE:CB_FORMAT_SW"; 309*cdf0e10cSrcweir Pos = MAP_APPFONT ( 220, 182 ) ; 310*cdf0e10cSrcweir Size = MAP_APPFONT ( 90 , 10 ) ; 311*cdf0e10cSrcweir Disable = TRUE ; 312*cdf0e10cSrcweir TabStop = TRUE ; 313*cdf0e10cSrcweir Text [ en-US ] = "%PRODUCTNAME Writer" ; 314*cdf0e10cSrcweir }; 315*cdf0e10cSrcweir FixedLine FL_SEPARATOR 316*cdf0e10cSrcweir { 317*cdf0e10cSrcweir Pos = MAP_APPFONT ( 133 , 93 ) ; 318*cdf0e10cSrcweir Size = MAP_APPFONT ( 4 , 136 ) ; 319*cdf0e10cSrcweir Vert = TRUE; 320*cdf0e10cSrcweir }; 321*cdf0e10cSrcweir FixedLine FL_DEST 322*cdf0e10cSrcweir { 323*cdf0e10cSrcweir Pos = MAP_APPFONT ( 138 , 86 ) ; 324*cdf0e10cSrcweir Size = MAP_APPFONT ( 162 , 8 ) ; 325*cdf0e10cSrcweir Text [ en-US ] = "Output" ; 326*cdf0e10cSrcweir }; 327*cdf0e10cSrcweir FixedLine FL_BOTTOM_SEPARATOR 328*cdf0e10cSrcweir { 329*cdf0e10cSrcweir Pos = MAP_APPFONT ( 0, 232 ) ; 330*cdf0e10cSrcweir Size = MAP_APPFONT ( 312 , 8 ) ; 331*cdf0e10cSrcweir }; 332*cdf0e10cSrcweir OKButton BTN_OK 333*cdf0e10cSrcweir { 334*cdf0e10cSrcweir Pos = MAP_APPFONT ( 147 , 244 ) ; 335*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 336*cdf0e10cSrcweir DefButton = TRUE ; 337*cdf0e10cSrcweir }; 338*cdf0e10cSrcweir CancelButton BTN_CANCEL 339*cdf0e10cSrcweir { 340*cdf0e10cSrcweir Pos = MAP_APPFONT ( 200 , 244 ) ; 341*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 342*cdf0e10cSrcweir }; 343*cdf0e10cSrcweir HelpButton BTN_HELP 344*cdf0e10cSrcweir { 345*cdf0e10cSrcweir Pos = MAP_APPFONT ( 256 , 244 ) ; 346*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 347*cdf0e10cSrcweir }; 348*cdf0e10cSrcweir}; 349*cdf0e10cSrcweir 350*cdf0e10cSrcweirModalDialog DLG_MERGE_CREATE 351*cdf0e10cSrcweir{ 352*cdf0e10cSrcweir OutputSize = TRUE ; 353*cdf0e10cSrcweir SVLook = TRUE ; 354*cdf0e10cSrcweir Size = MAP_APPFONT ( 145 , 63 ) ; 355*cdf0e10cSrcweir Moveable = TRUE ; 356*cdf0e10cSrcweir HelpID = HID_MAIL_MERGE_CREATE_FROM; 357*cdf0e10cSrcweir _MAIL_MERGE_STRING_ 358*cdf0e10cSrcweir FixedLine FL_CREATEFROM 359*cdf0e10cSrcweir { 360*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 361*cdf0e10cSrcweir Size = MAP_APPFONT ( 80 , 8 ) ; 362*cdf0e10cSrcweir Text [ en-US ] = "Create" ; 363*cdf0e10cSrcweir }; 364*cdf0e10cSrcweir RadioButton RB_THISDOC 365*cdf0e10cSrcweir { 366*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MERGE_CREATE:RB_THISDOC"; 367*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 368*cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 10 ) ; 369*cdf0e10cSrcweir Check = TRUE; 370*cdf0e10cSrcweir TabStop = TRUE ; 371*cdf0e10cSrcweir Text [ en-US ] = "From this ~document" ; 372*cdf0e10cSrcweir }; 373*cdf0e10cSrcweir RadioButton RB_TEMPLATE 374*cdf0e10cSrcweir { 375*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MERGE_CREATE:RB_TEMPLATE"; 376*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 27 ) ; 377*cdf0e10cSrcweir Size = MAP_APPFONT ( 70 , 10 ) ; 378*cdf0e10cSrcweir TabStop = TRUE ; 379*cdf0e10cSrcweir Text [ en-US ] = "From a ~template" ; 380*cdf0e10cSrcweir }; 381*cdf0e10cSrcweir OKButton BT_OK 382*cdf0e10cSrcweir { 383*cdf0e10cSrcweir Pos = MAP_APPFONT ( 89 , 6 ) ; 384*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 385*cdf0e10cSrcweir DefButton = TRUE ; 386*cdf0e10cSrcweir }; 387*cdf0e10cSrcweir CancelButton BT_CANCEL 388*cdf0e10cSrcweir { 389*cdf0e10cSrcweir Pos = MAP_APPFONT ( 89 , 23 ) ; 390*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 391*cdf0e10cSrcweir }; 392*cdf0e10cSrcweir HelpButton BT_HELP 393*cdf0e10cSrcweir { 394*cdf0e10cSrcweir Pos = MAP_APPFONT ( 89 , 43 ) ; 395*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 396*cdf0e10cSrcweir }; 397*cdf0e10cSrcweir 398*cdf0e10cSrcweir}; 399*cdf0e10cSrcweirModalDialog DLG_MERGE_FIELD_CONNECTIONS 400*cdf0e10cSrcweir{ 401*cdf0e10cSrcweir OutputSize = TRUE ; 402*cdf0e10cSrcweir SVLook = TRUE ; 403*cdf0e10cSrcweir Size = MAP_APPFONT ( 205 , 97 ) ; 404*cdf0e10cSrcweir Moveable = TRUE ; 405*cdf0e10cSrcweir HelpID = HID_MAIL_MERGE_INSERT_FIELDS; 406*cdf0e10cSrcweir Text [ en-US ] = "Data Source Connection" ; 407*cdf0e10cSrcweir FixedLine FL_CONNECTIONS 408*cdf0e10cSrcweir { 409*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 410*cdf0e10cSrcweir Size = MAP_APPFONT ( 140 , 8 ) ; 411*cdf0e10cSrcweir Text [ en-US ] = "Connect" ; 412*cdf0e10cSrcweir }; 413*cdf0e10cSrcweir RadioButton RB_USEEXISTING 414*cdf0e10cSrcweir { 415*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MERGE_FIELD_CONNECTIONS:RB_USEEXISTING"; 416*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 417*cdf0e10cSrcweir Size = MAP_APPFONT ( 130 , 10 ) ; 418*cdf0e10cSrcweir Check = TRUE; 419*cdf0e10cSrcweir TabStop = TRUE ; 420*cdf0e10cSrcweir Text [ en-US ] = "~Use existing" ; 421*cdf0e10cSrcweir }; 422*cdf0e10cSrcweir RadioButton RB_CREATENEW 423*cdf0e10cSrcweir { 424*cdf0e10cSrcweir HelpID = "sw:RadioButton:DLG_MERGE_FIELD_CONNECTIONS:RB_CREATENEW"; 425*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 27 ) ; 426*cdf0e10cSrcweir Size = MAP_APPFONT ( 130 , 10 ) ; 427*cdf0e10cSrcweir TabStop = TRUE ; 428*cdf0e10cSrcweir Text [ en-US ] = "~Create new connection" ; 429*cdf0e10cSrcweir }; 430*cdf0e10cSrcweir FixedText FT_INFO 431*cdf0e10cSrcweir { 432*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 41 ) ; 433*cdf0e10cSrcweir Size = MAP_APPFONT ( 141 , 50 ) ; 434*cdf0e10cSrcweir WordBreak = TRUE; 435*cdf0e10cSrcweir Text [ en-US ] = "Fields are used to personalize form letters. The fields are placeholders for data from a data source, such as a database. The fields in the form letter must be connected to the data source." ; 436*cdf0e10cSrcweir }; 437*cdf0e10cSrcweir OKButton BT_OK 438*cdf0e10cSrcweir { 439*cdf0e10cSrcweir Pos = MAP_APPFONT ( 149 , 6 ) ; 440*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 441*cdf0e10cSrcweir DefButton = TRUE ; 442*cdf0e10cSrcweir }; 443*cdf0e10cSrcweir CancelButton BT_CANCEL 444*cdf0e10cSrcweir { 445*cdf0e10cSrcweir Pos = MAP_APPFONT ( 149 , 23 ) ; 446*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 447*cdf0e10cSrcweir }; 448*cdf0e10cSrcweir HelpButton BT_HELP 449*cdf0e10cSrcweir { 450*cdf0e10cSrcweir Pos = MAP_APPFONT ( 149 , 43 ) ; 451*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 452*cdf0e10cSrcweir }; 453*cdf0e10cSrcweir 454*cdf0e10cSrcweir}; 455*cdf0e10cSrcweir 456