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