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