update credits
[LibreOffice.git] / sw / source / ui / dbui / mmgreetingspage.src
blob311122e54f0489c8dc7f6c3a3b59fdbe7fbe4d38
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #include <mmgreetingspage.hrc>
20 #include <dbui.hrc>
21 #include <helpid.h>
23 #define _LB_FEMALECOLUMN                \
24         StringList [en-US]=             \
25         {                               \
26             < "< not available >" ; > ; \
27         };
30 #define GREETINGS_BODY  \
31     CheckBox CB_PERSONALIZED                                                    \
32     {                                                                               \
33         Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 17 + TOP_OFFSET ) ;                  \
34         Size = MAP_APPFONT ( 226 , 10 ) ;                                           \
35         Text[ en-US ] = "Insert personalized salutation";                    \
36     };                                                                              \
37     FixedText   FT_FEMALE                                                           \
38     {                                                                               \
39         Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 32 + TOP_OFFSET ) ;                  \
40         Size = MAP_APPFONT ( 50 , 8 ) ;                                             \
41         Text[ en-US ] = "~Female";                                              \
42     };                                                                              \
43     ListBox     LB_FEMALE                                                           \
44     {                                                                               \
45         Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 30 + TOP_OFFSET ) ;                                             \
46         Size = MAP_APPFONT ( 121 , 50 ) ;                                           \
47         DropDown = TRUE;                                                            \
48         Border = TRUE;                                                              \
49     };                                                                              \
50     PushButton  PB_FEMALE                                                           \
51     {                                                                               \
52         Pos = MAP_APPFONT ( 198 + LEFT_OFFSET , 29 + TOP_OFFSET ) ;                                            \
53         Size = MAP_APPFONT ( 50 , 14 ) ;                                            \
54         Text[ en-US ] = "~New...";                                              \
55     };                                                                              \
56     FixedText   FT_MALE                                                             \
57     {                                                                               \
58         Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 49 + TOP_OFFSET ) ;                                             \
59         Size = MAP_APPFONT ( 50 , 8 ) ;                                             \
60         Text[ en-US ] = "~Male";                                                \
61     };                                                                              \
62     ListBox     LB_MALE                                                             \
63     {                                                                               \
64         Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 47 + TOP_OFFSET ) ;                                             \
65         Size = MAP_APPFONT ( 121 , 50 ) ;                                           \
66         DropDown = TRUE;                                                            \
67         Border = TRUE;                                                              \
68     };                                                                              \
69     PushButton  PB_MALE                                                             \
70     {                                                                               \
71         Pos = MAP_APPFONT ( 198 + LEFT_OFFSET , 48 + TOP_OFFSET ) ;                                            \
72         Size = MAP_APPFONT ( 50 , 14 ) ;                                            \
73         Text[ en-US ] = "N~ew...";                                              \
74     };                                                                              \
75     FixedText   FI_FEMALE                                                       \
76     {                                                                               \
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";     \
80     };                                                                              \
81     FixedText   FT_FEMALECOLUMN                                                     \
82     {                                                                               \
83         Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 80 + TOP_OFFSET ) ;                  \
84         Size = MAP_APPFONT ( 50 , 8 ) ;                                            \
85         Text[ en-US ] = "Field name";           \
86     };                                                                              \
87     ListBox LB_FEMALECOLUMN                                                         \
88     {                                                                               \
89         Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 78 + TOP_OFFSET ) ;                  \
90         Size = MAP_APPFONT ( 121 , 50 ) ;                                           \
91         DropDown = TRUE;                                                            \
92         Border = TRUE;                                                              \
93         _LB_FEMALECOLUMN                                                           \
94     };                                                                              \
95     FixedText   FT_FEMALEFIELD                                                       \
96     {                                                                               \
97         Pos = MAP_APPFONT ( 18 + LEFT_OFFSET , 95 + TOP_OFFSET ) ;                  \
98         Size = MAP_APPFONT ( 50 , 8 ) ;                                            \
99         Text[ en-US ] = "Field value";           \
100     };                                                                              \
101     ComboBox CB_FEMALEFIELD                                                         \
102     {                                                                               \
103         Pos = MAP_APPFONT ( 71 + LEFT_OFFSET , 93 + TOP_OFFSET ) ;                                             \
104         Size = MAP_APPFONT ( 121 , 50 ) ;                                           \
105         DropDown = TRUE;                                                            \
106         Border = TRUE;                                                              \
107     };                                                                              \
108     FixedText   FT_NEUTRAL                                                       \
109     {                                                                               \
110         Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 113 + TOP_OFFSET ) ;                                             \
111         Size = MAP_APPFONT ( 180 , 8 ) ;                                            \
112         Text[ en-US ] = "General salutation";           \
113     };                                                                              \
114     ComboBox     CB_NEUTRAL                                                         \
115     {                                                                               \
116         Pos = MAP_APPFONT ( 12 + LEFT_OFFSET , 124 + TOP_OFFSET ) ;                 \
117         Size = MAP_APPFONT ( 180 , 50 ) ;                                           \
118         DropDown = TRUE;                                                            \
119         Border = TRUE;                                                              \
120     };
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 ) ;
129     Hide = TRUE ;
131     FixedText FI_HEADER
132     {
133         Pos = MAP_APPFONT ( 6 , 8 ) ;
134         Size = MAP_APPFONT ( 248 , 8 ) ;
135         Text [ en-US ] = "Create a salutation";
136     };
137     CheckBox    CB_GREETINGLINE
138     {
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";
143     };
144     GREETINGS_BODY
145     FixedText       FI_PREVIEW
146     {
147         Pos = MAP_APPFONT ( 12 , 168 ) ;
148         Size = MAP_APPFONT ( 242 , 8 ) ;
149         Text[ en-US ] = "Preview";
150     };
151     Window          WIN_PREVIEW
152     {
153         Pos = MAP_APPFONT ( 12 , 179 );
154         Size = MAP_APPFONT ( 186 , 21 ) ;
155         Border = TRUE;
156     };
157     PushButton      PB_ASSIGN
158     {
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...";
163     };
164     FixedText       FI_DOCINDEX
165     {
166         Pos = MAP_APPFONT ( 121 , 206 ) ;
167         Size = MAP_APPFONT (  50, 8 ) ;
168         Right = TRUE;
169     };
170     ImageButton     IB_PREVSET
171     {
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";
177     };
178     ImageButton     IB_NEXTSET
179     {
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";
185     };
186     String STR_DOCUMENT
187     {
188         Text[ en-US ] = "Document: %1";
189     };
192 #undef TOP_OFFSET
193 #undef LEFT_OFFSET
195 #define TOP_OFFSET 0
196 #define LEFT_OFFSET 0
197 ModalDialog DLG_MM_MAILBODY
199     HelpID = HID_MM_MAILBODY;
200     Size = MAP_APPFONT ( 254 , 238 ) ;
201     OutputSize = TRUE ;
202     SVLook = TRUE ;
203     Moveable = TRUE ;
204     Text [ en-US ] = "E-Mail Message";
205     CheckBox    CB_GREETINGLINE
206     {
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";
211     };
212     GREETINGS_BODY
213     FixedText           FT_BODY
214     {
215         Pos = MAP_APPFONT ( 12 , 140 ) ;
216         Size = MAP_APPFONT ( 174 , 8 ) ;
217         Text[ en-US ] = "Write your message here";
218     };
219     MultiLineEdit MLE_BODY
220     {
221         HelpID = "sw:MultiLineEdit:DLG_MM_MAILBODY:MLE_BODY";
222         Pos = MAP_APPFONT ( 12,   151 ) ;
223         Size = MAP_APPFONT ( 180 , 50 ) ;
224         Border = TRUE;
225         TabStop = TRUE ;
226         Left = TRUE ;
227         VScroll = TRUE ;
228         HScroll = TRUE ;
229         IgnoreTab = TRUE;
230     };
231     FixedLine           FL_SEPARATOR
232     {
233         Pos = MAP_APPFONT ( 0 , 207 ) ;
234         Size = MAP_APPFONT ( 254 , 8 ) ;
235     };
236     OKButton            PB_OK
237     {
238         Pos = MAP_APPFONT ( 89, 218 ) ;
239         Size = MAP_APPFONT ( 50 , 14 ) ;
240     };
241     CancelButton        PB_CANCEL
242     {
243         Pos = MAP_APPFONT ( 142 , 218 ) ;
244         Size = MAP_APPFONT ( 50 , 14 ) ;
245     };
246     HelpButton          PB_HELP
247     {
248         Pos = MAP_APPFONT ( 198 , 218 ) ;
249         Size = MAP_APPFONT ( 50 , 14 ) ;
250     };
253 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */