10e2af6afSAndrew Rist/**************************************************************
2*facded39Smseidel *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10*facded39Smseidel *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*facded39Smseidel *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
19*facded39Smseidel *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "connpooloptions.hrc"
25cdf0e10cSrcweir#include <cuires.hrc>
26cdf0e10cSrcweir
27cdf0e10cSrcweir#define PAGE_SIZE_X		260
28cdf0e10cSrcweir#define PAGE_SIZE_Y		185
29cdf0e10cSrcweir
30cdf0e10cSrcweir#define LIST_SIZE_Y		100
31cdf0e10cSrcweir
32cdf0e10cSrcweirTabPage RID_OFAPAGE_CONNPOOLOPTIONS
33cdf0e10cSrcweir{
34*facded39Smseidel	HelpID = "cui:TabPage:RID_OFAPAGE_CONNPOOLOPTIONS" ;
35cdf0e10cSrcweir	OutputSize = TRUE ;
36cdf0e10cSrcweir	Size = MAP_APPFONT ( PAGE_SIZE_X, PAGE_SIZE_Y ) ;
37cdf0e10cSrcweir	SVLook = TRUE ;
38cdf0e10cSrcweir	Hide = TRUE ;
39cdf0e10cSrcweir
40cdf0e10cSrcweir	FixedLine FL_POOLING
41cdf0e10cSrcweir	{
42*facded39Smseidel		Pos = MAP_APPFONT ( 4, 3 ) ;
43*facded39Smseidel		Size = MAP_APPFONT ( PAGE_SIZE_X - 8, 8 ) ;
44*facded39Smseidel		Text [ en-US ] = "Connection pool" ;
45cdf0e10cSrcweir	};
46cdf0e10cSrcweir	CheckBox CB_POOL_CONNS
47cdf0e10cSrcweir	{
48*facded39Smseidel		HelpID = "cui:CheckBox:RID_OFAPAGE_CONNPOOLOPTIONS:CB_POOL_CONNS" ;
49*facded39Smseidel		Pos = MAP_APPFONT ( 7, 15 ) ;
50*facded39Smseidel		Size = MAP_APPFONT ( PAGE_SIZE_X - 14, 10 ) ;
51*facded39Smseidel		Text [ en-US ] = "Connection pooling enabled" ;
52cdf0e10cSrcweir	};
53cdf0e10cSrcweir	FixedText FT_DRIVERS
54cdf0e10cSrcweir	{
55*facded39Smseidel		Pos = MAP_APPFONT ( 17, 28 ) ;
56*facded39Smseidel		Size = MAP_APPFONT ( PAGE_SIZE_X - 14 - 8, 8 ) ;
57*facded39Smseidel		Text [ en-US ] = "Drivers known in %PRODUCTNAME" ;
58cdf0e10cSrcweir	};
59cdf0e10cSrcweir	Control CTRL_DRIVER_LIST
60cdf0e10cSrcweir	{
61*facded39Smseidel		Pos = MAP_APPFONT ( 17, 39 ) ;
62*facded39Smseidel		Size = MAP_APPFONT ( PAGE_SIZE_X - 14 - 8, LIST_SIZE_Y ) ;
63*facded39Smseidel		TabStop = TRUE ;
64*facded39Smseidel		Border = TRUE ;
65*facded39Smseidel		SVLook = TRUE ;
66cdf0e10cSrcweir	};
67cdf0e10cSrcweir	FixedText FT_DRIVERLABEL
68cdf0e10cSrcweir	{
69*facded39Smseidel		Pos = MAP_APPFONT ( 17, 39 + LIST_SIZE_Y + 4 ) ;
70*facded39Smseidel		Size = MAP_APPFONT ( 70, 8 ) ;
71*facded39Smseidel		Text [ en-US ] = "Current driver:" ;
72cdf0e10cSrcweir	};
73cdf0e10cSrcweir	FixedText FT_DRIVER
74cdf0e10cSrcweir	{
75*facded39Smseidel		Pos = MAP_APPFONT ( 17 + 70 + 3, 39 + LIST_SIZE_Y + 4 ) ;
76*facded39Smseidel		Size = MAP_APPFONT ( PAGE_SIZE_X - ( 15 + 70 + 3 ) - 7, 8 ) ;
77cdf0e10cSrcweir	};
78cdf0e10cSrcweir	CheckBox CB_DRIVERPOOLING
79cdf0e10cSrcweir	{
80*facded39Smseidel		HelpID = "cui:CheckBox:RID_OFAPAGE_CONNPOOLOPTIONS:CB_DRIVERPOOLING" ;
81*facded39Smseidel		Pos = MAP_APPFONT ( 17, 39 + LIST_SIZE_Y + 4 + 8 + 3 ) ;
82*facded39Smseidel		Size = MAP_APPFONT ( PAGE_SIZE_X - 23, 10 ) ;
83*facded39Smseidel		Text [ en-US ] = "Enable pooling for this driver" ;
84cdf0e10cSrcweir	};
85cdf0e10cSrcweir	FixedText FT_TIMEOUT
86cdf0e10cSrcweir	{
87*facded39Smseidel		Pos = MAP_APPFONT ( 27, 39 + LIST_SIZE_Y + 4 + 8 + 3 + 10 + 3 + 2 ) ;
88*facded39Smseidel		Size = MAP_APPFONT ( 100, 8 ) ;
89*facded39Smseidel		Text [ en-US ] = "Timeout (seconds)" ;
90cdf0e10cSrcweir	};
91cdf0e10cSrcweir	NumericField NF_TIMEOUT
92cdf0e10cSrcweir	{
93*facded39Smseidel		HelpID = "cui:NumericField:RID_OFAPAGE_CONNPOOLOPTIONS:NF_TIMEOUT" ;
94*facded39Smseidel		Pos = MAP_APPFONT ( 27 + 100 + 3, 39 + LIST_SIZE_Y + 4 + 8 + 3 + 10 + 3 ) ;
95*facded39Smseidel		Size = MAP_APPFONT ( 40, 12 ) ;
96*facded39Smseidel		SvLook = TRUE ;
97*facded39Smseidel		Border = TRUE ;
98*facded39Smseidel		Right = TRUE ;
99*facded39Smseidel		Spin = TRUE ;
100*facded39Smseidel		Repeat = TRUE ;
101*facded39Smseidel		Minimum = 30 ;
102*facded39Smseidel		Maximum = 600 ;
103*facded39Smseidel		StrictFormat = TRUE ;
104*facded39Smseidel		DecimalDigits = 0 ;
105*facded39Smseidel		SpinSize = 1 ;
106cdf0e10cSrcweir	};
107cdf0e10cSrcweir
108cdf0e10cSrcweir	String STR_DRIVER_NAME
109cdf0e10cSrcweir	{
110*facded39Smseidel		Text [ en-US ] = "Driver name" ;
111cdf0e10cSrcweir	};
112cdf0e10cSrcweir	String STR_POOLED_FLAG
113cdf0e10cSrcweir	{
114*facded39Smseidel		Text [ en-US ] = "Pool" ;
115cdf0e10cSrcweir	};
116cdf0e10cSrcweir	String STR_POOL_TIMEOUT
117cdf0e10cSrcweir	{
118*facded39Smseidel		Text [ en-US ] = "Timeout" ;
119cdf0e10cSrcweir	};
120cdf0e10cSrcweir	String STR_YES
121cdf0e10cSrcweir	{
122*facded39Smseidel		Text [ en-US ] = "Yes" ;
123cdf0e10cSrcweir	};
124cdf0e10cSrcweir	String STR_NO
125cdf0e10cSrcweir	{
126*facded39Smseidel		Text [ en-US ] = "No" ;
127cdf0e10cSrcweir	};
128cdf0e10cSrcweir};
129cdf0e10cSrcweir
130*facded39Smseidel// ******************************************************************* EOF
131