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