xref: /trunk/main/cui/source/options/connpooloptions.src (revision 78190a370f7d7129fed9a7e70ca122eaae71ce1d)
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#include "connpooloptions.hrc"
25#include <cuires.hrc>
26
27#define PAGE_SIZE_X     260
28#define PAGE_SIZE_Y     185
29
30#define LIST_SIZE_Y     100
31
32TabPage RID_OFAPAGE_CONNPOOLOPTIONS
33{
34    HelpID = "cui:TabPage:RID_OFAPAGE_CONNPOOLOPTIONS" ;
35    OutputSize = TRUE ;
36    Size = MAP_APPFONT ( PAGE_SIZE_X, PAGE_SIZE_Y ) ;
37    SVLook = TRUE ;
38    Hide = TRUE ;
39
40    FixedLine FL_POOLING
41    {
42        Pos = MAP_APPFONT ( 4, 3 ) ;
43        Size = MAP_APPFONT ( PAGE_SIZE_X - 8, 8 ) ;
44        Text [ en-US ] = "Connection pool" ;
45    };
46    CheckBox CB_POOL_CONNS
47    {
48        HelpID = "cui:CheckBox:RID_OFAPAGE_CONNPOOLOPTIONS:CB_POOL_CONNS" ;
49        Pos = MAP_APPFONT ( 7, 15 ) ;
50        Size = MAP_APPFONT ( PAGE_SIZE_X - 14, 10 ) ;
51        Text [ en-US ] = "Connection pooling enabled" ;
52    };
53    FixedText FT_DRIVERS
54    {
55        Pos = MAP_APPFONT ( 17, 28 ) ;
56        Size = MAP_APPFONT ( PAGE_SIZE_X - 14 - 8, 8 ) ;
57        Text [ en-US ] = "Drivers known in %PRODUCTNAME" ;
58    };
59    Control CTRL_DRIVER_LIST
60    {
61        Pos = MAP_APPFONT ( 17, 39 ) ;
62        Size = MAP_APPFONT ( PAGE_SIZE_X - 14 - 8, LIST_SIZE_Y ) ;
63        TabStop = TRUE ;
64        Border = TRUE ;
65        SVLook = TRUE ;
66    };
67    FixedText FT_DRIVERLABEL
68    {
69        Pos = MAP_APPFONT ( 17, 39 + LIST_SIZE_Y + 4 ) ;
70        Size = MAP_APPFONT ( 70, 8 ) ;
71        Text [ en-US ] = "Current driver:" ;
72    };
73    FixedText FT_DRIVER
74    {
75        Pos = MAP_APPFONT ( 17 + 70 + 3, 39 + LIST_SIZE_Y + 4 ) ;
76        Size = MAP_APPFONT ( PAGE_SIZE_X - ( 15 + 70 + 3 ) - 7, 8 ) ;
77    };
78    CheckBox CB_DRIVERPOOLING
79    {
80        HelpID = "cui:CheckBox:RID_OFAPAGE_CONNPOOLOPTIONS:CB_DRIVERPOOLING" ;
81        Pos = MAP_APPFONT ( 17, 39 + LIST_SIZE_Y + 4 + 8 + 3 ) ;
82        Size = MAP_APPFONT ( PAGE_SIZE_X - 23, 10 ) ;
83        Text [ en-US ] = "Enable pooling for this driver" ;
84    };
85    FixedText FT_TIMEOUT
86    {
87        Pos = MAP_APPFONT ( 27, 39 + LIST_SIZE_Y + 4 + 8 + 3 + 10 + 3 + 2 ) ;
88        Size = MAP_APPFONT ( 100, 8 ) ;
89        Text [ en-US ] = "Timeout (seconds)" ;
90    };
91    NumericField NF_TIMEOUT
92    {
93        HelpID = "cui:NumericField:RID_OFAPAGE_CONNPOOLOPTIONS:NF_TIMEOUT" ;
94        Pos = MAP_APPFONT ( 27 + 100 + 3, 39 + LIST_SIZE_Y + 4 + 8 + 3 + 10 + 3 ) ;
95        Size = MAP_APPFONT ( 40, 12 ) ;
96        SvLook = TRUE ;
97        Border = TRUE ;
98        Right = TRUE ;
99        Spin = TRUE ;
100        Repeat = TRUE ;
101        Minimum = 30 ;
102        Maximum = 600 ;
103        StrictFormat = TRUE ;
104        DecimalDigits = 0 ;
105        SpinSize = 1 ;
106    };
107
108    String STR_DRIVER_NAME
109    {
110        Text [ en-US ] = "Driver name" ;
111    };
112    String STR_POOLED_FLAG
113    {
114        Text [ en-US ] = "Pool" ;
115    };
116    String STR_POOL_TIMEOUT
117    {
118        Text [ en-US ] = "Timeout" ;
119    };
120    String STR_YES
121    {
122        Text [ en-US ] = "Yes" ;
123    };
124    String STR_NO
125    {
126        Text [ en-US ] = "No" ;
127    };
128};
129
130// ******************************************************************* EOF
131