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#include <mmoutputpage.hrc> 28#include <dbui.hrc> 29#include <helpid.h> 30 31TabPage DLG_MM_OUTPUT_PAGE 32{ 33 HelpID = HID_MM_OUTPUTPAGE ; 34 Size = MAP_APPFONT ( 260 , 250 ) ; 35 Hide = TRUE ; 36 37 FixedText FI_HEADER 38 { 39 Pos = MAP_APPFONT ( 6 , 8 ) ; 40 Size = MAP_APPFONT ( 248 , 8 ) ; 41 Text[ en-US ] = "Save, print or send the document"; 42 }; 43 FixedText FI_OPTIONS 44 { 45 Pos = MAP_APPFONT ( 6 , 27 ) ; 46 Size = MAP_APPFONT ( 248 , 8 ) ; 47 Text[ en-US ] = "Select one of the options below:"; 48 }; 49 RadioButton RB_SAVESTARTDOC 50 { 51 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SAVESTARTDOC"; 52 Pos = MAP_APPFONT ( 45 , 40 ) ; 53 Size = MAP_APPFONT ( 209 , 10 ) ; 54 Text[ en-US ] = "~Save starting document"; 55 }; 56 RadioButton RB_SAVEMERGEDDOC 57 { 58 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SAVEMERGEDDOC"; 59 Pos = MAP_APPFONT ( 45 , 53 ) ; 60 Size = MAP_APPFONT ( 209 , 10 ) ; 61 Text[ en-US ] = "Save ~merged document" ; 62 }; 63 RadioButton RB_PRINT 64 { 65 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_PRINT"; 66 Pos = MAP_APPFONT ( 45 , 66 ) ; 67 Size = MAP_APPFONT ( 209 , 10 ) ; 68 Text[ en-US ] = "~Print merged document"; 69 }; 70 RadioButton RB_SENDMAIL 71 { 72 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SENDMAIL"; 73 Pos = MAP_APPFONT ( 45 , 79 ) ; 74 Size = MAP_APPFONT ( 209 , 10 ) ; 75 Text[ en-US ] = "Send merged document as ~E-Mail"; 76 }; 77 FixedLine FL_SEPARATOR 78 { 79 Pos = MAP_APPFONT ( 6 , 95 ) ; 80 Size = MAP_APPFONT ( 248 , 8 ) ; 81 }; 82 PushButton PB_SAVESTARTDOC 83 { 84 HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_SAVESTARTDOC"; 85 Pos = MAP_APPFONT ( 55 , 108 ) ; 86 Size = MAP_APPFONT ( 100 , 14 ) ; 87 Text[ en-US ] = "Save starting ~document"; 88 }; 89 RadioButton RB_SAVEASONE 90 { 91 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SAVEASONE"; 92 Pos = MAP_APPFONT ( 45 , 109 ) ; 93 Size = MAP_APPFONT ( 150 , 10 ) ; 94 Text[ en-US ] = "S~ave as single document"; 95 }; 96 RadioButton RB_SAVEINDIVIDUAL 97 { 98 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SAVEINDIVIDUAL"; 99 Pos = MAP_APPFONT ( 45, 123 ) ; 100 Size = MAP_APPFONT ( 150 , 10 ) ; 101 Text[ en-US ] = "Sa~ve as individual documents"; 102 }; 103 RadioButton RB_FROM 104 { 105 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_FROM"; 106 Pos = MAP_APPFONT ( 45 , 137 ) ; 107 Size = MAP_APPFONT ( 30 , 10 ) ; 108 Text[ en-US ] = "~From"; 109 }; 110 NumericField NF_FROM 111 { 112 HelpID = "sw:NumericField:DLG_MM_OUTPUT_PAGE:NF_FROM"; 113 Pos = MAP_APPFONT ( 78 , 136 ) ; 114 Size = MAP_APPFONT ( 20 , 10 ) ; 115 Border = TRUE; 116 Left = TRUE ; 117 First = 1 ; 118 Minimum = 1 ; 119 Repeat = TRUE ; 120 Spin = FALSE ; 121 TabStop = TRUE ; 122 }; 123 FixedText FT_TO 124 { 125 Pos = MAP_APPFONT ( 101 , 138 ) ; 126 Size = MAP_APPFONT ( 20 , 8 ) ; 127 Right = TRUE; 128 Text[ en-US ] = "~To"; 129 }; 130 NumericField NF_TO 131 { 132 HelpID = "sw:NumericField:DLG_MM_OUTPUT_PAGE:NF_TO"; 133 Pos = MAP_APPFONT ( 124 , 136 ) ; 134 Size = MAP_APPFONT ( 20 , 10 ) ; 135 Border = TRUE; 136 Left = TRUE ; 137 First = 1 ; 138 Minimum = 1 ; 139 Repeat = TRUE ; 140 Spin = FALSE ; 141 TabStop = TRUE ; 142 }; 143 PushButton PB_SAVENOW 144 { 145 HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_SAVENOW"; 146 Pos = MAP_APPFONT ( 45 , 150 ) ; 147 Size = MAP_APPFONT ( 80 , 14 ) ; 148 Text[ en-US ] = "Save Do~cuments"; 149 }; 150 FixedText FT_PRINT 151 { 152 Pos = MAP_APPFONT ( 12 , 111 ) ; 153 Size = MAP_APPFONT ( 30 , 8 ) ; 154 Text[ en-US ] = "~Printer"; 155 }; 156 ListBox LB_PRINT 157 { 158 HelpID = "sw:ListBox:DLG_MM_OUTPUT_PAGE:LB_PRINT"; 159 Pos = MAP_APPFONT ( 45 , 109 ) ; 160 Size = MAP_APPFONT ( 147 , 50 ) ; 161 Border = TRUE; 162 DropDown = TRUE; 163 Sort = TRUE; 164 }; 165 PushButton PB_PRINTERSETTINGS 166 { 167 HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_PRINTERSETTINGS"; 168 Pos = MAP_APPFONT ( 198 , 108 ) ; 169 Size = MAP_APPFONT ( 50 , 14 ) ; 170 Text[ en-US ] = "P~roperties..."; 171 }; 172 RadioButton RB_PRINTALL 173 { 174 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_PRINTALL"; 175 Pos = MAP_APPFONT ( 45 , 126 ) ; 176 Size = MAP_APPFONT ( 150 , 10 ) ; 177 Text[ en-US ] = "Print ~all documents"; 178 }; 179 PushButton PB_PRINTNOW 180 { 181 HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_PRINTNOW"; 182 Pos = MAP_APPFONT ( 45 , 155 ) ; 183 Size = MAP_APPFONT ( 80 , 14 ) ; 184 Text[ en-US ] = "Prin~t Documents"; 185 }; 186 187 FixedText FT_MAILTO 188 { 189 Pos = MAP_APPFONT ( 12 , 111 ) ; 190 Size = MAP_APPFONT ( 30 , 8 ) ; 191 Text[ en-US ] = "T~o"; 192 }; 193 ListBox LB_MAILTO 194 { 195 HelpID = "sw:ListBox:DLG_MM_OUTPUT_PAGE:LB_MAILTO"; 196 Pos = MAP_APPFONT ( 45 , 109 ) ; 197 Size = MAP_APPFONT ( 147 , 50 ) ; 198 DropDown = TRUE; 199 Border = TRUE; 200 }; 201 PushButton PB_COPYTO 202 { 203 HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_COPYTO"; 204 Pos = MAP_APPFONT ( 198 , 108 ) ; 205 Size = MAP_APPFONT ( 50 , 14 ) ; 206 Text[ en-US ] = "~Copy to..."; 207 }; 208 FixedText FT_SUBJECT 209 { 210 Pos = MAP_APPFONT ( 12 , 127 ) ; 211 Size = MAP_APPFONT ( 30 , 8 ) ; 212 Text[ en-US ] = "S~ubject"; 213 }; 214 Edit ED_SUBJECT 215 { 216 HelpID = "sw:Edit:DLG_MM_OUTPUT_PAGE:ED_SUBJECT"; 217 Pos = MAP_APPFONT ( 45 , 125 ) ; 218 Size = MAP_APPFONT ( 147 , 12 ) ; 219 Border = TRUE; 220 }; 221 FixedText FT_SENDAS 222 { 223 Pos = MAP_APPFONT ( 12 , 143 ) ; 224 Size = MAP_APPFONT ( 30 , 8 ) ; 225 Text[ en-US ] = "Sen~d as"; 226 }; 227 ListBox LB_SENDAS 228 { 229 HelpID = "sw:ListBox:DLG_MM_OUTPUT_PAGE:LB_SENDAS"; 230 Pos = MAP_APPFONT ( 45 , 141 ) ; 231 Size = MAP_APPFONT (147 , 70 ) ; 232 DropDown = TRUE; 233 Border = TRUE; 234 StringList = 235 { 236 < "OpenDocument Text" ; MM_DOCTYPE_OOO ;> ; 237 < "Adobe PDF-Dokument" ; MM_DOCTYPE_PDF ;> ; 238 < "Microsoft Word Dokument" ; MM_DOCTYPE_WORD;> ; 239 < "HTML-Nachricht" ; MM_DOCTYPE_HTML;> ; 240 < "Nur Text" ; MM_DOCTYPE_TEXT;> ; 241 }; 242 StringList [en-US]= 243 { 244 < "OpenDocument Text" ; MM_DOCTYPE_OOO ;> ; 245 < "Adobe PDF-Document" ; MM_DOCTYPE_PDF ;> ; 246 < "Microsoft Word Document" ; MM_DOCTYPE_WORD;> ; 247 < "HTML Message" ; MM_DOCTYPE_HTML;> ; 248 < "Plain Text" ; MM_DOCTYPE_TEXT;> ; 249 }; 250 }; 251 PushButton PB_SENDAS 252 { 253 HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_SENDAS"; 254 Pos = MAP_APPFONT ( 198 , 140 ) ; 255 Size = MAP_APPFONT ( 50 , 14 ) ; 256 Text[ en-US ] = "Pr~operties..."; 257 }; 258 FixedText FT_ATTACHMENT 259 { 260 Pos = MAP_APPFONT ( 45 , 157 ) ; 261 Size = MAP_APPFONT ( 147 , 8 ) ; 262 Text[ en-US ] = "Name of the a~ttachment"; 263 }; 264 Edit ED_ATTACHMENT 265 { 266 HelpID = "sw:Edit:DLG_MM_OUTPUT_PAGE:ED_ATTACHMENT"; 267 Pos = MAP_APPFONT ( 45 , 168 ) ; 268 Size = MAP_APPFONT ( 147 , 12 ) ; 269 Border = TRUE; 270 }; 271 RadioButton RB_SENDALL 272 { 273 HelpID = "sw:RadioButton:DLG_MM_OUTPUT_PAGE:RB_SENDALL"; 274 Pos = MAP_APPFONT ( 45 , 184 ) ; 275 Size = MAP_APPFONT ( 153 , 10 ) ; 276 Text[ en-US ] = "S~end all documents"; 277 }; 278 PushButton PB_SENDDOCUMENTS 279 { 280 HelpID = "sw:PushButton:DLG_MM_OUTPUT_PAGE:PB_SENDDOCUMENTS"; 281 Pos = MAP_APPFONT ( 45 , 212 ) ; 282 Size = MAP_APPFONT ( 80 , 14 ) ; 283 Text[ en-US ] = "Se~nd documents"; 284 }; 285 String ST_SAVESTART 286 { 287 Text[ en-US ] = "Save ~starting document"; 288 }; 289 String ST_SAVEMERGED 290 { 291 Text[ en-US ] = "Save merged document"; 292 }; 293 String ST_PRINT 294 { 295 Text[ en-US ] = "Print settings"; 296 }; 297 String ST_SENDMAIL 298 { 299 Text[ en-US ] = "E-Mail settings"; 300 }; 301 String ST_DEFAULTATTACHMENT 302 { 303 Text[ en-US ] = "Untitled"; 304 }; 305 String ST_SUBJECTQUERY 306 { 307 Text[ en-US ] = "You did not specify a subject for this message. If you would like to provide one, please type it now."; 308 }; 309 String ST_NOSUBJECT 310 { 311 Text[ en-US ] = "No subject"; 312 }; 313 String ST_NOATTACHMENTNAME 314 { 315 Text[ en-US ] = "You did not specify a new name for the attachment. If you would like to provide one, please type it now."; 316 }; 317 String ST_CONFIGUREMAIL 318 { 319 Text[ en-US ] = "In order to be able to send mail merge documents by e-mail, %PRODUCTNAME requires information about the e-mail account to be used.\n\n Do you want to enter e-mail account information now?"; 320 }; 321}; 322 323ModalDialog DLG_MM_COPYTO 324{ 325 OutputSize = TRUE ; 326 SVLook = TRUE ; 327 HelpID = HID_MM_COPYTO; 328 Size = MAP_APPFONT ( 250 , 100 ) ; 329 Moveable = TRUE ; 330 331 Text [ en-US ] = "Copy To"; 332 333 FixedText FI_DESCRIPTION 334 { 335 Pos = MAP_APPFONT ( 6 , 3 ) ; 336 Size = MAP_APPFONT ( 238 , 8 ) ; 337 Text[ en-US ] = "Send a copy of this mail to:"; 338 }; 339 FixedText FT_CC 340 { 341 Pos = MAP_APPFONT ( 6 , 17 ) ; 342 Size = MAP_APPFONT ( 30 , 8 ) ; 343 Text[ en-US ] = "~Cc"; 344 }; 345 Edit ED_CC 346 { 347 HelpID = "sw:Edit:DLG_MM_COPYTO:ED_CC"; 348 Pos = MAP_APPFONT ( 40 , 15 ) ; 349 Size = MAP_APPFONT ( 204 , 12 ) ; 350 Border = TRUE; 351 }; 352 FixedText FT_BCC 353 { 354 Pos = MAP_APPFONT ( 6 , 33 ) ; 355 Size = MAP_APPFONT ( 30 , 8 ) ; 356 Text[ en-US ] = "~Bcc"; 357 }; 358 Edit ED_BCC 359 { 360 HelpID = "sw:Edit:DLG_MM_COPYTO:ED_BCC"; 361 Pos = MAP_APPFONT ( 40 , 31 ) ; 362 Size = MAP_APPFONT ( 204 , 12 ) ; 363 Border = TRUE; 364 }; 365 FixedText FI_NOTE 366 { 367 Pos = MAP_APPFONT ( 6 , 47 ) ; 368 Size = MAP_APPFONT ( 204 , 20 ) ; 369 WordBreak = TRUE; 370 Text[ en-US ] = "Note:\nSeparate e-mail addresses with a semicolon (;)."; 371 }; 372 FixedLine FL_SEPARATOR 373 { 374 Pos = MAP_APPFONT ( 0 , 66 ) ; 375 Size = MAP_APPFONT ( 250 , 8 ) ; 376 }; 377 OKButton PB_OK 378 { 379 Pos = MAP_APPFONT ( 85 , 80 ) ; 380 Size = MAP_APPFONT ( 50 , 14 ) ; 381 DefButton = TRUE ; 382 }; 383 CancelButton PB_CANCEL 384 { 385 Pos = MAP_APPFONT ( 138 , 80 ) ; 386 Size = MAP_APPFONT ( 50 , 14 ) ; 387 }; 388 HelpButton PB_HELP 389 { 390 Pos = MAP_APPFONT ( 194 , 80 ) ; 391 Size = MAP_APPFONT ( 50 , 14 ) ; 392 }; 393}; 394 395ModalDialog DLG_MM_SAVEWARNING 396{ 397 OutputSize = TRUE ; 398 SVLook = TRUE ; 399 HelpID = HID_MM_SAVEWARNING; 400 Size = MAP_APPFONT ( 200 , 99 ) ; 401 Moveable = TRUE ; 402 403 Text = "%PRODUCTNAME"; 404 FixedImage IM_WARNING 405 { 406 Pos = MAP_APPFONT ( 6 , 3 ) ; 407 Size = MAP_APPFONT ( 30 , 30 ) ; 408 }; 409 FixedText FI_WARNING 410 { 411 Pos = MAP_APPFONT ( 40 , 3 ) ; 412 Size = MAP_APPFONT ( 150 , 30 ) ; 413 WordBreak = TRUE; 414 Text[ en-US ] = "A document with the name '%1' already exists. Please save this document under a different name."; 415 }; 416 FixedText FT_FILENAME 417 { 418 Pos = MAP_APPFONT ( 40, 39 ) ; 419 Size = MAP_APPFONT ( 154, 8 ) ; 420 Text[ en-US ] = "New document name"; 421 }; 422 Edit ED_FILENAME 423 { 424 HelpID = "sw:Edit:DLG_MM_SAVEWARNING:ED_FILENAME"; 425 Pos = MAP_APPFONT ( 40 , 50 ) ; 426 Size = MAP_APPFONT ( 154 , 12 ) ; 427 Border = TRUE; 428 }; 429 FixedLine FL_SEPARATOR 430 { 431 Pos = MAP_APPFONT ( 0 , 68 ) ; 432 Size = MAP_APPFONT ( 200 , 8 ) ; 433 }; 434 OKButton PB_OK 435 { 436 Pos = MAP_APPFONT ( 40 , 79) ; 437 Size = MAP_APPFONT ( 50 , 14 ) ; 438 DefButton = TRUE; 439 }; 440 CancelButton PB_CANCEL 441 { 442 Pos = MAP_APPFONT ( 93 , 79 ) ; 443 Size = MAP_APPFONT ( 50 , 14 ) ; 444 }; 445}; 446ModalDialog DLG_MM_QUERY 447{ 448 OutputSize = TRUE ; 449 SVLook = TRUE ; 450 HelpID = HID_MM_QUERY; 451 Size = MAP_APPFONT ( 240 , 88 ) ; 452 Moveable = TRUE ; 453 454 Text = "%PRODUCTNAME"; 455 FixedImage IM_QUERY 456 { 457 Pos = MAP_APPFONT ( 6 , 3 ) ; 458 Size = MAP_APPFONT ( 30 , 30 ) ; 459 }; 460 FixedText FI_QUERY 461 { 462 Pos = MAP_APPFONT ( 40 , 6 ) ; 463 Size = MAP_APPFONT ( 190 , 30 ) ; 464 WordBreak = TRUE; 465 }; 466 Edit ED_TEXT 467 { 468 HelpID = "sw:Edit:DLG_MM_QUERY:ED_TEXT"; 469 Pos = MAP_APPFONT ( 40 , 39 ) ; 470 Size = MAP_APPFONT ( 194 , 12 ) ; 471 Border = TRUE; 472 }; 473 FixedLine FL_SEPARATOR 474 { 475 Pos = MAP_APPFONT ( 0 , 57 ) ; 476 Size = MAP_APPFONT ( 240 , 8 ) ; 477 }; 478 OKButton PB_OK 479 { 480 Pos = MAP_APPFONT ( 69 , 68) ; 481 Size = MAP_APPFONT ( 50 , 14 ) ; 482 DefButton = TRUE; 483 }; 484 CancelButton PB_CANCEL 485 { 486 Pos = MAP_APPFONT ( 122 , 68 ) ; 487 Size = MAP_APPFONT ( 50 , 14 ) ; 488 }; 489}; 490 491