xref: /trunk/main/dbaccess/source/ui/dlg/dbadmin2.src (revision 81d089ae)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef _DBA_DBACCESS_HELPID_HRC_
25#include "dbaccess_helpid.hrc"
26#endif
27
28#ifndef _DBU_DLG_HRC_
29#include "dbu_dlg.hrc"
30#endif
31#ifndef _DBAUI_DBADMIN_HRC_
32#include "dbadmin.hrc"
33#endif
34#ifndef DBACCESS_UI_BROWSER_ID_HXX
35#include "browserids.hxx"
36#endif
37#ifndef DBAUI_TOOLBOX_HXX
38#include "toolbox.hrc"
39#endif
40#ifndef _DBAUI_AUTOCONTROLS_HRC_
41#include "AutoControls.hrc"
42#endif
43
44//.........................................................................
45
46String STR_ENTER_CONNECTION_PASSWORD
47{
48	Text [ en-US ] = "A password is needed to connect to the data source \"$name$\".";
49};
50
51String STR_ASK_FOR_DIRECTORY_CREATION
52{
53	Text [ en-US ] = "The directory\n\n$path$\n\ndoes not exist. Should it be created?";
54};
55
56String STR_COULD_NOT_CREATE_DIRECTORY
57{
58	Text [ en-US ] = "The directory $name$ could not be created.";
59};
60
61#define EDIT_SIZE_X		50
62#define FT_SIZE_X		90
63#define WIN_X			220
64#define WIN_Y			72
65
66ModalDialog DLG_DOMAINPASSWORD
67{
68    HelpID = "dbaccess:ModalDialog:DLG_DOMAINPASSWORD";
69	Border = TRUE ;
70	Moveable = TRUE ;
71	OutputSize = TRUE ;
72	SVLook = TRUE ;
73	Size = MAP_APPFONT ( WIN_X , WIN_Y ) ;
74	Text[ en-US ] = "Convert Database";
75
76	FixedLine FT_PASSWORD
77	{
78		Pos = MAP_APPFONT ( 3 , 3 ) ;
79		Size = MAP_APPFONT ( WIN_X - 3 - 6 - 6 - 50 , 8 ) ;
80		Text[ en-US ] = "Please enter the ~password for the user 'DOMAIN'.";
81	};
82
83	Edit ET_PASSWORD
84	{
85	    HelpID = "dbaccess:Edit:DLG_DOMAINPASSWORD:ET_PASSWORD";
86		Border = TRUE ;
87		Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 16 ) ;
88		Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ;
89		PassWord = TRUE ;
90	};
91	OKButton BTN_PASSWORD_OK
92	{
93		Pos = MAP_APPFONT ( WIN_X - 56 , 6 ) ;
94		Size = MAP_APPFONT ( 50 , 14 ) ;
95		DefButton = TRUE ;
96	};
97	CancelButton BTN_PASSWORD_CANCEL
98	{
99		Pos = MAP_APPFONT ( WIN_X - 56 , 23 ) ;
100		Size = MAP_APPFONT ( 50 , 14 ) ;
101	};
102	HelpButton BTN_PASSWORD_HELP
103	{
104		Pos = MAP_APPFONT ( WIN_X - 56 , 43 ) ;
105		Size = MAP_APPFONT ( 50 , 14 ) ;
106	};
107};
108
109#define PAGE_X_T  (PAGE_X -80)
110#define PAGE_Y_T  (PAGE_Y -50)
111
112TabPage PAGE_TABLESUBSCRIPTION
113{
114	SVLook = TRUE ;
115	Hide = TRUE;
116	Pos = MAP_APPFONT ( 0 , 0 ) ;
117	Size = MAP_APPFONT ( PAGE_X_T, PAGE_Y_T) ;
118	HelpId = HID_DSADMIN_TABLE_SUBSCRIPTION;
119
120	Text [ en-US ] = "Tables Filter" ;
121
122	FixedLine FL_SEPARATOR1
123	{
124		Pos = MAP_APPFONT ( RELATED_CONTROLS , UNRELATED_CONTROLS ) ;
125		Size = MAP_APPFONT ( PAGE_X_T - 2* RELATED_CONTROLS, FIXEDTEXT_HEIGHT ) ;
126		Text [ en-US ] = "Tables and table filter";
127	};
128	Control CTL_TABLESUBSCRIPTION
129	{
130		Pos		= MAP_APPFONT ( UNRELATED_CONTROLS , UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ;
131		Size	= MAP_APPFONT ( PAGE_X_T - 2*UNRELATED_CONTROLS , 81 ) ;
132		Group	= TRUE;
133		Border	= TRUE ;
134		TabStop = TRUE ;
135		HelpId = HID_DSADMIN_TABLE_SELECTOR;
136	};
137	FixedText FT_FILTER_EXPLANATION
138	{
139		Pos = MAP_APPFONT ( UNRELATED_CONTROLS , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT + RELATED_CONTROLS + 81 ) ;
140		Size	= MAP_APPFONT ( PAGE_X_T - 2*UNRELATED_CONTROLS , 16 ) ;
141		HelpId = HID_DSADMIN_FILTER_EXPLANATION;
142		WordBreak = TRUE;
143		Text [ en-US ] = "Mark the tables that should be visible for the applications.";
144	};
145};
146
147