1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: mmgreetingspage.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include <mmgreetingspage.hrc>
34 #define _LB_FEMALECOLUMN \
37 < "< not available >" ; > ; \
41 #define GREETINGS_BODY \
42 CheckBox CB_PERSONALIZED \
44 Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 17 + TOP_OFFSET ) ; \
45 Size = MAP_APPFONT ( 226 , 10 ) ; \
46 Text[ en-US ] = "Insert personalized salutation"; \
50 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 32 + TOP_OFFSET ) ; \
51 Size = MAP_APPFONT ( 50 , 8 ) ; \
52 Text[ en-US ] = "~Female"; \
56 Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 30 + TOP_OFFSET ) ; \
57 Size = MAP_APPFONT ( 121 , 50 ) ; \
61 PushButton PB_FEMALE \
63 Pos = MAP_APPFONT ( 198 + LEFT_OFFSET , 29 + TOP_OFFSET ) ; \
64 Size = MAP_APPFONT ( 50 , 14 ) ; \
65 Text[ en-US ] = "~New..."; \
69 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 49 + TOP_OFFSET ) ; \
70 Size = MAP_APPFONT ( 50 , 8 ) ; \
71 Text[ en-US ] = "~Male"; \
75 Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 47 + TOP_OFFSET ) ; \
76 Size = MAP_APPFONT ( 121 , 50 ) ; \
82 Pos = MAP_APPFONT ( 198 + LEFT_OFFSET , 48 + TOP_OFFSET ) ; \
83 Size = MAP_APPFONT ( 50 , 14 ) ; \
84 Text[ en-US ] = "N~ew..."; \
88 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 67 + TOP_OFFSET ) ; \
89 Size = MAP_APPFONT ( 225 , 8 ) ; \
90 Text[ en-US ] = "Address list field indicating a female recipient"; \
92 FixedText FT_FEMALECOLUMN \
94 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 80 + TOP_OFFSET ) ; \
95 Size = MAP_APPFONT ( 50 , 8 ) ; \
96 Text[ en-US ] = "Field name"; \
98 ListBox LB_FEMALECOLUMN \
100 Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 78 + TOP_OFFSET ) ; \
101 Size = MAP_APPFONT ( 121 , 50 ) ; \
106 FixedText FT_FEMALEFIELD \
108 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 95 + TOP_OFFSET ) ; \
109 Size = MAP_APPFONT ( 50 , 8 ) ; \
110 Text[ en-US ] = "Field value"; \
112 ComboBox CB_FEMALEFIELD \
114 Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 93 + TOP_OFFSET ) ; \
115 Size = MAP_APPFONT ( 121 , 50 ) ; \
119 FixedText FT_NEUTRAL \
121 Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 113 + TOP_OFFSET ) ; \
122 Size = MAP_APPFONT ( 180 , 8 ) ; \
123 Text[ en-US ] = "General salutation"; \
125 ComboBox CB_NEUTRAL \
127 Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 124 + TOP_OFFSET ) ; \
128 Size = MAP_APPFONT ( 180 , 50 ) ; \
133 #define TOP_OFFSET 24
134 #define LEFT_OFFSET 6
136 TabPage DLG_MM_GREETINGS_PAGE
138 HelpID = HID_MM_GREETINGSPAGE ;
139 Size = MAP_APPFONT ( 260 , 250 ) ;
144 Pos = MAP_APPFONT ( 6 , 8 ) ;
145 Size = MAP_APPFONT ( 248 , 8 ) ;
146 Text [ en-US ] = "Create a salutation";
148 CheckBox CB_GREETINGLINE
150 Pos = MAP_APPFONT ( 12 , 27 );
151 Size = MAP_APPFONT ( 242 , 10 );
152 Text[ en-US ] = "This document should contain a salutation";
157 Pos = MAP_APPFONT ( 12 , 168 ) ;
158 Size = MAP_APPFONT ( 242 , 8 ) ;
159 Text[ en-US ] = "Preview";
163 Pos = MAP_APPFONT ( 12 , 179 );
164 Size = MAP_APPFONT ( 186 , 21 ) ;
169 Pos = MAP_APPFONT ( 204 , 179 ) ;
170 Size = MAP_APPFONT ( 50 , 14 ) ;
171 Text[ en-US ] = "~Match fields...";
173 FixedText FI_DOCINDEX
175 Pos = MAP_APPFONT ( 121 , 206 ) ;
176 Size = MAP_APPFONT ( 50, 8 ) ;
179 ImageButton IB_PREVSET
181 Pos = MAP_APPFONT ( 177 , 204 ) ;
182 Size = MAP_APPFONT ( 10 , 10 ) ;
183 SYMBOL = IMAGEBUTTON_PREV;
184 QuickHelpText[ en-US ] = "Preview Previous Salutation";
186 ImageButton IB_NEXTSET
188 Pos = MAP_APPFONT ( 188 , 204 ) ;
189 Size = MAP_APPFONT ( 10 , 10 ) ;
190 SYMBOL = IMAGEBUTTON_NEXT ;
191 QuickHelpText[ en-US ] = "Preview Next Salutation";
195 Text[ en-US ] = "Document: %1";
203 #define LEFT_OFFSET 0
204 ModalDialog DLG_MM_MAILBODY
206 HelpID = HID_MM_MAILBODY;
207 Size = MAP_APPFONT ( 254 , 238 ) ;
211 Text [ en-US ] = "E-Mail Message";
212 CheckBox CB_GREETINGLINE
214 Pos = MAP_APPFONT ( 6 , 3 ) ;
215 Size = MAP_APPFONT ( 242 , 10 ) ;
216 Text[ en-US ] = "This e-mail should contain a salutation";
221 Pos = MAP_APPFONT ( 12 , 140 ) ;
222 Size = MAP_APPFONT ( 174 , 8 ) ;
223 Text[ en-US ] = "Write your message here";
225 MultiLineEdit MLE_BODY
227 Pos = MAP_APPFONT ( 12, 151 ) ;
228 Size = MAP_APPFONT ( 180 , 50 ) ;
236 FixedLine FL_SEPARATOR
238 Pos = MAP_APPFONT ( 0 , 207 ) ;
239 Size = MAP_APPFONT ( 254 , 8 ) ;
243 Pos = MAP_APPFONT ( 89, 218 ) ;
244 Size = MAP_APPFONT ( 50 , 14 ) ;
246 CancelButton PB_CANCEL
248 Pos = MAP_APPFONT ( 142 , 218 ) ;
249 Size = MAP_APPFONT ( 50 , 14 ) ;
253 Pos = MAP_APPFONT ( 198 , 218 ) ;
254 Size = MAP_APPFONT ( 50 , 14 ) ;