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
28*cdf0e10cSrcweir#ifndef DBAUI_WIZARD_PAGES_HRC
29*cdf0e10cSrcweir#include "WizardPages.hrc"
30*cdf0e10cSrcweir#endif
31*cdf0e10cSrcweir#ifndef _DBU_MISC_HRC_
32*cdf0e10cSrcweir#include "dbu_misc.hrc"
33*cdf0e10cSrcweir#endif
34*cdf0e10cSrcweir#ifndef _DBA_DBACCESS_HELPID_HRC_
35*cdf0e10cSrcweir#include "dbaccess_helpid.hrc"
36*cdf0e10cSrcweir#endif
37*cdf0e10cSrcweir
38*cdf0e10cSrcweir#include "dbaccess_slotid.hrc"
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir#define WINDOW_SIZE_X   276
41*cdf0e10cSrcweir#define WINDOW_SIZE_Y	185
42*cdf0e10cSrcweir
43*cdf0e10cSrcweir#define WINDOW_BORDER_X	 12
44*cdf0e10cSrcweir#define WINDOW_BORDER_Y	 14
45*cdf0e10cSrcweir
46*cdf0e10cSrcweir#define BUTTON_SIZE_X	 50
47*cdf0e10cSrcweir#define BUTTON_SIZE_Y	 14
48*cdf0e10cSrcweir
49*cdf0e10cSrcweirString STR_WIZ_COLUMN_SELECT_TITEL
50*cdf0e10cSrcweir{
51*cdf0e10cSrcweir	Text [ en-US ] = "Apply columns";
52*cdf0e10cSrcweir};
53*cdf0e10cSrcweir
54*cdf0e10cSrcweirString STR_WIZ_TYPE_SELECT_TITEL
55*cdf0e10cSrcweir{
56*cdf0e10cSrcweir	Text [ en-US ] = "Type formatting";
57*cdf0e10cSrcweir};
58*cdf0e10cSrcweir
59*cdf0e10cSrcweirString STR_WIZ_PKEY_ALREADY_DEFINED
60*cdf0e10cSrcweir{
61*cdf0e10cSrcweir	Text [ en-US ] = "The following fields have already been set as primary keys:\n";
62*cdf0e10cSrcweir};
63*cdf0e10cSrcweir
64*cdf0e10cSrcweirString STR_WIZ_NAME_MATCHING_TITEL
65*cdf0e10cSrcweir{
66*cdf0e10cSrcweir	Text [ en-US ]	= "Assign columns" ;
67*cdf0e10cSrcweir};
68*cdf0e10cSrcweir
69*cdf0e10cSrcweirModalDialog WIZ_RTFCOPYTABLE
70*cdf0e10cSrcweir{
71*cdf0e10cSrcweir    HelpID = "dbaccess:ModalDialog:WIZ_RTFCOPYTABLE";
72*cdf0e10cSrcweir
73*cdf0e10cSrcweir	Text [ en-US ] = "Copy RTF Table" ;
74*cdf0e10cSrcweir
75*cdf0e10cSrcweir
76*cdf0e10cSrcweir	OutputSize		= TRUE ;
77*cdf0e10cSrcweir	SVLook			= TRUE ;
78*cdf0e10cSrcweir	Moveable		= TRUE ;
79*cdf0e10cSrcweir	Closeable		= TRUE ;
80*cdf0e10cSrcweir	Hide			= TRUE;
81*cdf0e10cSrcweir
82*cdf0e10cSrcweir    HelpButton PB_HELP
83*cdf0e10cSrcweir	{
84*cdf0e10cSrcweir		TabStop				= TRUE ;
85*cdf0e10cSrcweir		Size				= MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
86*cdf0e10cSrcweir		Text [ en-US ] = "~Help";
87*cdf0e10cSrcweir	};
88*cdf0e10cSrcweir	CancelButton PB_CANCEL
89*cdf0e10cSrcweir	{
90*cdf0e10cSrcweir		TabStop				= TRUE ;
91*cdf0e10cSrcweir		Size				= MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
92*cdf0e10cSrcweir		Text [ en-US ] = "~Cancel";
93*cdf0e10cSrcweir	};
94*cdf0e10cSrcweir	PushButton PB_PREV
95*cdf0e10cSrcweir	{
96*cdf0e10cSrcweir	    HelpID = "dbaccess:PushButton:WIZ_RTFCOPYTABLE:PB_PREV";
97*cdf0e10cSrcweir		TabStop				= TRUE ;
98*cdf0e10cSrcweir		Size				= MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
99*cdf0e10cSrcweir		Text [ en-US ] = "< ~Back";
100*cdf0e10cSrcweir	};
101*cdf0e10cSrcweir	PushButton PB_NEXT
102*cdf0e10cSrcweir	{
103*cdf0e10cSrcweir	    HelpID = "dbaccess:PushButton:WIZ_RTFCOPYTABLE:PB_NEXT";
104*cdf0e10cSrcweir		TabStop				= TRUE ;
105*cdf0e10cSrcweir		Size				= MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
106*cdf0e10cSrcweir		Text [ en-US ] = "~Next>";
107*cdf0e10cSrcweir	};
108*cdf0e10cSrcweir	OKButton PB_OK
109*cdf0e10cSrcweir	{
110*cdf0e10cSrcweir		TabStop				= TRUE ;
111*cdf0e10cSrcweir		Size				= MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
112*cdf0e10cSrcweir		Text [ en-US ] = "C~reate";
113*cdf0e10cSrcweir	};
114*cdf0e10cSrcweir
115*cdf0e10cSrcweir};
116*cdf0e10cSrcweir
117*cdf0e10cSrcweir//==================================================================
118*cdf0e10cSrcweir // TAB_WIZ_COLUMN_SELECT
119*cdf0e10cSrcweir //==================================================================
120*cdf0e10cSrcweirTabPage TAB_WIZ_COLUMN_SELECT
121*cdf0e10cSrcweir{
122*cdf0e10cSrcweir	SVLook	= TRUE ;
123*cdf0e10cSrcweir	Size	= MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
124*cdf0e10cSrcweir
125*cdf0e10cSrcweir	HelpId	= HID_TAB_WIZ_COLUMN_SELECT;
126*cdf0e10cSrcweir	Hide	= TRUE;
127*cdf0e10cSrcweir
128*cdf0e10cSrcweir    FixedLine FL_COLUMN_SELECT
129*cdf0e10cSrcweir	{
130*cdf0e10cSrcweir		Pos					= MAP_APPFONT ( 6 , 3  ) ;
131*cdf0e10cSrcweir        Size                = MAP_APPFONT ( WINDOW_SIZE_X - 12 , 8 ) ;
132*cdf0e10cSrcweir		Text [ en-US ] = "Existing columns" ;
133*cdf0e10cSrcweir	};
134*cdf0e10cSrcweir
135*cdf0e10cSrcweir	MultiListBox LB_ORG_COLUMN_NAMES
136*cdf0e10cSrcweir	{
137*cdf0e10cSrcweir	    HelpID = "dbaccess:MultiListBox:TAB_WIZ_COLUMN_SELECT:LB_ORG_COLUMN_NAMES";
138*cdf0e10cSrcweir		Border				= TRUE ;
139*cdf0e10cSrcweir		Pos					= MAP_APPFONT ( WINDOW_BORDER_X , WINDOW_BORDER_Y ) ;
140*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 95 , WINDOW_SIZE_Y - 23 ) ;
141*cdf0e10cSrcweir		TabStop				= TRUE ;
142*cdf0e10cSrcweir		HScroll             = TRUE;
143*cdf0e10cSrcweir		VScroll             = TRUE;
144*cdf0e10cSrcweir		AutoHScroll			= TRUE;
145*cdf0e10cSrcweir		SimpleMode			= TRUE;
146*cdf0e10cSrcweir		Sort				= FALSE;
147*cdf0e10cSrcweir	};
148*cdf0e10cSrcweir    ImageButton IB_COLUMN_RH
149*cdf0e10cSrcweir	{
150*cdf0e10cSrcweir        HelpID = "dbaccess:ImageButton:TAB_WIZ_COLUMN_SELECT:IB_COLUMN_RH";
151*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( WINDOW_BORDER_X + 116 , WINDOW_BORDER_Y + 25 ) ;
152*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 20 , 14 ) ;
153*cdf0e10cSrcweir		TabStop				= TRUE ;
154*cdf0e10cSrcweir		ButtonImage = Image
155*cdf0e10cSrcweir		{
156*cdf0e10cSrcweir			ImageBitmap = Bitmap
157*cdf0e10cSrcweir			{
158*cdf0e10cSrcweir                File = "one_right.bmp" ;
159*cdf0e10cSrcweir			};
160*cdf0e10cSrcweir			MaskColor = Color
161*cdf0e10cSrcweir			{
162*cdf0e10cSrcweir				Red   = 0xFFFF;
163*cdf0e10cSrcweir				Green = 0x0000;
164*cdf0e10cSrcweir				Blue  = 0xFFFF;
165*cdf0e10cSrcweir			};
166*cdf0e10cSrcweir		};
167*cdf0e10cSrcweir	};
168*cdf0e10cSrcweir    ImageButton IB_COLUMNS_RH
169*cdf0e10cSrcweir	{
170*cdf0e10cSrcweir        HelpID = "dbaccess:ImageButton:TAB_WIZ_COLUMN_SELECT:IB_COLUMNS_RH";
171*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( WINDOW_BORDER_X + 116 , WINDOW_BORDER_Y + 45 ) ;
172*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 20 , 14 ) ;
173*cdf0e10cSrcweir		TabStop				= TRUE;
174*cdf0e10cSrcweir		DefButton           = TRUE;
175*cdf0e10cSrcweir		ButtonImage = Image
176*cdf0e10cSrcweir		{
177*cdf0e10cSrcweir			ImageBitmap = Bitmap
178*cdf0e10cSrcweir			{
179*cdf0e10cSrcweir                File = "all_right.bmp" ;
180*cdf0e10cSrcweir			};
181*cdf0e10cSrcweir			MaskColor = Color
182*cdf0e10cSrcweir			{
183*cdf0e10cSrcweir				Red   = 0xFFFF;
184*cdf0e10cSrcweir				Green = 0x0000;
185*cdf0e10cSrcweir				Blue  = 0xFFFF;
186*cdf0e10cSrcweir			};
187*cdf0e10cSrcweir		};
188*cdf0e10cSrcweir	};
189*cdf0e10cSrcweir    ImageButton IB_COLUMN_LH
190*cdf0e10cSrcweir	{
191*cdf0e10cSrcweir        HelpID = "dbaccess:ImageButton:TAB_WIZ_COLUMN_SELECT:IB_COLUMN_LH";
192*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( WINDOW_BORDER_X + 116 , WINDOW_BORDER_Y + 65) ;
193*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 20 , 14 ) ;
194*cdf0e10cSrcweir		TabStop				= TRUE ;
195*cdf0e10cSrcweir		ButtonImage = Image
196*cdf0e10cSrcweir		{
197*cdf0e10cSrcweir			ImageBitmap = Bitmap
198*cdf0e10cSrcweir			{
199*cdf0e10cSrcweir                File = "one_left.bmp" ;
200*cdf0e10cSrcweir			};
201*cdf0e10cSrcweir			MaskColor = Color
202*cdf0e10cSrcweir			{
203*cdf0e10cSrcweir				Red   = 0xFFFF;
204*cdf0e10cSrcweir				Green = 0x0000;
205*cdf0e10cSrcweir				Blue  = 0xFFFF;
206*cdf0e10cSrcweir			};
207*cdf0e10cSrcweir		};
208*cdf0e10cSrcweir	};
209*cdf0e10cSrcweir    ImageButton IB_COLUMNS_LH
210*cdf0e10cSrcweir	{
211*cdf0e10cSrcweir        HelpID = "dbaccess:ImageButton:TAB_WIZ_COLUMN_SELECT:IB_COLUMNS_LH";
212*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( WINDOW_BORDER_X + 116 , WINDOW_BORDER_Y + 85) ;
213*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 20 , 14 ) ;
214*cdf0e10cSrcweir		TabStop				= TRUE ;
215*cdf0e10cSrcweir		ButtonImage = Image
216*cdf0e10cSrcweir		{
217*cdf0e10cSrcweir			ImageBitmap = Bitmap
218*cdf0e10cSrcweir			{
219*cdf0e10cSrcweir                File = "all_left.bmp" ;
220*cdf0e10cSrcweir			};
221*cdf0e10cSrcweir			MaskColor = Color
222*cdf0e10cSrcweir			{
223*cdf0e10cSrcweir				Red   = 0xFFFF;
224*cdf0e10cSrcweir				Green = 0x0000;
225*cdf0e10cSrcweir				Blue  = 0xFFFF;
226*cdf0e10cSrcweir			};
227*cdf0e10cSrcweir		};
228*cdf0e10cSrcweir	};
229*cdf0e10cSrcweir
230*cdf0e10cSrcweir	MultiListBox LB_NEW_COLUMN_NAMES
231*cdf0e10cSrcweir	{
232*cdf0e10cSrcweir	    HelpID = "dbaccess:MultiListBox:TAB_WIZ_COLUMN_SELECT:LB_NEW_COLUMN_NAMES";
233*cdf0e10cSrcweir		Border				= TRUE ;
234*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( WINDOW_BORDER_X + 157, WINDOW_BORDER_Y) ;
235*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 95 , WINDOW_SIZE_Y - 23 ) ;
236*cdf0e10cSrcweir		TabStop				= TRUE ;
237*cdf0e10cSrcweir		HScroll             = TRUE;
238*cdf0e10cSrcweir		VScroll             = TRUE;
239*cdf0e10cSrcweir		AutoHScroll			= TRUE;
240*cdf0e10cSrcweir		SimpleMode			= TRUE;
241*cdf0e10cSrcweir		Sort				= FALSE;
242*cdf0e10cSrcweir	};
243*cdf0e10cSrcweir};
244*cdf0e10cSrcweir
245*cdf0e10cSrcweir//==================================================================
246*cdf0e10cSrcweir // TAB_WIZ_TYPE_SELECT
247*cdf0e10cSrcweir //==================================================================
248*cdf0e10cSrcweirTabPage TAB_WIZ_TYPE_SELECT
249*cdf0e10cSrcweir{
250*cdf0e10cSrcweir	SVLook	= TRUE ;
251*cdf0e10cSrcweir	Size	= MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
252*cdf0e10cSrcweir
253*cdf0e10cSrcweir	HelpId	= HID_TAB_WIZ_TYPE_SELECT;
254*cdf0e10cSrcweir	Hide	= TRUE;
255*cdf0e10cSrcweir
256*cdf0e10cSrcweir	MultiListBox LB_NEW_COLUMN_NAMES
257*cdf0e10cSrcweir	{
258*cdf0e10cSrcweir	    HelpID = "dbaccess:MultiListBox:TAB_WIZ_TYPE_SELECT:LB_NEW_COLUMN_NAMES";
259*cdf0e10cSrcweir		Border				= TRUE ;
260*cdf0e10cSrcweir		Pos					= MAP_APPFONT ( 6 , 6 ) ;
261*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 87 , WINDOW_SIZE_Y - 12 ) ;
262*cdf0e10cSrcweir		TabStop				= TRUE ;
263*cdf0e10cSrcweir		HScroll             = TRUE;
264*cdf0e10cSrcweir		VScroll             = TRUE;
265*cdf0e10cSrcweir		AutoHScroll			= TRUE;
266*cdf0e10cSrcweir		SimpleMode			= TRUE;
267*cdf0e10cSrcweir	};
268*cdf0e10cSrcweir
269*cdf0e10cSrcweir    FixedLine FL_COLUMN_NAME
270*cdf0e10cSrcweir	{
271*cdf0e10cSrcweir		Pos					= MAP_APPFONT ( 99 , 3  ) ;
272*cdf0e10cSrcweir        Size                = MAP_APPFONT ( WINDOW_SIZE_X -  105, 8 ) ;
273*cdf0e10cSrcweir		Text [ en-US ] = "Column information" ;
274*cdf0e10cSrcweir	};
275*cdf0e10cSrcweir
276*cdf0e10cSrcweir	TabPage CONTROL_CONTAINER
277*cdf0e10cSrcweir	{
278*cdf0e10cSrcweir	    HelpID = "dbaccess:TabPage:CONTROL_CONTAINER";
279*cdf0e10cSrcweir		Pos					= MAP_APPFONT ( 102 , WINDOW_BORDER_Y  ) ;
280*cdf0e10cSrcweir		Size				= MAP_APPFONT ( WINDOW_SIZE_X -  111, WINDOW_SIZE_Y - WINDOW_BORDER_Y - 67 );
281*cdf0e10cSrcweir		SVLook              = TRUE;
282*cdf0e10cSrcweir		DialogControl       = TRUE;
283*cdf0e10cSrcweir	};
284*cdf0e10cSrcweir
285*cdf0e10cSrcweir    FixedLine FL_AUTO_TYPE
286*cdf0e10cSrcweir	{
287*cdf0e10cSrcweir		Pos					= MAP_APPFONT ( 99 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 41  ) ;
288*cdf0e10cSrcweir        Size                = MAP_APPFONT ( WINDOW_SIZE_X - 105, 8 ) ;
289*cdf0e10cSrcweir		Text [ en-US ] = "Automatic type recognition" ;
290*cdf0e10cSrcweir	};
291*cdf0e10cSrcweir
292*cdf0e10cSrcweir	FixedText FT_AUTO
293*cdf0e10cSrcweir	{
294*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 105 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 28 ) ;
295*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 40 , 8 ) ;
296*cdf0e10cSrcweir		Text [ en-US ] = "Lines (ma~x)";
297*cdf0e10cSrcweir	};
298*cdf0e10cSrcweir
299*cdf0e10cSrcweir	NumericField ET_AUTO
300*cdf0e10cSrcweir	{
301*cdf0e10cSrcweir	    HelpID = "dbaccess:NumericField:TAB_WIZ_TYPE_SELECT:ET_AUTO";
302*cdf0e10cSrcweir		Border				= TRUE ;
303*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 151 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 29) ;
304*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 40 , 12 ) ;
305*cdf0e10cSrcweir		TabStop				= TRUE ;
306*cdf0e10cSrcweir	};
307*cdf0e10cSrcweir
308*cdf0e10cSrcweir	PushButton PB_AUTO
309*cdf0e10cSrcweir	{
310*cdf0e10cSrcweir	    HelpID = "dbaccess:PushButton:TAB_WIZ_TYPE_SELECT:PB_AUTO";
311*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( WINDOW_SIZE_X - 62 , WINDOW_SIZE_Y - WINDOW_BORDER_Y - 30 ) ;
312*cdf0e10cSrcweir		Size				= MAP_APPFONT ( BUTTON_SIZE_X , BUTTON_SIZE_Y ) ;
313*cdf0e10cSrcweir		TabStop				= TRUE ;
314*cdf0e10cSrcweir		Text				= "~Auto" ;
315*cdf0e10cSrcweir	};
316*cdf0e10cSrcweir};
317*cdf0e10cSrcweir
318*cdf0e10cSrcweirMenu RID_SBA_RTF_PKEYPOPUP
319*cdf0e10cSrcweir{
320*cdf0e10cSrcweir	ItemList =
321*cdf0e10cSrcweir	{
322*cdf0e10cSrcweir		MenuItem
323*cdf0e10cSrcweir		{
324*cdf0e10cSrcweir			Identifier		= SID_TABLEDESIGN_TABED_PRIMARYKEY ;
325*cdf0e10cSrcweir			HelpID			= HID_TABLEDESIGN_TABED_PRIMARYKEY ;
326*cdf0e10cSrcweir			Checkable		= TRUE ;
327*cdf0e10cSrcweir			Text [ en-US ] = "Primary Key" ;
328*cdf0e10cSrcweir		};
329*cdf0e10cSrcweir	};
330*cdf0e10cSrcweir};
331*cdf0e10cSrcweir//==================================================================
332*cdf0e10cSrcweir // TAB_WIZ_NAME_MATCHING
333*cdf0e10cSrcweir //==================================================================
334*cdf0e10cSrcweirTabPage TAB_WIZ_NAME_MATCHING
335*cdf0e10cSrcweir{
336*cdf0e10cSrcweir    HelpID = "dbaccess:TabPage:TAB_WIZ_NAME_MATCHING";
337*cdf0e10cSrcweir	SVLook	= TRUE ;
338*cdf0e10cSrcweir	Size	= MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
339*cdf0e10cSrcweir
340*cdf0e10cSrcweir	Hide	= TRUE;
341*cdf0e10cSrcweir
342*cdf0e10cSrcweir	FixedText FT_TABLE_LEFT
343*cdf0e10cSrcweir	{
344*cdf0e10cSrcweir		Pos					= MAP_APPFONT ( 52 , 6  ) ;
345*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 75 , 20) ;
346*cdf0e10cSrcweir		Text [ en-US ] = "Source table: \n";
347*cdf0e10cSrcweir	};
348*cdf0e10cSrcweir
349*cdf0e10cSrcweir	FixedText FT_TABLE_RIGHT
350*cdf0e10cSrcweir	{
351*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 144, 6  ) ;
352*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 75 , 20) ;
353*cdf0e10cSrcweir		Text [ en-US ] = "Destination table: \n";
354*cdf0e10cSrcweir	};
355*cdf0e10cSrcweir
356*cdf0e10cSrcweir	Control CTRL_LEFT
357*cdf0e10cSrcweir	{
358*cdf0e10cSrcweir		Border				= TRUE;
359*cdf0e10cSrcweir		Pos					= MAP_APPFONT ( 52, 28) ;
360*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 82 , WINDOW_SIZE_Y - 34 ) ;
361*cdf0e10cSrcweir		TabStop				= TRUE;
362*cdf0e10cSrcweir		HelpId				= HID_TAB_NAMEMATCHING_COLS_AVAIL;
363*cdf0e10cSrcweir		/*DialogControl       = TRUE;*/
364*cdf0e10cSrcweir	};
365*cdf0e10cSrcweir
366*cdf0e10cSrcweir	Control CTRL_RIGHT
367*cdf0e10cSrcweir	{
368*cdf0e10cSrcweir		Border				= TRUE ;
369*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 144, 28) ;
370*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 82 , WINDOW_SIZE_Y - 34 ) ;
371*cdf0e10cSrcweir		TabStop				= TRUE;
372*cdf0e10cSrcweir		HelpId				= HID_TAB_NAMEMATCHING_COLS_ASSIGN;
373*cdf0e10cSrcweir		/*DialogControl       = TRUE;*/
374*cdf0e10cSrcweir	};
375*cdf0e10cSrcweir
376*cdf0e10cSrcweir    ImageButton IB_COLUMN_UP
377*cdf0e10cSrcweir	{
378*cdf0e10cSrcweir        HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_UP";
379*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 19 ,  45 ) ;
380*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 14 , 14 ) ;
381*cdf0e10cSrcweir		TabStop				= TRUE;
382*cdf0e10cSrcweir		DefButton           = TRUE;
383*cdf0e10cSrcweir		ButtonImage = Image
384*cdf0e10cSrcweir		{
385*cdf0e10cSrcweir			ImageBitmap = Bitmap
386*cdf0e10cSrcweir			{
387*cdf0e10cSrcweir                File = "sortup.bmp" ;
388*cdf0e10cSrcweir			};
389*cdf0e10cSrcweir			MaskColor = Color
390*cdf0e10cSrcweir			{
391*cdf0e10cSrcweir                Red = 0xFFFF ;
392*cdf0e10cSrcweir                Green = 0x0000 ;
393*cdf0e10cSrcweir                Blue = 0xFFFF ;
394*cdf0e10cSrcweir			};
395*cdf0e10cSrcweir		};
396*cdf0e10cSrcweir	};
397*cdf0e10cSrcweir    ImageButton IB_COLUMN_DOWN
398*cdf0e10cSrcweir	{
399*cdf0e10cSrcweir        HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_DOWN";
400*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 19 ,  63 ) ;
401*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 14 , 14 ) ;
402*cdf0e10cSrcweir		TabStop				= TRUE;
403*cdf0e10cSrcweir		ButtonImage = Image
404*cdf0e10cSrcweir		{
405*cdf0e10cSrcweir			ImageBitmap = Bitmap
406*cdf0e10cSrcweir			{
407*cdf0e10cSrcweir                File = "sortdown.bmp" ;
408*cdf0e10cSrcweir			};
409*cdf0e10cSrcweir			MaskColor = Color
410*cdf0e10cSrcweir			{
411*cdf0e10cSrcweir                Red = 0xFFFF ;
412*cdf0e10cSrcweir                Green = 0x0000 ;
413*cdf0e10cSrcweir                Blue = 0xFFFF ;
414*cdf0e10cSrcweir			};
415*cdf0e10cSrcweir		};
416*cdf0e10cSrcweir	};
417*cdf0e10cSrcweir    ImageButton IB_COLUMN_UP_RIGHT
418*cdf0e10cSrcweir	{
419*cdf0e10cSrcweir        HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_UP_RIGHT";
420*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( WINDOW_SIZE_X - 33, 45 ) ;
421*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 14 , 14 ) ;
422*cdf0e10cSrcweir		TabStop				= TRUE;
423*cdf0e10cSrcweir		DefButton           = TRUE;
424*cdf0e10cSrcweir		ButtonImage = Image
425*cdf0e10cSrcweir		{
426*cdf0e10cSrcweir			ImageBitmap = Bitmap
427*cdf0e10cSrcweir			{
428*cdf0e10cSrcweir                File = "sortup.bmp" ;
429*cdf0e10cSrcweir			};
430*cdf0e10cSrcweir			MaskColor = Color
431*cdf0e10cSrcweir			{
432*cdf0e10cSrcweir                Red = 0xFFFF ;
433*cdf0e10cSrcweir                Green = 0x0000 ;
434*cdf0e10cSrcweir                Blue = 0xFFFF ;
435*cdf0e10cSrcweir			};
436*cdf0e10cSrcweir		};
437*cdf0e10cSrcweir	};
438*cdf0e10cSrcweir    ImageButton IB_COLUMN_DOWN_RIGHT
439*cdf0e10cSrcweir	{
440*cdf0e10cSrcweir        HelpID = "dbaccess:ImageButton:TAB_WIZ_NAME_MATCHING:IB_COLUMN_DOWN_RIGHT";
441*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( WINDOW_SIZE_X - 33, 63) ;
442*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 14 , 14 ) ;
443*cdf0e10cSrcweir		TabStop				= TRUE ;
444*cdf0e10cSrcweir		ButtonImage = Image
445*cdf0e10cSrcweir		{
446*cdf0e10cSrcweir			ImageBitmap = Bitmap
447*cdf0e10cSrcweir			{
448*cdf0e10cSrcweir                File = "sortdown.bmp" ;
449*cdf0e10cSrcweir			};
450*cdf0e10cSrcweir			MaskColor = Color
451*cdf0e10cSrcweir			{
452*cdf0e10cSrcweir                Red = 0xFFFF ;
453*cdf0e10cSrcweir                Green = 0x0000 ;
454*cdf0e10cSrcweir                Blue = 0xFFFF ;
455*cdf0e10cSrcweir			};
456*cdf0e10cSrcweir		};
457*cdf0e10cSrcweir	};
458*cdf0e10cSrcweir
459*cdf0e10cSrcweir	PushButton PB_ALL
460*cdf0e10cSrcweir	{
461*cdf0e10cSrcweir	    HelpID = "dbaccess:PushButton:TAB_WIZ_NAME_MATCHING:PB_ALL";
462*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 6, 83) ;
463*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 40 , 14 ) ;
464*cdf0e10cSrcweir		TabStop				= TRUE ;
465*cdf0e10cSrcweir		Text [ en-US ]	= "~All" ;
466*cdf0e10cSrcweir	};
467*cdf0e10cSrcweir
468*cdf0e10cSrcweir	PushButton PB_NONE
469*cdf0e10cSrcweir	{
470*cdf0e10cSrcweir	    HelpID = "dbaccess:PushButton:TAB_WIZ_NAME_MATCHING:PB_NONE";
471*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 6, 103) ;
472*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 40 , 14 ) ;
473*cdf0e10cSrcweir		TabStop				= TRUE ;
474*cdf0e10cSrcweir		Text [ en-US ]	= "Non~e" ;
475*cdf0e10cSrcweir	};
476*cdf0e10cSrcweir};
477*cdf0e10cSrcweirTabPage TAB_WIZ_COPYTABLE
478*cdf0e10cSrcweir{
479*cdf0e10cSrcweir	SVLook	= TRUE ;
480*cdf0e10cSrcweir    Size    = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ;
481*cdf0e10cSrcweir
482*cdf0e10cSrcweir	HelpId	= HID_TAB_WIZ_COPYTABLE;
483*cdf0e10cSrcweir	Hide	= TRUE;
484*cdf0e10cSrcweir
485*cdf0e10cSrcweir	FixedText FT_TABLENAME
486*cdf0e10cSrcweir	{
487*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 12 , 11) ;
488*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 60 , 8 ) ;
489*cdf0e10cSrcweir		Text [ en-US ] = "Ta~ble name";
490*cdf0e10cSrcweir	};
491*cdf0e10cSrcweir
492*cdf0e10cSrcweir	Edit ET_TABLENAME
493*cdf0e10cSrcweir	{
494*cdf0e10cSrcweir		HelpId				= HID_TAB_WIZ_TABLENAME_EDIT;
495*cdf0e10cSrcweir		Border				= TRUE ;
496*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 80 , 9) ;
497*cdf0e10cSrcweir        Size                = MAP_APPFONT ( WINDOW_SIZE_X - 92 , 12 ) ;
498*cdf0e10cSrcweir		TabStop				= TRUE ;
499*cdf0e10cSrcweir	};
500*cdf0e10cSrcweir
501*cdf0e10cSrcweir    FixedLine FL_OPTIONS
502*cdf0e10cSrcweir	{
503*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 6 , 24 ) ;
504*cdf0e10cSrcweir        Size                = MAP_APPFONT ( WINDOW_SIZE_X - 12 , 8 ) ;
505*cdf0e10cSrcweir		Text [ en-US ] = "Options" ;
506*cdf0e10cSrcweir	};
507*cdf0e10cSrcweir	RadioButton RB_DEFDATA
508*cdf0e10cSrcweir	{
509*cdf0e10cSrcweir	    HelpID = "dbaccess:RadioButton:TAB_WIZ_COPYTABLE:RB_DEFDATA";
510*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 12 , 35 ) ;
511*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 73 , 10 ) ;
512*cdf0e10cSrcweir		Text [ en-US ] = "De~finition and data" ;
513*cdf0e10cSrcweir	};
514*cdf0e10cSrcweir	RadioButton RB_DEF
515*cdf0e10cSrcweir	{
516*cdf0e10cSrcweir	    HelpID = "dbaccess:RadioButton:TAB_WIZ_COPYTABLE:RB_DEF";
517*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 12, 49 ) ;
518*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 73 , 10 ) ;
519*cdf0e10cSrcweir		Text [ en-US ] = "Def~inition" ;
520*cdf0e10cSrcweir	};
521*cdf0e10cSrcweir
522*cdf0e10cSrcweir	RadioButton RB_VIEW
523*cdf0e10cSrcweir	{
524*cdf0e10cSrcweir	    HelpID = "dbaccess:RadioButton:TAB_WIZ_COPYTABLE:RB_VIEW";
525*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 12, 63 ) ;
526*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 73 , 10 ) ;
527*cdf0e10cSrcweir		Text [ en-US ] = "A~s table view";
528*cdf0e10cSrcweir	};
529*cdf0e10cSrcweir
530*cdf0e10cSrcweir	RadioButton RB_APPENDDATA
531*cdf0e10cSrcweir	{
532*cdf0e10cSrcweir	    HelpID = "dbaccess:RadioButton:TAB_WIZ_COPYTABLE:RB_APPENDDATA";
533*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 12, 77 ) ;
534*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 73 , 10 ) ;
535*cdf0e10cSrcweir		Text [ en-US ] = "Append ~data" ;
536*cdf0e10cSrcweir	};
537*cdf0e10cSrcweir
538*cdf0e10cSrcweir    CheckBox CB_USEHEADERLINE
539*cdf0e10cSrcweir	{
540*cdf0e10cSrcweir        HelpID = "dbaccess:CheckBox:TAB_WIZ_COPYTABLE:CB_USEHEADERLINE";
541*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 12, 93 ) ;
542*cdf0e10cSrcweir		Size				= MAP_APPFONT ( WINDOW_SIZE_X - 18, 10 ) ;
543*cdf0e10cSrcweir		Text [ en-US ] = "Use first ~line as column names" ;
544*cdf0e10cSrcweir	};
545*cdf0e10cSrcweir
546*cdf0e10cSrcweir	CheckBox CB_PRIMARY_COLUMN
547*cdf0e10cSrcweir	{
548*cdf0e10cSrcweir	    HelpID = "dbaccess:CheckBox:TAB_WIZ_COPYTABLE:CB_PRIMARY_COLUMN";
549*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 12, 107 ) ;
550*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 90 , 10 ) ;
551*cdf0e10cSrcweir		Text [ en-US ] = "Crea~te primary key";
552*cdf0e10cSrcweir	};
553*cdf0e10cSrcweir	FixedText FT_KEYNAME
554*cdf0e10cSrcweir	{
555*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 21 , 122 ) ;
556*cdf0e10cSrcweir        Size                = MAP_APPFONT ( 39 , 8 ) ;
557*cdf0e10cSrcweir		Text [ en-US ] = "Name";
558*cdf0e10cSrcweir	};
559*cdf0e10cSrcweir
560*cdf0e10cSrcweir	Edit ET_KEYNAME
561*cdf0e10cSrcweir	{
562*cdf0e10cSrcweir	    HelpID = "dbaccess:Edit:TAB_WIZ_COPYTABLE:ET_KEYNAME";
563*cdf0e10cSrcweir        Pos                 = MAP_APPFONT ( 80, 120 ) ;
564*cdf0e10cSrcweir		Size				= MAP_APPFONT ( 65 , 12 ) ;
565*cdf0e10cSrcweir		TabStop				= TRUE ;
566*cdf0e10cSrcweir		Border				= TRUE ;
567*cdf0e10cSrcweir	};
568*cdf0e10cSrcweir};
569*cdf0e10cSrcweir
570*cdf0e10cSrcweirString STR_WIZ_TABLE_COPY
571*cdf0e10cSrcweir{
572*cdf0e10cSrcweir	Text [ en-US ] = "Copy table" ;
573*cdf0e10cSrcweir};
574*cdf0e10cSrcweir
575*cdf0e10cSrcweirString STR_COPYTABLE_TITLE_COPY
576*cdf0e10cSrcweir{
577*cdf0e10cSrcweir	Text [ en-US ] = "Copy table" ;
578*cdf0e10cSrcweir};
579*cdf0e10cSrcweir
580*cdf0e10cSrcweirString STR_INVALID_TABLE_NAME
581*cdf0e10cSrcweir{
582*cdf0e10cSrcweir	Text [ en-US ] = "This table name is not valid in the current database.";
583*cdf0e10cSrcweir};
584*cdf0e10cSrcweirString STR_SUGGEST_APPEND_TABLE_DATA
585*cdf0e10cSrcweir{
586*cdf0e10cSrcweir	Text [ en-US ] = "Choose the option 'Append data' on the first page to append data to an existing table.";
587*cdf0e10cSrcweir};
588*cdf0e10cSrcweir
589*cdf0e10cSrcweirString STR_INVALID_TABLE_NAME_LENGTH
590*cdf0e10cSrcweir{
591*cdf0e10cSrcweir	Text [ en-US ] = "Please change the table name. It is too long.";
592*cdf0e10cSrcweir};
593*cdf0e10cSrcweir
594*cdf0e10cSrcweirImage IMG_SORTUP_H
595*cdf0e10cSrcweir{
596*cdf0e10cSrcweir	ImageBitmap = Bitmap
597*cdf0e10cSrcweir	{
598*cdf0e10cSrcweir        File = "sortup_h.bmp" ;
599*cdf0e10cSrcweir	};
600*cdf0e10cSrcweir	MaskColor = Color
601*cdf0e10cSrcweir	{
602*cdf0e10cSrcweir        Red = 0xFFFF ;
603*cdf0e10cSrcweir        Green = 0x0000 ;
604*cdf0e10cSrcweir        Blue = 0xFFFF ;
605*cdf0e10cSrcweir	};
606*cdf0e10cSrcweir};
607*cdf0e10cSrcweir
608*cdf0e10cSrcweirImage IMG_SORTDOWN_H
609*cdf0e10cSrcweir{
610*cdf0e10cSrcweir	ImageBitmap = Bitmap
611*cdf0e10cSrcweir	{
612*cdf0e10cSrcweir        File = "sortdown_h.bmp" ;
613*cdf0e10cSrcweir	};
614*cdf0e10cSrcweir	MaskColor = Color
615*cdf0e10cSrcweir	{
616*cdf0e10cSrcweir        Red = 0xFFFF ;
617*cdf0e10cSrcweir        Green = 0x0000 ;
618*cdf0e10cSrcweir        Blue = 0xFFFF ;
619*cdf0e10cSrcweir	};
620*cdf0e10cSrcweir};
621*cdf0e10cSrcweir
622*cdf0e10cSrcweir
623*cdf0e10cSrcweir
624*cdf0e10cSrcweir
625*cdf0e10cSrcweir
626*cdf0e10cSrcweir
627*cdf0e10cSrcweir
628*cdf0e10cSrcweir
629*cdf0e10cSrcweir
630*cdf0e10cSrcweir
631*cdf0e10cSrcweir
632*cdf0e10cSrcweir
633*cdf0e10cSrcweir
634*cdf0e10cSrcweir
635*cdf0e10cSrcweir
636*cdf0e10cSrcweir
637*cdf0e10cSrcweir
638*cdf0e10cSrcweir
639*cdf0e10cSrcweir
640*cdf0e10cSrcweir
641*cdf0e10cSrcweir
642*cdf0e10cSrcweir
643*cdf0e10cSrcweir
644*cdf0e10cSrcweir
645*cdf0e10cSrcweir
646*cdf0e10cSrcweir
647*cdf0e10cSrcweir
648*cdf0e10cSrcweir
649*cdf0e10cSrcweir
650*cdf0e10cSrcweir
651*cdf0e10cSrcweir
652*cdf0e10cSrcweir
653*cdf0e10cSrcweir
654*cdf0e10cSrcweir
655*cdf0e10cSrcweir
656*cdf0e10cSrcweir
657*cdf0e10cSrcweir
658*cdf0e10cSrcweir
659