1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include <mmgreetingspage.hrc>
23 #define _LB_FEMALECOLUMN \
26 < "< not available >" ; > ; \
30 #define GREETINGS_BODY \
31 CheckBox CB_PERSONALIZED \
33 Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 17 + TOP_OFFSET ) ; \
34 Size = MAP_APPFONT ( 226 , 10 ) ; \
35 Text[ en-US ] = "Insert personalized salutation"; \
39 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 32 + TOP_OFFSET ) ; \
40 Size = MAP_APPFONT ( 50 , 8 ) ; \
41 Text[ en-US ] = "~Female"; \
45 Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 30 + TOP_OFFSET ) ; \
46 Size = MAP_APPFONT ( 121 , 50 ) ; \
50 PushButton PB_FEMALE \
52 Pos = MAP_APPFONT ( 198 + LEFT_OFFSET , 29 + TOP_OFFSET ) ; \
53 Size = MAP_APPFONT ( 50 , 14 ) ; \
54 Text[ en-US ] = "~New..."; \
58 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 49 + TOP_OFFSET ) ; \
59 Size = MAP_APPFONT ( 50 , 8 ) ; \
60 Text[ en-US ] = "~Male"; \
64 Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 47 + TOP_OFFSET ) ; \
65 Size = MAP_APPFONT ( 121 , 50 ) ; \
71 Pos = MAP_APPFONT ( 198 + LEFT_OFFSET , 48 + TOP_OFFSET ) ; \
72 Size = MAP_APPFONT ( 50 , 14 ) ; \
73 Text[ en-US ] = "N~ew..."; \
77 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 67 + TOP_OFFSET ) ; \
78 Size = MAP_APPFONT ( 225 , 8 ) ; \
79 Text[ en-US ] = "Address list field indicating a female recipient"; \
81 FixedText FT_FEMALECOLUMN \
83 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 80 + TOP_OFFSET ) ; \
84 Size = MAP_APPFONT ( 50 , 8 ) ; \
85 Text[ en-US ] = "Field name"; \
87 ListBox LB_FEMALECOLUMN \
89 Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 78 + TOP_OFFSET ) ; \
90 Size = MAP_APPFONT ( 121 , 50 ) ; \
95 FixedText FT_FEMALEFIELD \
97 Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 95 + TOP_OFFSET ) ; \
98 Size = MAP_APPFONT ( 50 , 8 ) ; \
99 Text[ en-US ] = "Field value"; \
101 ComboBox CB_FEMALEFIELD \
103 Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 93 + TOP_OFFSET ) ; \
104 Size = MAP_APPFONT ( 121 , 50 ) ; \
108 FixedText FT_NEUTRAL \
110 Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 113 + TOP_OFFSET ) ; \
111 Size = MAP_APPFONT ( 180 , 8 ) ; \
112 Text[ en-US ] = "General salutation"; \
114 ComboBox CB_NEUTRAL \
116 Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 124 + TOP_OFFSET ) ; \
117 Size = MAP_APPFONT ( 180 , 50 ) ; \
122 #define TOP_OFFSET 24
123 #define LEFT_OFFSET 6
125 TabPage DLG_MM_GREETINGS_PAGE
127 HelpID = HID_MM_GREETINGSPAGE ;
128 Size = MAP_APPFONT ( 260 , 250 ) ;
133 Pos = MAP_APPFONT ( 6 , 8 ) ;
134 Size = MAP_APPFONT ( 248 , 8 ) ;
135 Text [ en-US ] = "Create a salutation";
137 CheckBox CB_GREETINGLINE
139 HelpID = "sw:CheckBox:DLG_MM_GREETINGS_PAGE:CB_GREETINGLINE";
140 Pos = MAP_APPFONT ( 12 , 27 );
141 Size = MAP_APPFONT ( 242 , 10 );
142 Text[ en-US ] = "This document should contain a salutation";
147 Pos = MAP_APPFONT ( 12 , 168 ) ;
148 Size = MAP_APPFONT ( 242 , 8 ) ;
149 Text[ en-US ] = "Preview";
153 Pos = MAP_APPFONT ( 12 , 179 );
154 Size = MAP_APPFONT ( 186 , 21 ) ;
159 HelpID = "sw:PushButton:DLG_MM_GREETINGS_PAGE:PB_ASSIGN";
160 Pos = MAP_APPFONT ( 204 , 179 ) ;
161 Size = MAP_APPFONT ( 50 , 14 ) ;
162 Text[ en-US ] = "~Match fields...";
164 FixedText FI_DOCINDEX
166 Pos = MAP_APPFONT ( 121 , 206 ) ;
167 Size = MAP_APPFONT ( 50, 8 ) ;
170 ImageButton IB_PREVSET
172 HelpID = "sw:ImageButton:DLG_MM_GREETINGS_PAGE:IB_PREVSET";
173 Pos = MAP_APPFONT ( 177 , 204 ) ;
174 Size = MAP_APPFONT ( 10 , 10 ) ;
175 SYMBOL = IMAGEBUTTON_PREV;
176 QuickHelpText[ en-US ] = "Preview Previous Salutation";
178 ImageButton IB_NEXTSET
180 HelpID = "sw:ImageButton:DLG_MM_GREETINGS_PAGE:IB_NEXTSET";
181 Pos = MAP_APPFONT ( 188 , 204 ) ;
182 Size = MAP_APPFONT ( 10 , 10 ) ;
183 SYMBOL = IMAGEBUTTON_NEXT ;
184 QuickHelpText[ en-US ] = "Preview Next Salutation";
188 Text[ en-US ] = "Document: %1";
196 #define LEFT_OFFSET 0
197 ModalDialog DLG_MM_MAILBODY
199 HelpID = HID_MM_MAILBODY;
200 Size = MAP_APPFONT ( 254 , 238 ) ;
204 Text [ en-US ] = "E-Mail Message";
205 CheckBox CB_GREETINGLINE
207 HelpID = "sw:CheckBox:DLG_MM_MAILBODY:CB_GREETINGLINE";
208 Pos = MAP_APPFONT ( 6 , 3 ) ;
209 Size = MAP_APPFONT ( 242 , 10 ) ;
210 Text[ en-US ] = "This e-mail should contain a salutation";
215 Pos = MAP_APPFONT ( 12 , 140 ) ;
216 Size = MAP_APPFONT ( 174 , 8 ) ;
217 Text[ en-US ] = "Write your message here";
219 MultiLineEdit MLE_BODY
221 HelpID = "sw:MultiLineEdit:DLG_MM_MAILBODY:MLE_BODY";
222 Pos = MAP_APPFONT ( 12, 151 ) ;
223 Size = MAP_APPFONT ( 180 , 50 ) ;
231 FixedLine FL_SEPARATOR
233 Pos = MAP_APPFONT ( 0 , 207 ) ;
234 Size = MAP_APPFONT ( 254 , 8 ) ;
238 Pos = MAP_APPFONT ( 89, 218 ) ;
239 Size = MAP_APPFONT ( 50 , 14 ) ;
241 CancelButton PB_CANCEL
243 Pos = MAP_APPFONT ( 142 , 218 ) ;
244 Size = MAP_APPFONT ( 50 , 14 ) ;
248 Pos = MAP_APPFONT ( 198 , 218 ) ;
249 Size = MAP_APPFONT ( 50 , 14 ) ;
253 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */