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