1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef _DBAUI_PARAMDIALOG_HRC_
29#include "paramdialog.hrc"
30#endif
31#ifndef _DBU_DLG_HRC_
32#include "dbu_dlg.hrc"
33#endif
34
35#define LIST_WIDTH		100
36#define LIST_HEIGHT		50
37
38ModalDialog DLG_PARAMETERS
39{
40    HelpID = "dbaccess:ModalDialog:DLG_PARAMETERS";
41	OutputSize = TRUE ;
42	SVLook = TRUE ;
43	Size = MAP_APPFONT ( 6 + LIST_WIDTH + 3 + 6 + BUTTON_WIDTH + 6, 98 ) ;
44	Moveable = TRUE ;
45	Closeable = TRUE ;
46
47
48	FixedLine FL_PARAMS
49	{
50		Pos = MAP_APPFONT ( 4 , 3 ) ;
51		Size = MAP_APPFONT ( 3 + LIST_WIDTH + 3 , 8 ) ;
52		Text [ en-US ] = "~Parameters";
53	};
54	ListBox LB_ALLPARAMS
55	{
56	    HelpID = "dbaccess:ListBox:DLG_PARAMETERS:LB_ALLPARAMS";
57		Pos = MAP_APPFONT ( 7 , 12 ) ;
58		Size = MAP_APPFONT ( LIST_WIDTH , LIST_HEIGHT ) ;
59		Border = TRUE;
60		SVLook = TRUE;
61	};
62	FixedText FT_VALUE
63	{
64		Pos = MAP_APPFONT ( 7 , 12 + LIST_HEIGHT + 4 ) ;
65		Size = MAP_APPFONT ( LIST_WIDTH , 8 ) ;
66		Text [ en-US ] = "~Value";
67	};
68	Edit ET_PARAM
69	{
70	    HelpID = "dbaccess:Edit:DLG_PARAMETERS:ET_PARAM";
71		Border = TRUE ;
72		Pos = MAP_APPFONT ( 7 , 12 + LIST_HEIGHT + 4 + 8 + 3 ) ;
73		Size = MAP_APPFONT ( LIST_WIDTH , 12 ) ;
74		TabStop = TRUE ;
75	};
76	PushButton BT_TRAVELNEXT
77	{
78	    HelpID = "dbaccess:PushButton:DLG_PARAMETERS:BT_TRAVELNEXT";
79		Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 12 + LIST_HEIGHT + 4 + 8 + 3 + ( 12 - BUTTON_HEIGHT ) / 2) ;
80		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
81		TabStop = TRUE ;
82		Text [ en-US ] = "~Next";
83	};
84	OKButton BT_OK
85	{
86		Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 3 ) ;
87		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
88		TabStop = TRUE ;
89		DefButton = TRUE ;
90	};
91	CancelButton BT_CANCEL
92	{
93		Pos = MAP_APPFONT ( 4 + 3 + LIST_WIDTH + 3 + 6 , 3 + BUTTON_HEIGHT + 3 ) ;
94		Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
95		TabStop = TRUE ;
96	};
97	Text [ en-US ] = "Parameter Input" ;
98
99	String STR_COULD_NOT_CONVERT_PARAM
100	{
101		Text [ en-US ] = "The entry could not be converted to a valid value for the \"$name$\"column";
102	};
103};
104
105