1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #include "connpooloptions.hrc"
31 #define PAGE_SIZE_X 260
32 #define PAGE_SIZE_Y 185
34 #define LIST_SIZE_Y 100
36 TabPage RID_OFAPAGE_CONNPOOLOPTIONS
38 HelpID = "cui:TabPage:RID_OFAPAGE_CONNPOOLOPTIONS";
40 Size = MAP_APPFONT ( PAGE_SIZE_X, PAGE_SIZE_Y ) ;
46 Pos = MAP_APPFONT( 4, 3 );
47 Size = MAP_APPFONT( PAGE_SIZE_X - 8, 8 );
48 Text [ en-US ] = "Connection pool";
50 CheckBox CB_POOL_CONNS
52 HelpID = "cui:CheckBox:RID_OFAPAGE_CONNPOOLOPTIONS:CB_POOL_CONNS";
53 Pos = MAP_APPFONT( 7, 15 );
54 Size = MAP_APPFONT( PAGE_SIZE_X - 14, 10 );
55 Text [ en-US ] = "Connection pooling enabled";
59 Pos = MAP_APPFONT( 17, 28 );
60 Size = MAP_APPFONT( PAGE_SIZE_X - 14 - 8, 8 );
61 Text [ en-US ] = "Drivers known in %PRODUCTNAME";
63 Control CTRL_DRIVER_LIST
65 Pos = MAP_APPFONT( 17, 39 );
66 Size = MAP_APPFONT( PAGE_SIZE_X - 14 - 8, LIST_SIZE_Y );
71 FixedText FT_DRIVERLABEL
73 Pos = MAP_APPFONT( 17, 39 + LIST_SIZE_Y + 4 );
74 Size = MAP_APPFONT( 70, 8 );
75 Text [ en-US ] = "Current driver:";
79 Pos = MAP_APPFONT( 17 + 70 + 3, 39 + LIST_SIZE_Y + 4 );
80 Size = MAP_APPFONT( PAGE_SIZE_X - ( 15 + 70 + 3 ) - 7, 8 );
82 CheckBox CB_DRIVERPOOLING
84 HelpID = "cui:CheckBox:RID_OFAPAGE_CONNPOOLOPTIONS:CB_DRIVERPOOLING";
85 Pos = MAP_APPFONT( 17, 39 + LIST_SIZE_Y + 4 + 8 + 3 );
86 Size = MAP_APPFONT( PAGE_SIZE_X - 23, 10 );
87 Text [ en-US ] = "Enable pooling for this driver";
91 Pos = MAP_APPFONT( 27, 39 + LIST_SIZE_Y + 4 + 8 + 3 + 10 + 3 + 2 );
92 Size = MAP_APPFONT( 100, 8 );
93 Text [ en-US ] = "Timeout (seconds)";
95 NumericField NF_TIMEOUT
97 HelpID = "cui:NumericField:RID_OFAPAGE_CONNPOOLOPTIONS:NF_TIMEOUT";
98 Pos = MAP_APPFONT( 27 + 100 + 3, 39 + LIST_SIZE_Y + 4 + 8 + 3 + 10 + 3 );
99 Size = MAP_APPFONT( 40, 12 );
112 String STR_DRIVER_NAME
114 Text [ en-US ] = "Driver name";
116 String STR_POOLED_FLAG
118 Text [ en-US ] = "Pool";
120 String STR_POOL_TIMEOUT
122 Text [ en-US ] = "Timeout";
126 Text [ en-US ] = "Yes";
130 Text [ en-US ] = "No";