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