xref: /AOO41X/main/sw/source/ui/dbui/mmaddressblockpage.src (revision 8660f102e0dedad7df9a3fe0f3e5d0f91bcf072b)
1*8660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8660f102SAndrew Rist * distributed with this work for additional information
6*8660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance
9*8660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8660f102SAndrew Rist * software distributed under the License is distributed on an
15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8660f102SAndrew Rist * KIND, either express or implied.  See the License for the
17*8660f102SAndrew Rist * specific language governing permissions and limitations
18*8660f102SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir#include <mmaddressblockpage.hrc>
24cdf0e10cSrcweir#include <dbui.hrc>
25cdf0e10cSrcweir#include <helpid.h>
26cdf0e10cSrcweir
27cdf0e10cSrcweir#define  _ST_NONE_LIST              \
28cdf0e10cSrcweir        StringList [en-US]=    \
29cdf0e10cSrcweir        {                           \
30cdf0e10cSrcweir            < "< none >" ; > ;        \
31cdf0e10cSrcweir        };
32cdf0e10cSrcweir
33cdf0e10cSrcweir
34cdf0e10cSrcweirTabPage DLG_MM_ADDRESSBLOCK_PAGE
35cdf0e10cSrcweir{
36cdf0e10cSrcweir    HelpID = HID_MM_ADDRESSBLOCKPAGE;
37cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 250 ) ;
38cdf0e10cSrcweir    Hide = TRUE ;
39cdf0e10cSrcweir
40cdf0e10cSrcweir    FixedText FI_HEADER
41cdf0e10cSrcweir    {
42cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
43cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
44cdf0e10cSrcweir        Text [ en-US ] = "Insert address block";
45cdf0e10cSrcweir    };
46cdf0e10cSrcweir
47cdf0e10cSrcweir    FixedText FI_FIRST
48cdf0e10cSrcweir    {
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 27 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 10 , 8 ) ;
51cdf0e10cSrcweir        Text[ en-US ] = "1.";
52cdf0e10cSrcweir    };
53cdf0e10cSrcweir    FixedText FI_ADDRESSLIST
54cdf0e10cSrcweir    {
55cdf0e10cSrcweir        Pos = MAP_APPFONT ( 16 , 27 ) ;
56cdf0e10cSrcweir        Size = MAP_APPFONT ( 135 , 25 ) ;
57cdf0e10cSrcweir        WordBreak = TRUE;
58cdf0e10cSrcweir        Text[ en-US ] = "Select the address list containing the address data you want to use. This data is needed to create the address block.";
59cdf0e10cSrcweir    };
60cdf0e10cSrcweir    PushButton      PB_ADDRESSLIST
61cdf0e10cSrcweir    {
62cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_ADDRESSBLOCK_PAGE:PB_ADDRESSLIST";
63cdf0e10cSrcweir        Pos = MAP_APPFONT ( 154 , 27 ) ;
64cdf0e10cSrcweir        Size = MAP_APPFONT ( 100 , 14 ) ;
65cdf0e10cSrcweir        Text[ en-US ] = "Select A~ddress List...";
66cdf0e10cSrcweir    };
67cdf0e10cSrcweir    String STR_CHANGEADDRESS
68cdf0e10cSrcweir    {
69cdf0e10cSrcweir        Text[ en-US ] = "Select Different A~ddress List...";
70cdf0e10cSrcweir    };
71cdf0e10cSrcweir    FixedText   FI_CURRENTADDRESS
72cdf0e10cSrcweir    {
73cdf0e10cSrcweir        Pos = MAP_APPFONT ( 154 , 44 ) ;
74cdf0e10cSrcweir        Size = MAP_APPFONT ( 100 , 8 ) ;
75cdf0e10cSrcweir        Hide = TRUE;
76cdf0e10cSrcweir        Text[ en-US ] = "Current address list: %1";
77cdf0e10cSrcweir    };
78cdf0e10cSrcweir    FixedLine FL_FIRST
79cdf0e10cSrcweir    {
80cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 55 ) ;
81cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
82cdf0e10cSrcweir    };
83cdf0e10cSrcweir    FixedText       FI_SECOND
84cdf0e10cSrcweir    {
85cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 66 ) ;
86cdf0e10cSrcweir        Size = MAP_APPFONT ( 10 , 8 ) ;
87cdf0e10cSrcweir        Text[ en-US ] = "2.";
88cdf0e10cSrcweir    };
89cdf0e10cSrcweir    CheckBox        CB_ADDRESS
90cdf0e10cSrcweir    {
91cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_MM_ADDRESSBLOCK_PAGE:CB_ADDRESS";
92cdf0e10cSrcweir        Pos = MAP_APPFONT ( 16 , 66 ) ;
93cdf0e10cSrcweir        Size = MAP_APPFONT ( 242 , 10 ) ;
94cdf0e10cSrcweir        Text[ en-US ] = "~This document shall contain an address block";
95cdf0e10cSrcweir    };
96cdf0e10cSrcweir    Window          WIN_SETTINGS
97cdf0e10cSrcweir    {
98cdf0e10cSrcweir        Border = TRUE;
99cdf0e10cSrcweir        Pos = MAP_APPFONT ( 24 , 79 ) ;
100cdf0e10cSrcweir        Size = MAP_APPFONT ( 164 , 45 ) ;
101cdf0e10cSrcweir    };
102cdf0e10cSrcweir    PushButton      PB_SETTINGS
103cdf0e10cSrcweir    {
104cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_ADDRESSBLOCK_PAGE:PB_SETTINGS";
105cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194 , 110 ) ;
106cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
107cdf0e10cSrcweir        Group = FALSE;
108cdf0e10cSrcweir        Text[ en-US ] = "~More...";
109cdf0e10cSrcweir    };
110cdf0e10cSrcweir    CheckBox CB_HIDE_EMPTY_PARA
111cdf0e10cSrcweir    {
112cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_MM_ADDRESSBLOCK_PAGE:CB_HIDE_EMPTY_PARA";
113cdf0e10cSrcweir        Pos = MAP_APPFONT ( 24 , 127 ) ;
114cdf0e10cSrcweir        Size = MAP_APPFONT ( 230 , 10 ) ;
115cdf0e10cSrcweir        Text[ en-US ] = "~Suppress lines with just empty fields";
116cdf0e10cSrcweir    };
117cdf0e10cSrcweir    FixedLine FL_SECOND
118cdf0e10cSrcweir    {
119cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 140 ) ;
120cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
121cdf0e10cSrcweir    };
122cdf0e10cSrcweir    FixedText FI_THIRD
123cdf0e10cSrcweir    {
124cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 151 ) ;
125cdf0e10cSrcweir        Size = MAP_APPFONT ( 10 , 8 ) ;
126cdf0e10cSrcweir        Text[ en-US ] = "3.";
127cdf0e10cSrcweir    };
128cdf0e10cSrcweir    FixedText FI_MATCH_FIELDS
129cdf0e10cSrcweir    {
130cdf0e10cSrcweir        Pos = MAP_APPFONT ( 16 , 151 ) ;
131cdf0e10cSrcweir        Size = MAP_APPFONT ( 175 , 16 ) ;
132cdf0e10cSrcweir        WordBreak = TRUE;
133cdf0e10cSrcweir        Text[ en-US ] = "Match the field name used in the mail merge to the column headers in your data source.";
134cdf0e10cSrcweir    };
135cdf0e10cSrcweir    PushButton      PB_ASSIGN
136cdf0e10cSrcweir    {
137cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_ADDRESSBLOCK_PAGE:PB_ASSIGN";
138cdf0e10cSrcweir        Pos = MAP_APPFONT ( 194 , 151 ) ;
139cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 14 ) ;
140cdf0e10cSrcweir        Text[ en-US ] = "Match ~Fields...";
141cdf0e10cSrcweir    };
142cdf0e10cSrcweir    FixedLine FL_THIRD
143cdf0e10cSrcweir    {
144cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 169 ) ;
145cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
146cdf0e10cSrcweir    };
147cdf0e10cSrcweir    FixedText FI_FOURTH
148cdf0e10cSrcweir    {
149cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 180 ) ;
150cdf0e10cSrcweir        Size = MAP_APPFONT ( 10 , 8 ) ;
151cdf0e10cSrcweir        Text[ en-US ] = "4.";
152cdf0e10cSrcweir    };
153cdf0e10cSrcweir    FixedText       FI_PREVIEW
154cdf0e10cSrcweir    {
155cdf0e10cSrcweir        Pos = MAP_APPFONT ( 16 , 180 ) ;
156cdf0e10cSrcweir        Size = MAP_APPFONT ( 228 , 8 ) ;
157cdf0e10cSrcweir        Text[ en-US ] = "Check if the address data matches correctly.";
158cdf0e10cSrcweir    };
159cdf0e10cSrcweir    Window          WIN_PREVIEW
160cdf0e10cSrcweir    {
161cdf0e10cSrcweir        Border = TRUE;
162cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 191 ) ;
163cdf0e10cSrcweir        Size = MAP_APPFONT ( 176 , 46 ) ;
164cdf0e10cSrcweir    };
165cdf0e10cSrcweir    FixedText       FI_DOCINDEX
166cdf0e10cSrcweir    {
167cdf0e10cSrcweir        Pos = MAP_APPFONT ( 111 , 239 ) ;
168cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 8 ) ;
169cdf0e10cSrcweir        Right = TRUE;
170cdf0e10cSrcweir    };
171cdf0e10cSrcweir    ImageButton     IB_PREVSET
172cdf0e10cSrcweir    {
173cdf0e10cSrcweir        HelpID = "sw:ImageButton:DLG_MM_ADDRESSBLOCK_PAGE:IB_PREVSET";
174cdf0e10cSrcweir        Pos = MAP_APPFONT ( 167 , 238 ) ;
175cdf0e10cSrcweir        Size = MAP_APPFONT ( 10 , 10 ) ;
176cdf0e10cSrcweir        SYMBOL = IMAGEBUTTON_PREV;
177cdf0e10cSrcweir        QuickHelpText[ en-US ] = "Preview Previous Address Block";
178cdf0e10cSrcweir    };
179cdf0e10cSrcweir    ImageButton     IB_NEXTSET
180cdf0e10cSrcweir    {
181cdf0e10cSrcweir        HelpID = "sw:ImageButton:DLG_MM_ADDRESSBLOCK_PAGE:IB_NEXTSET";
182cdf0e10cSrcweir        Pos = MAP_APPFONT ( 178 , 238 ) ;
183cdf0e10cSrcweir        Size = MAP_APPFONT ( 10 , 10 ) ;
184cdf0e10cSrcweir        SYMBOL = IMAGEBUTTON_NEXT ;
185cdf0e10cSrcweir        QuickHelpText[ en-US ] = "Preview Next Address Block";
186cdf0e10cSrcweir    };
187cdf0e10cSrcweir    String STR_DOCUMENT
188cdf0e10cSrcweir    {
189cdf0e10cSrcweir        Text[ en-US ] = "Document: %1";
190cdf0e10cSrcweir    };
191cdf0e10cSrcweir};
192cdf0e10cSrcweir
193cdf0e10cSrcweir/*-- 13.04.2004 16:07:28---------------------------------------------------
194cdf0e10cSrcweir
195cdf0e10cSrcweir  -----------------------------------------------------------------------*/
196cdf0e10cSrcweirModalDialog DLG_MM_SELECTADDRESSBLOCK
197cdf0e10cSrcweir{
198cdf0e10cSrcweir    OutputSize = TRUE ;
199cdf0e10cSrcweir    SVLook = TRUE ;
200cdf0e10cSrcweir    HelpID = HID_MM_SELECTADDRESSBLOCK;
201cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 219 ) ;
202cdf0e10cSrcweir    Moveable = TRUE ;
203cdf0e10cSrcweir
204cdf0e10cSrcweir    Text [ en-US ] = "Select Address Block";
205cdf0e10cSrcweir
206cdf0e10cSrcweir    FixedText       FT_SELECT
207cdf0e10cSrcweir    {
208cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
209cdf0e10cSrcweir        Size = MAP_APPFONT ( 150 , 8 ) ;
210cdf0e10cSrcweir        Text[ en-US ] = "~Select your preferred address block";
211cdf0e10cSrcweir    };
212cdf0e10cSrcweir    Window WIN_PREVIEW
213cdf0e10cSrcweir    {
214cdf0e10cSrcweir        Border = TRUE;
215cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 14 ) ;
216cdf0e10cSrcweir        Size = MAP_APPFONT ( 192 , 100 ) ;
217cdf0e10cSrcweir        DialogControl = TRUE;
218cdf0e10cSrcweir    };
219cdf0e10cSrcweir    PushButton      PB_NEW
220cdf0e10cSrcweir    {
221cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_SELECTADDRESSBLOCK:PB_NEW";
222cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204 , 14 ) ;
223cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
224cdf0e10cSrcweir        Text[ en-US ] = "~New...";
225cdf0e10cSrcweir    };
226cdf0e10cSrcweir    PushButton      PB_CUSTOMIZE
227cdf0e10cSrcweir    {
228cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_SELECTADDRESSBLOCK:PB_CUSTOMIZE";
229cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204 , 31 ) ;
230cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
231cdf0e10cSrcweir        Text[ en-US ] = "~Edit...";
232cdf0e10cSrcweir    };
233cdf0e10cSrcweir    PushButton      PB_DELETE
234cdf0e10cSrcweir    {
235cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_SELECTADDRESSBLOCK:PB_DELETE";
236cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204 , 48 ) ;
237cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
238cdf0e10cSrcweir        Group = FALSE;
239cdf0e10cSrcweir        Text[ en-US ] = "~Delete";
240cdf0e10cSrcweir    };
241cdf0e10cSrcweir
242cdf0e10cSrcweir    FixedText       FI_SETTINGS
243cdf0e10cSrcweir    {
244cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 120 ) ;
245cdf0e10cSrcweir        Size = MAP_APPFONT ( 150 , 8 ) ;
246cdf0e10cSrcweir        Text[ en-US ] = "Address block settings";
247cdf0e10cSrcweir    };
248cdf0e10cSrcweir    RadioButton     RB_NEVER
249cdf0e10cSrcweir    {
250cdf0e10cSrcweir        HelpID = "sw:RadioButton:DLG_MM_SELECTADDRESSBLOCK:RB_NEVER";
251cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 131 ) ;
252cdf0e10cSrcweir        Size = MAP_APPFONT ( 150 , 10 ) ;
253cdf0e10cSrcweir        Text[ en-US ] = "N~ever include the country/region";
254cdf0e10cSrcweir    };
255cdf0e10cSrcweir    RadioButton     RB_ALWAYS
256cdf0e10cSrcweir    {
257cdf0e10cSrcweir        HelpID = "sw:RadioButton:DLG_MM_SELECTADDRESSBLOCK:RB_ALWAYS";
258cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 145 ) ;
259cdf0e10cSrcweir        Size = MAP_APPFONT ( 150 , 10 ) ;
260cdf0e10cSrcweir        Text[ en-US ] = "~Always include the country/region";
261cdf0e10cSrcweir    };
262cdf0e10cSrcweir    RadioButton     RB_DEPENDENT
263cdf0e10cSrcweir    {
264cdf0e10cSrcweir        HelpID = "sw:RadioButton:DLG_MM_SELECTADDRESSBLOCK:RB_DEPENDENT";
265cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 159 ) ;
266cdf0e10cSrcweir        Size = MAP_APPFONT ( 150 , 10 ) ;
267cdf0e10cSrcweir        Text[ en-US ] = "Only ~include the country/region if it is not:";
268cdf0e10cSrcweir    };
269cdf0e10cSrcweir    Edit ED_COUNTRY
270cdf0e10cSrcweir    {
271cdf0e10cSrcweir        HelpID = "sw:Edit:DLG_MM_SELECTADDRESSBLOCK:ED_COUNTRY";
272cdf0e10cSrcweir        Pos = MAP_APPFONT ( 18 , 172 ) ;
273cdf0e10cSrcweir        Size = MAP_APPFONT ( 180 , 12 ) ;
274cdf0e10cSrcweir        Border = TRUE;
275cdf0e10cSrcweir    };
276cdf0e10cSrcweir
277cdf0e10cSrcweir    FixedLine FL_SEPARATOR
278cdf0e10cSrcweir    {
279cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 188 ) ;
280cdf0e10cSrcweir        Size = MAP_APPFONT ( 260 , 8 ) ;
281cdf0e10cSrcweir    };
282cdf0e10cSrcweir
283cdf0e10cSrcweir    OKButton        PB_OK
284cdf0e10cSrcweir    {
285cdf0e10cSrcweir        Pos = MAP_APPFONT ( 95 , 199 ) ;
286cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
287cdf0e10cSrcweir    };
288cdf0e10cSrcweir    CancelButton    PB_CANCEL
289cdf0e10cSrcweir    {
290cdf0e10cSrcweir        Pos = MAP_APPFONT ( 148 , 199 ) ;
291cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
292cdf0e10cSrcweir    };
293cdf0e10cSrcweir    HelpButton      PB_HELP
294cdf0e10cSrcweir    {
295cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204 , 199 ) ;
296cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
297cdf0e10cSrcweir    };
298cdf0e10cSrcweir};
299cdf0e10cSrcweir
300cdf0e10cSrcweir/*-- 13.04.2004 16:07:28---------------------------------------------------
301cdf0e10cSrcweir
302cdf0e10cSrcweir  -----------------------------------------------------------------------*/
303cdf0e10cSrcweir
304cdf0e10cSrcweir#define WORKAROUND\
305cdf0e10cSrcweir    Text [ en-US ] = "New Address Block";
306cdf0e10cSrcweir
307cdf0e10cSrcweir
308cdf0e10cSrcweirModalDialog DLG_MM_CUSTOMIZEADDRESSBLOCK
309cdf0e10cSrcweir{
310cdf0e10cSrcweir    OutputSize = TRUE ;
311cdf0e10cSrcweir    SVLook = TRUE ;
312cdf0e10cSrcweir    HelpID = HID_MM_CUSTOMIZEADDRESSBLOCK;
313cdf0e10cSrcweir    Size = MAP_APPFONT ( 320 , 176 ) ;
314cdf0e10cSrcweir    Moveable = TRUE ;
315cdf0e10cSrcweir
316cdf0e10cSrcweir    WORKAROUND
317cdf0e10cSrcweir
318cdf0e10cSrcweir    String ST_TITLE_EDIT
319cdf0e10cSrcweir    {
320cdf0e10cSrcweir		Text [ en-US ] = "Edit Address Block";
321cdf0e10cSrcweir    };
322cdf0e10cSrcweir
323cdf0e10cSrcweir    String ST_TITLE_MALE
324cdf0e10cSrcweir    {
325cdf0e10cSrcweir        Text [ en-US ] = "Custom Salutation (Male Recipients)";
326cdf0e10cSrcweir    };
327cdf0e10cSrcweir    String ST_TITLE_FEMALE
328cdf0e10cSrcweir    {
329cdf0e10cSrcweir        Text [ en-US ] = "Custom Salutation (Female Recipients)";
330cdf0e10cSrcweir    };
331cdf0e10cSrcweir    FixedText       FT_ADDRESSELEMENTS
332cdf0e10cSrcweir    {
333cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
334cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 8 ) ;
335cdf0e10cSrcweir        Text[ en-US ] = "Address ~elements" ;
336cdf0e10cSrcweir    };
337cdf0e10cSrcweir    String  ST_SALUTATIONELEMENTS
338cdf0e10cSrcweir    {
339cdf0e10cSrcweir        Text[ en-US ] = "Salutation e~lements" ;
340cdf0e10cSrcweir    };
341cdf0e10cSrcweir    Control LB_ADDRESSELEMENTS
342cdf0e10cSrcweir    {
343cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 14 ) ;
344cdf0e10cSrcweir        Size = MAP_APPFONT ( 68 , 121 ) ;
345cdf0e10cSrcweir        TabStop = TRUE;
346cdf0e10cSrcweir        Border = TRUE;
347cdf0e10cSrcweir    };
348cdf0e10cSrcweir    ImageButton     IB_INSERTFIELD
349cdf0e10cSrcweir    {
350cdf0e10cSrcweir        HelpID = "sw:ImageButton:DLG_MM_CUSTOMIZEADDRESSBLOCK:IB_INSERTFIELD";
351cdf0e10cSrcweir        Pos = MAP_APPFONT ( 80 , 29 ) ;
352cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 ) ;
353cdf0e10cSrcweir        Symbol = IMAGEBUTTON_ARROW_RIGHT;
354cdf0e10cSrcweir        QuickHelpText[ en-US ] = "Add to address";
355cdf0e10cSrcweir    };
356cdf0e10cSrcweir    String ST_INSERTSALUTATIONFIELD
357cdf0e10cSrcweir    {
358cdf0e10cSrcweir        Text[ en-US ] = "Add to salutation";
359cdf0e10cSrcweir    };
360cdf0e10cSrcweir    ImageButton     IB_REMOVEFIELD
361cdf0e10cSrcweir    {
362cdf0e10cSrcweir        HelpID = "sw:ImageButton:DLG_MM_CUSTOMIZEADDRESSBLOCK:IB_REMOVEFIELD";
363cdf0e10cSrcweir        Pos = MAP_APPFONT ( 80 , 46 ) ;
364cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 ) ;
365cdf0e10cSrcweir        Symbol = IMAGEBUTTON_ARROW_LEFT;
366cdf0e10cSrcweir        QuickHelpText[ en-US ] = "Remove from address";
367cdf0e10cSrcweir    };
368cdf0e10cSrcweir    String ST_REMOVESALUTATIONFIELD
369cdf0e10cSrcweir    {
370cdf0e10cSrcweir        Text[ en-US ] = "Remove from salutation";
371cdf0e10cSrcweir    };
372cdf0e10cSrcweir    FixedText       FT_DRAG
373cdf0e10cSrcweir    {
374cdf0e10cSrcweir        Pos = MAP_APPFONT ( 100 , 3 ) ;
375cdf0e10cSrcweir        Size = MAP_APPFONT ( 210 , 8 ) ;
376cdf0e10cSrcweir        Text[ en-US ] = "1. Drag address elements here" ;
377cdf0e10cSrcweir    };
378cdf0e10cSrcweir    String ST_DRAGSALUTATION
379cdf0e10cSrcweir    {
380cdf0e10cSrcweir        Text[ en-US ] = "1. ~Drag salutation elements into the box below" ;
381cdf0e10cSrcweir    };
382cdf0e10cSrcweir    MultiLineEdit ED_DRAG
383cdf0e10cSrcweir    {
384cdf0e10cSrcweir        HelpID = "sw:MultiLineEdit:DLG_MM_CUSTOMIZEADDRESSBLOCK:ED_DRAG";
385cdf0e10cSrcweir        Pos = MAP_APPFONT ( 106 , 14 ) ;
386cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 60 ) ;
387cdf0e10cSrcweir        Border = TRUE;
388cdf0e10cSrcweir    };
389cdf0e10cSrcweir    ImageButton     IB_UP
390cdf0e10cSrcweir    {
391cdf0e10cSrcweir        HelpID = "sw:ImageButton:DLG_MM_CUSTOMIZEADDRESSBLOCK:IB_UP";
392cdf0e10cSrcweir        Pos = MAP_APPFONT ( 285 , 14 ) ;
393cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 ) ;
394cdf0e10cSrcweir        Symbol = IMAGEBUTTON_ARROW_UP;
395cdf0e10cSrcweir        QuickHelpText[ en-US ] = "Move up";
396cdf0e10cSrcweir    };
397cdf0e10cSrcweir    ImageButton     IB_LEFT
398cdf0e10cSrcweir    {
399cdf0e10cSrcweir        HelpID = "sw:ImageButton:DLG_MM_CUSTOMIZEADDRESSBLOCK:IB_LEFT";
400cdf0e10cSrcweir        Pos = MAP_APPFONT ( 270 , 29 ) ;
401cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 ) ;
402cdf0e10cSrcweir        Symbol = IMAGEBUTTON_ARROW_LEFT;
403cdf0e10cSrcweir        QuickHelpText[ en-US ] = "Move left";
404cdf0e10cSrcweir    };
405cdf0e10cSrcweir    ImageButton     IB_RIGHT
406cdf0e10cSrcweir    {
407cdf0e10cSrcweir        HelpID = "sw:ImageButton:DLG_MM_CUSTOMIZEADDRESSBLOCK:IB_RIGHT";
408cdf0e10cSrcweir        Pos = MAP_APPFONT ( 300 , 29 ) ;
409cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 ) ;
410cdf0e10cSrcweir        Symbol = IMAGEBUTTON_ARROW_RIGHT;
411cdf0e10cSrcweir        QuickHelpText[ en-US ] = "Move right";
412cdf0e10cSrcweir    };
413cdf0e10cSrcweir    ImageButton     IB_DOWN
414cdf0e10cSrcweir    {
415cdf0e10cSrcweir        HelpID = "sw:ImageButton:DLG_MM_CUSTOMIZEADDRESSBLOCK:IB_DOWN";
416cdf0e10cSrcweir        Pos = MAP_APPFONT ( 285 , 48 ) ;
417cdf0e10cSrcweir        Size = MAP_APPFONT ( 14 , 14 ) ;
418cdf0e10cSrcweir        Symbol = IMAGEBUTTON_ARROW_DOWN;
419cdf0e10cSrcweir        QuickHelpText[ en-US ] = "Move down";
420cdf0e10cSrcweir    };
421cdf0e10cSrcweir    FixedText FT_FIELD
422cdf0e10cSrcweir    {
423cdf0e10cSrcweir        Pos = MAP_APPFONT ( 100 , 78 ) ;
424cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 8 ) ;
425cdf0e10cSrcweir        Hide = TRUE;
426cdf0e10cSrcweir        Text[ en-US ] = "2. Customi~ze salutation";
427cdf0e10cSrcweir    };
428cdf0e10cSrcweir    ComboBox  CB_FIELD
429cdf0e10cSrcweir    {
430cdf0e10cSrcweir        HelpID = "sw:ComboBox:DLG_MM_CUSTOMIZEADDRESSBLOCK:CB_FIELD";
431cdf0e10cSrcweir        Pos = MAP_APPFONT ( 106 , 89 ) ;
432cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 50 ) ;
433cdf0e10cSrcweir        Border = TRUE;
434cdf0e10cSrcweir        DropDown = TRUE;
435cdf0e10cSrcweir        Hide = TRUE;
436cdf0e10cSrcweir    };
437cdf0e10cSrcweir    FixedText       FI_PREVIEW
438cdf0e10cSrcweir    {
439cdf0e10cSrcweir        Pos = MAP_APPFONT ( 106 , 105 ) ;
440cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 8 ) ;
441cdf0e10cSrcweir        Text[ en-US ] = "Preview";
442cdf0e10cSrcweir    };
443cdf0e10cSrcweir    Window WIN_PREVIEW
444cdf0e10cSrcweir    {
445cdf0e10cSrcweir        Pos = MAP_APPFONT ( 106 , 116 ) ;
446cdf0e10cSrcweir        Size = MAP_APPFONT ( 160 , 19 ) ;
447cdf0e10cSrcweir        Border = TRUE;
448cdf0e10cSrcweir    };
449cdf0e10cSrcweir    FixedLine       FL_SEPARATOR
450cdf0e10cSrcweir    {
451cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 145 ) ;
452cdf0e10cSrcweir        Size = MAP_APPFONT ( 320 , 8 ) ;
453cdf0e10cSrcweir    };
454cdf0e10cSrcweir    OKButton        PB_OK
455cdf0e10cSrcweir    {
456cdf0e10cSrcweir        Pos = MAP_APPFONT ( 155 , 156 ) ;
457cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
458cdf0e10cSrcweir    };
459cdf0e10cSrcweir    CancelButton    PB_CANCEL
460cdf0e10cSrcweir    {
461cdf0e10cSrcweir        Pos = MAP_APPFONT ( 208 , 156 ) ;
462cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
463cdf0e10cSrcweir    };
464cdf0e10cSrcweir    HelpButton      PB_HELP
465cdf0e10cSrcweir    {
466cdf0e10cSrcweir        Pos = MAP_APPFONT ( 264 , 156 ) ;
467cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
468cdf0e10cSrcweir    };
469cdf0e10cSrcweir    String ST_SALUTATION
470cdf0e10cSrcweir    {
471cdf0e10cSrcweir        Text[ en-US ] = "Salutation";
472cdf0e10cSrcweir    };
473cdf0e10cSrcweir    String ST_PUNCTUATION
474cdf0e10cSrcweir    {
475cdf0e10cSrcweir        Text[ en-US ] = "Punctuation Mark";
476cdf0e10cSrcweir    };
477cdf0e10cSrcweir    String ST_TEXT
478cdf0e10cSrcweir    {
479cdf0e10cSrcweir        Text[ en-US ] = "Text";
480cdf0e10cSrcweir    };
481cdf0e10cSrcweir    StringArray RA_SALUTATION_MALE
482cdf0e10cSrcweir    {
483cdf0e10cSrcweir        ItemList =
484cdf0e10cSrcweir        {
485cdf0e10cSrcweir            < "Sehr geehrter Herr <2>," ; > ;
486cdf0e10cSrcweir            < "Lieber Herr <2>," ; > ;
487cdf0e10cSrcweir            < "Hallo Herr <2>," ; > ;
488cdf0e10cSrcweir            < "Hallo <1>," ; > ;
489cdf0e10cSrcweir        };
490cdf0e10cSrcweir        ItemList [en-US]=
491cdf0e10cSrcweir        {
492cdf0e10cSrcweir            < "Dear Mr. <2>," ; > ;
493cdf0e10cSrcweir            < "Mr. <2>," ; > ;
494cdf0e10cSrcweir            < "Dear <1>," ; > ;
495cdf0e10cSrcweir            < "Hello <1>," ; > ;
496cdf0e10cSrcweir        };
497cdf0e10cSrcweir    };
498cdf0e10cSrcweir    StringArray RA_SALUTATION_FEMALE
499cdf0e10cSrcweir    {
500cdf0e10cSrcweir        ItemList =
501cdf0e10cSrcweir        {
502cdf0e10cSrcweir            < "Sehr geehrte Frau <2>," ; > ;
503cdf0e10cSrcweir            < "Liebe Frau <2>," ; > ;
504cdf0e10cSrcweir            < "Hallo Frau <2>," ; > ;
505cdf0e10cSrcweir            < "Hallo <1>," ; > ;
506cdf0e10cSrcweir        };
507cdf0e10cSrcweir        ItemList [en-US]=
508cdf0e10cSrcweir        {
509cdf0e10cSrcweir            < "Dear Mrs. <2>," ; > ;
510cdf0e10cSrcweir            < "Ms. <2>," ; > ;
511cdf0e10cSrcweir            < "Dear <1>," ; > ;
512cdf0e10cSrcweir            < "Hello <1>," ; > ;
513cdf0e10cSrcweir        };
514cdf0e10cSrcweir    };
515cdf0e10cSrcweir    StringArray RA_PUNCTUATION
516cdf0e10cSrcweir    {
517cdf0e10cSrcweir        ItemList =
518cdf0e10cSrcweir        {
519cdf0e10cSrcweir            < "," ; > ;
520cdf0e10cSrcweir            < ":" ; > ;
521cdf0e10cSrcweir            < "!" ; > ;
522cdf0e10cSrcweir            < "(kein)" ; > ;
523cdf0e10cSrcweir        };
524cdf0e10cSrcweir        ItemList [en-US]=
525cdf0e10cSrcweir        {
526cdf0e10cSrcweir            < "," ; > ;
527cdf0e10cSrcweir            < ":" ; > ;
528cdf0e10cSrcweir            < "!" ; > ;
529cdf0e10cSrcweir            < "(none)" ; > ;
530cdf0e10cSrcweir        };
531cdf0e10cSrcweir    };
532cdf0e10cSrcweir};
533cdf0e10cSrcweir/*-- 13.04.2004 17:45:24---------------------------------------------------
534cdf0e10cSrcweir
535cdf0e10cSrcweir  -----------------------------------------------------------------------*/
536cdf0e10cSrcweirModalDialog DLG_MM_ASSIGNFIELDS
537cdf0e10cSrcweir{
538cdf0e10cSrcweir    OutputSize = TRUE ;
539cdf0e10cSrcweir    SVLook = TRUE ;
540cdf0e10cSrcweir    HelpID = HID_MM_ASSIGNFIELDS;
541cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 245 ) ;
542cdf0e10cSrcweir    Moveable = TRUE ;
543cdf0e10cSrcweir
544cdf0e10cSrcweir    Text [ en-US ] = "Match Fields";
545cdf0e10cSrcweir
546cdf0e10cSrcweir    FixedText FI_MATCHING
547cdf0e10cSrcweir    {
548cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
549cdf0e10cSrcweir        Size = MAP_APPFONT ( 240 , 20 ) ;
550cdf0e10cSrcweir        WordBreak = TRUE;
551cdf0e10cSrcweir        Text[ en-US ] = "Assign the fields from your data source to match the address elements." ;
552cdf0e10cSrcweir    };
553cdf0e10cSrcweir    String ST_SALUTATIONMATCHING
554cdf0e10cSrcweir    {
555cdf0e10cSrcweir        Text[ en-US ] = "Assign the fields from your data source to match the salutation elements." ;
556cdf0e10cSrcweir    };
557cdf0e10cSrcweir    Control CT_FIELDS
558cdf0e10cSrcweir    {
559cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 26 ) ;
560cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 120 ) ;
561cdf0e10cSrcweir        Border = TRUE;
562cdf0e10cSrcweir        DialogControl = TRUE;
563cdf0e10cSrcweir        ScrollBar SCR_1
564cdf0e10cSrcweir        {
565cdf0e10cSrcweir            Pos = MAP_APPFONT ( 238 , 10 ) ;
566cdf0e10cSrcweir            Size = MAP_APPFONT ( 10 , 110 ) ;
567cdf0e10cSrcweir        };
568cdf0e10cSrcweir        FixedText FT_FIELDS
569cdf0e10cSrcweir        {
570cdf0e10cSrcweir            Pos = MAP_APPFONT ( 6 , 6 ) ;
571cdf0e10cSrcweir            Size = MAP_APPFONT ( 70 , 8 ) ;
572cdf0e10cSrcweir        };
573cdf0e10cSrcweir        Window WIN_DATA
574cdf0e10cSrcweir        {
575cdf0e10cSrcweir            Pos = MAP_APPFONT ( 0 , 0 ) ;
576cdf0e10cSrcweir            Size = MAP_APPFONT ( 248 , 120 ) ;
577cdf0e10cSrcweir            DialogControl = TRUE;
578cdf0e10cSrcweir        };
579cdf0e10cSrcweir        ListBox LB_FIELDS
580cdf0e10cSrcweir        {
581cdf0e10cSrcweir            HelpID = "sw:ListBox:DLG_MM_ASSIGNFIELDS:LB_FIELDS";
582cdf0e10cSrcweir            Pos = MAP_APPFONT ( 83 , 4 ) ;
583cdf0e10cSrcweir            Size = MAP_APPFONT ( 74 , 50 ) ;
584cdf0e10cSrcweir            TabStop = TRUE;
585cdf0e10cSrcweir            Border = TRUE;
586cdf0e10cSrcweir            DropDown = TRUE;
587cdf0e10cSrcweir            _ST_NONE_LIST
588cdf0e10cSrcweir        };
589cdf0e10cSrcweir        FixedText FT_PREVIEW
590cdf0e10cSrcweir        {
591cdf0e10cSrcweir            Pos = MAP_APPFONT ( 165 , 6 ) ;
592cdf0e10cSrcweir            Size = MAP_APPFONT ( 70 , 8 ) ;
593cdf0e10cSrcweir        };
594cdf0e10cSrcweir    };
595cdf0e10cSrcweir    FixedText       FI_PREVIEW
596cdf0e10cSrcweir    {
597cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 152 ) ;
598cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
599cdf0e10cSrcweir        Text[ en-US ] = "Address block preview";
600cdf0e10cSrcweir    };
601cdf0e10cSrcweir    String ST_SALUTATIONPREVIEW
602cdf0e10cSrcweir    {
603cdf0e10cSrcweir        Text[ en-US ] = "Salutation preview";
604cdf0e10cSrcweir    };
605cdf0e10cSrcweir    Window WIN_PREVIEW
606cdf0e10cSrcweir    {
607cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 163 ) ;
608cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 45 ) ;
609cdf0e10cSrcweir        Border = TRUE;
610cdf0e10cSrcweir    };
611cdf0e10cSrcweir    FixedLine       FL_SEPARATOR
612cdf0e10cSrcweir    {
613cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0 , 214 ) ;
614cdf0e10cSrcweir        Size = MAP_APPFONT ( 260 , 8 ) ;
615cdf0e10cSrcweir    };
616cdf0e10cSrcweir    OKButton        PB_OK
617cdf0e10cSrcweir    {
618cdf0e10cSrcweir        Pos = MAP_APPFONT ( 95 , 225 ) ;
619cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
620cdf0e10cSrcweir    };
621cdf0e10cSrcweir    CancelButton    PB_CANCEL
622cdf0e10cSrcweir    {
623cdf0e10cSrcweir        Pos = MAP_APPFONT ( 148 , 225 ) ;
624cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
625cdf0e10cSrcweir    };
626cdf0e10cSrcweir    HelpButton      PB_HELP
627cdf0e10cSrcweir    {
628cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204 , 225 ) ;
629cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
630cdf0e10cSrcweir    };
631cdf0e10cSrcweir    String ST_ADDRESSELEMENT
632cdf0e10cSrcweir    {
633cdf0e10cSrcweir        Text[ en-US ] = "Address elements" ;
634cdf0e10cSrcweir    };
635cdf0e10cSrcweir    String ST_SALUTATIONELEMENT
636cdf0e10cSrcweir    {
637cdf0e10cSrcweir        Text[ en-US ] = "Salutation elements" ;
638cdf0e10cSrcweir    };
639cdf0e10cSrcweir    String ST_MATCHESTO
640cdf0e10cSrcweir    {
641cdf0e10cSrcweir        Text[ en-US ] = "Matches to field:" ;
642cdf0e10cSrcweir    };
643cdf0e10cSrcweir    String ST_PREVIEW
644cdf0e10cSrcweir    {
645cdf0e10cSrcweir        Text[ en-US ] = "Preview" ;
646cdf0e10cSrcweir    };
647cdf0e10cSrcweir    String ST_NONE
648cdf0e10cSrcweir    {
649cdf0e10cSrcweir        Text [en-US] = "< none >";
650cdf0e10cSrcweir    };
651cdf0e10cSrcweir};
652