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#include <mmgreetingspage.hrc> 28*cdf0e10cSrcweir#include <dbui.hrc> 29*cdf0e10cSrcweir#include <helpid.h> 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir#define _LB_FEMALECOLUMN \ 32*cdf0e10cSrcweir StringList [en-US]= \ 33*cdf0e10cSrcweir { \ 34*cdf0e10cSrcweir < "< not available >" ; > ; \ 35*cdf0e10cSrcweir }; 36*cdf0e10cSrcweir 37*cdf0e10cSrcweir 38*cdf0e10cSrcweir#define GREETINGS_BODY \ 39*cdf0e10cSrcweir CheckBox CB_PERSONALIZED \ 40*cdf0e10cSrcweir { \ 41*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 17 + TOP_OFFSET ) ; \ 42*cdf0e10cSrcweir Size = MAP_APPFONT ( 226 , 10 ) ; \ 43*cdf0e10cSrcweir Text[ en-US ] = "Insert personalized salutation"; \ 44*cdf0e10cSrcweir }; \ 45*cdf0e10cSrcweir FixedText FT_FEMALE \ 46*cdf0e10cSrcweir { \ 47*cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 32 + TOP_OFFSET ) ; \ 48*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; \ 49*cdf0e10cSrcweir Text[ en-US ] = "~Female"; \ 50*cdf0e10cSrcweir }; \ 51*cdf0e10cSrcweir ListBox LB_FEMALE \ 52*cdf0e10cSrcweir { \ 53*cdf0e10cSrcweir Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 30 + TOP_OFFSET ) ; \ 54*cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 50 ) ; \ 55*cdf0e10cSrcweir DropDown = TRUE; \ 56*cdf0e10cSrcweir Border = TRUE; \ 57*cdf0e10cSrcweir }; \ 58*cdf0e10cSrcweir PushButton PB_FEMALE \ 59*cdf0e10cSrcweir { \ 60*cdf0e10cSrcweir Pos = MAP_APPFONT ( 198 + LEFT_OFFSET , 29 + TOP_OFFSET ) ; \ 61*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; \ 62*cdf0e10cSrcweir Text[ en-US ] = "~New..."; \ 63*cdf0e10cSrcweir }; \ 64*cdf0e10cSrcweir FixedText FT_MALE \ 65*cdf0e10cSrcweir { \ 66*cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 49 + TOP_OFFSET ) ; \ 67*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; \ 68*cdf0e10cSrcweir Text[ en-US ] = "~Male"; \ 69*cdf0e10cSrcweir }; \ 70*cdf0e10cSrcweir ListBox LB_MALE \ 71*cdf0e10cSrcweir { \ 72*cdf0e10cSrcweir Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 47 + TOP_OFFSET ) ; \ 73*cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 50 ) ; \ 74*cdf0e10cSrcweir DropDown = TRUE; \ 75*cdf0e10cSrcweir Border = TRUE; \ 76*cdf0e10cSrcweir }; \ 77*cdf0e10cSrcweir PushButton PB_MALE \ 78*cdf0e10cSrcweir { \ 79*cdf0e10cSrcweir Pos = MAP_APPFONT ( 198 + LEFT_OFFSET , 48 + TOP_OFFSET ) ; \ 80*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; \ 81*cdf0e10cSrcweir Text[ en-US ] = "N~ew..."; \ 82*cdf0e10cSrcweir }; \ 83*cdf0e10cSrcweir FixedText FI_FEMALE \ 84*cdf0e10cSrcweir { \ 85*cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 67 + TOP_OFFSET ) ; \ 86*cdf0e10cSrcweir Size = MAP_APPFONT ( 225 , 8 ) ; \ 87*cdf0e10cSrcweir Text[ en-US ] = "Address list field indicating a female recipient"; \ 88*cdf0e10cSrcweir }; \ 89*cdf0e10cSrcweir FixedText FT_FEMALECOLUMN \ 90*cdf0e10cSrcweir { \ 91*cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 80 + TOP_OFFSET ) ; \ 92*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; \ 93*cdf0e10cSrcweir Text[ en-US ] = "Field name"; \ 94*cdf0e10cSrcweir }; \ 95*cdf0e10cSrcweir ListBox LB_FEMALECOLUMN \ 96*cdf0e10cSrcweir { \ 97*cdf0e10cSrcweir Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 78 + TOP_OFFSET ) ; \ 98*cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 50 ) ; \ 99*cdf0e10cSrcweir DropDown = TRUE; \ 100*cdf0e10cSrcweir Border = TRUE; \ 101*cdf0e10cSrcweir _LB_FEMALECOLUMN \ 102*cdf0e10cSrcweir }; \ 103*cdf0e10cSrcweir FixedText FT_FEMALEFIELD \ 104*cdf0e10cSrcweir { \ 105*cdf0e10cSrcweir Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 95 + TOP_OFFSET ) ; \ 106*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; \ 107*cdf0e10cSrcweir Text[ en-US ] = "Field value"; \ 108*cdf0e10cSrcweir }; \ 109*cdf0e10cSrcweir ComboBox CB_FEMALEFIELD \ 110*cdf0e10cSrcweir { \ 111*cdf0e10cSrcweir Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 93 + TOP_OFFSET ) ; \ 112*cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 50 ) ; \ 113*cdf0e10cSrcweir DropDown = TRUE; \ 114*cdf0e10cSrcweir Border = TRUE; \ 115*cdf0e10cSrcweir }; \ 116*cdf0e10cSrcweir FixedText FT_NEUTRAL \ 117*cdf0e10cSrcweir { \ 118*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 113 + TOP_OFFSET ) ; \ 119*cdf0e10cSrcweir Size = MAP_APPFONT ( 180 , 8 ) ; \ 120*cdf0e10cSrcweir Text[ en-US ] = "General salutation"; \ 121*cdf0e10cSrcweir }; \ 122*cdf0e10cSrcweir ComboBox CB_NEUTRAL \ 123*cdf0e10cSrcweir { \ 124*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 124 + TOP_OFFSET ) ; \ 125*cdf0e10cSrcweir Size = MAP_APPFONT ( 180 , 50 ) ; \ 126*cdf0e10cSrcweir DropDown = TRUE; \ 127*cdf0e10cSrcweir Border = TRUE; \ 128*cdf0e10cSrcweir }; 129*cdf0e10cSrcweir 130*cdf0e10cSrcweir#define TOP_OFFSET 24 131*cdf0e10cSrcweir#define LEFT_OFFSET 6 132*cdf0e10cSrcweir 133*cdf0e10cSrcweirTabPage DLG_MM_GREETINGS_PAGE 134*cdf0e10cSrcweir{ 135*cdf0e10cSrcweir HelpID = HID_MM_GREETINGSPAGE ; 136*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 250 ) ; 137*cdf0e10cSrcweir Hide = TRUE ; 138*cdf0e10cSrcweir 139*cdf0e10cSrcweir FixedText FI_HEADER 140*cdf0e10cSrcweir { 141*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 8 ) ; 142*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 143*cdf0e10cSrcweir Text [ en-US ] = "Create a salutation"; 144*cdf0e10cSrcweir }; 145*cdf0e10cSrcweir CheckBox CB_GREETINGLINE 146*cdf0e10cSrcweir { 147*cdf0e10cSrcweir HelpID = "sw:CheckBox:DLG_MM_GREETINGS_PAGE:CB_GREETINGLINE"; 148*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 27 ); 149*cdf0e10cSrcweir Size = MAP_APPFONT ( 242 , 10 ); 150*cdf0e10cSrcweir Text[ en-US ] = "This document should contain a salutation"; 151*cdf0e10cSrcweir }; 152*cdf0e10cSrcweir GREETINGS_BODY 153*cdf0e10cSrcweir FixedText FI_PREVIEW 154*cdf0e10cSrcweir { 155*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 168 ) ; 156*cdf0e10cSrcweir Size = MAP_APPFONT ( 242 , 8 ) ; 157*cdf0e10cSrcweir Text[ en-US ] = "Preview"; 158*cdf0e10cSrcweir }; 159*cdf0e10cSrcweir Window WIN_PREVIEW 160*cdf0e10cSrcweir { 161*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 179 ); 162*cdf0e10cSrcweir Size = MAP_APPFONT ( 186 , 21 ) ; 163*cdf0e10cSrcweir Border = TRUE; 164*cdf0e10cSrcweir }; 165*cdf0e10cSrcweir PushButton PB_ASSIGN 166*cdf0e10cSrcweir { 167*cdf0e10cSrcweir HelpID = "sw:PushButton:DLG_MM_GREETINGS_PAGE:PB_ASSIGN"; 168*cdf0e10cSrcweir Pos = MAP_APPFONT ( 204 , 179 ) ; 169*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 170*cdf0e10cSrcweir Text[ en-US ] = "~Match fields..."; 171*cdf0e10cSrcweir }; 172*cdf0e10cSrcweir FixedText FI_DOCINDEX 173*cdf0e10cSrcweir { 174*cdf0e10cSrcweir Pos = MAP_APPFONT ( 121 , 206 ) ; 175*cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 8 ) ; 176*cdf0e10cSrcweir Right = TRUE; 177*cdf0e10cSrcweir }; 178*cdf0e10cSrcweir ImageButton IB_PREVSET 179*cdf0e10cSrcweir { 180*cdf0e10cSrcweir HelpID = "sw:ImageButton:DLG_MM_GREETINGS_PAGE:IB_PREVSET"; 181*cdf0e10cSrcweir Pos = MAP_APPFONT ( 177 , 204 ) ; 182*cdf0e10cSrcweir Size = MAP_APPFONT ( 10 , 10 ) ; 183*cdf0e10cSrcweir SYMBOL = IMAGEBUTTON_PREV; 184*cdf0e10cSrcweir QuickHelpText[ en-US ] = "Preview Previous Salutation"; 185*cdf0e10cSrcweir }; 186*cdf0e10cSrcweir ImageButton IB_NEXTSET 187*cdf0e10cSrcweir { 188*cdf0e10cSrcweir HelpID = "sw:ImageButton:DLG_MM_GREETINGS_PAGE:IB_NEXTSET"; 189*cdf0e10cSrcweir Pos = MAP_APPFONT ( 188 , 204 ) ; 190*cdf0e10cSrcweir Size = MAP_APPFONT ( 10 , 10 ) ; 191*cdf0e10cSrcweir SYMBOL = IMAGEBUTTON_NEXT ; 192*cdf0e10cSrcweir QuickHelpText[ en-US ] = "Preview Next Salutation"; 193*cdf0e10cSrcweir }; 194*cdf0e10cSrcweir String STR_DOCUMENT 195*cdf0e10cSrcweir { 196*cdf0e10cSrcweir Text[ en-US ] = "Document: %1"; 197*cdf0e10cSrcweir }; 198*cdf0e10cSrcweir}; 199*cdf0e10cSrcweir 200*cdf0e10cSrcweir#undef TOP_OFFSET 201*cdf0e10cSrcweir#undef LEFT_OFFSET 202*cdf0e10cSrcweir 203*cdf0e10cSrcweir#define TOP_OFFSET 0 204*cdf0e10cSrcweir#define LEFT_OFFSET 0 205*cdf0e10cSrcweirModalDialog DLG_MM_MAILBODY 206*cdf0e10cSrcweir{ 207*cdf0e10cSrcweir HelpID = HID_MM_MAILBODY; 208*cdf0e10cSrcweir Size = MAP_APPFONT ( 254 , 238 ) ; 209*cdf0e10cSrcweir OutputSize = TRUE ; 210*cdf0e10cSrcweir SVLook = TRUE ; 211*cdf0e10cSrcweir Moveable = TRUE ; 212*cdf0e10cSrcweir Text [ en-US ] = "E-Mail Message"; 213*cdf0e10cSrcweir CheckBox CB_GREETINGLINE 214*cdf0e10cSrcweir { 215*cdf0e10cSrcweir HelpID = "sw:CheckBox:DLG_MM_MAILBODY:CB_GREETINGLINE"; 216*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 217*cdf0e10cSrcweir Size = MAP_APPFONT ( 242 , 10 ) ; 218*cdf0e10cSrcweir Text[ en-US ] = "This e-mail should contain a salutation"; 219*cdf0e10cSrcweir }; 220*cdf0e10cSrcweir GREETINGS_BODY 221*cdf0e10cSrcweir FixedText FT_BODY 222*cdf0e10cSrcweir { 223*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 140 ) ; 224*cdf0e10cSrcweir Size = MAP_APPFONT ( 174 , 8 ) ; 225*cdf0e10cSrcweir Text[ en-US ] = "Write your message here"; 226*cdf0e10cSrcweir }; 227*cdf0e10cSrcweir MultiLineEdit MLE_BODY 228*cdf0e10cSrcweir { 229*cdf0e10cSrcweir HelpID = "sw:MultiLineEdit:DLG_MM_MAILBODY:MLE_BODY"; 230*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 151 ) ; 231*cdf0e10cSrcweir Size = MAP_APPFONT ( 180 , 50 ) ; 232*cdf0e10cSrcweir Border = TRUE; 233*cdf0e10cSrcweir TabStop = TRUE ; 234*cdf0e10cSrcweir Left = TRUE ; 235*cdf0e10cSrcweir VScroll = TRUE ; 236*cdf0e10cSrcweir HScroll = TRUE ; 237*cdf0e10cSrcweir IgnoreTab = TRUE; 238*cdf0e10cSrcweir }; 239*cdf0e10cSrcweir FixedLine FL_SEPARATOR 240*cdf0e10cSrcweir { 241*cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 207 ) ; 242*cdf0e10cSrcweir Size = MAP_APPFONT ( 254 , 8 ) ; 243*cdf0e10cSrcweir }; 244*cdf0e10cSrcweir OKButton PB_OK 245*cdf0e10cSrcweir { 246*cdf0e10cSrcweir Pos = MAP_APPFONT ( 89, 218 ) ; 247*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 248*cdf0e10cSrcweir }; 249*cdf0e10cSrcweir CancelButton PB_CANCEL 250*cdf0e10cSrcweir { 251*cdf0e10cSrcweir Pos = MAP_APPFONT ( 142 , 218 ) ; 252*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 253*cdf0e10cSrcweir }; 254*cdf0e10cSrcweir HelpButton PB_HELP 255*cdf0e10cSrcweir { 256*cdf0e10cSrcweir Pos = MAP_APPFONT ( 198 , 218 ) ; 257*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 258*cdf0e10cSrcweir }; 259*cdf0e10cSrcweir}; 260*cdf0e10cSrcweir 261*cdf0e10cSrcweir 262