1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: connpooloptions.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include "connpooloptions.hrc"
32 #include <svx/dialogs.hrc>
34 #define PAGE_SIZE_X 260
35 #define PAGE_SIZE_Y 185
37 #define LIST_SIZE_Y 100
39 TabPage RID_OFAPAGE_CONNPOOLOPTIONS
43 Size = MAP_APPFONT ( PAGE_SIZE_X, PAGE_SIZE_Y ) ;
49 Pos = MAP_APPFONT( 4, 3 );
50 Size = MAP_APPFONT( PAGE_SIZE_X - 8, 8 );
51 Text [ en-US ] = "Connection pool";
53 CheckBox CB_POOL_CONNS
55 Pos = MAP_APPFONT( 7, 15 );
56 Size = MAP_APPFONT( PAGE_SIZE_X - 14, 10 );
57 Text [ en-US ] = "Connection pooling enabled";
61 Pos = MAP_APPFONT( 17, 28 );
62 Size = MAP_APPFONT( PAGE_SIZE_X - 14 - 8, 8 );
63 Text [ en-US ] = "Drivers known in %PRODUCTNAME";
65 Control CTRL_DRIVER_LIST
67 Pos = MAP_APPFONT( 17, 39 );
68 Size = MAP_APPFONT( PAGE_SIZE_X - 14 - 8, LIST_SIZE_Y );
73 FixedText FT_DRIVERLABEL
75 Pos = MAP_APPFONT( 17, 39 + LIST_SIZE_Y + 4 );
76 Size = MAP_APPFONT( 70, 8 );
77 Text [ en-US ] = "Current driver:";
81 Pos = MAP_APPFONT( 17 + 70 + 3, 39 + LIST_SIZE_Y + 4 );
82 Size = MAP_APPFONT( PAGE_SIZE_X - ( 15 + 70 + 3 ) - 7, 8 );
84 CheckBox CB_DRIVERPOOLING
86 Pos = MAP_APPFONT( 17, 39 + LIST_SIZE_Y + 4 + 8 + 3 );
87 Size = MAP_APPFONT( PAGE_SIZE_X - 23, 10 );
88 Text [ en-US ] = "Enable pooling for this driver";
92 Pos = MAP_APPFONT( 27, 39 + LIST_SIZE_Y + 4 + 8 + 3 + 10 + 3 + 2 );
93 Size = MAP_APPFONT( 100, 8 );
94 Text [ en-US ] = "Timeout (seconds)";
96 NumericField 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";