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