1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28#include "connpooloptions.hrc"
29#include <cuires.hrc>
30
31#define PAGE_SIZE_X		260
32#define PAGE_SIZE_Y		185
33
34#define LIST_SIZE_Y		100
35
36TabPage RID_OFAPAGE_CONNPOOLOPTIONS
37{
38    HelpID = "cui:TabPage:RID_OFAPAGE_CONNPOOLOPTIONS";
39	OutputSize = TRUE ;
40	Size = MAP_APPFONT ( PAGE_SIZE_X, PAGE_SIZE_Y ) ;
41	SVLook = TRUE ;
42	Hide = TRUE ;
43
44	FixedLine FL_POOLING
45	{
46		Pos = MAP_APPFONT( 4, 3 );
47		Size = MAP_APPFONT( PAGE_SIZE_X - 8, 8 );
48		Text [ en-US ] = "Connection pool";
49	};
50	CheckBox CB_POOL_CONNS
51	{
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";
56	};
57	FixedText FT_DRIVERS
58	{
59		Pos = MAP_APPFONT( 17, 28 );
60		Size = MAP_APPFONT( PAGE_SIZE_X - 14 - 8, 8 );
61		Text [ en-US ] = "Drivers known in %PRODUCTNAME";
62	};
63	Control CTRL_DRIVER_LIST
64	{
65		Pos = MAP_APPFONT( 17, 39 );
66		Size = MAP_APPFONT( PAGE_SIZE_X - 14 - 8, LIST_SIZE_Y );
67		TabStop = TRUE;
68		Border = TRUE;
69		SVLook = TRUE;
70	};
71	FixedText FT_DRIVERLABEL
72	{
73		Pos = MAP_APPFONT( 17, 39 + LIST_SIZE_Y + 4 );
74		Size = MAP_APPFONT( 70, 8 );
75		Text [ en-US ] = "Current driver:";
76	};
77	FixedText FT_DRIVER
78	{
79		Pos = MAP_APPFONT( 17 + 70 + 3, 39 + LIST_SIZE_Y + 4 );
80		Size = MAP_APPFONT( PAGE_SIZE_X - ( 15 + 70 + 3 ) - 7, 8 );
81	};
82	CheckBox CB_DRIVERPOOLING
83	{
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";
88	};
89	FixedText FT_TIMEOUT
90	{
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)";
94	};
95	NumericField NF_TIMEOUT
96	{
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 );
100		SvLook = TRUE;
101		Border = TRUE;
102		Right = TRUE;
103		Spin = TRUE;
104		Repeat = TRUE;
105		Minimum = 30;
106		Maximum = 600;
107		StrictFormat = TRUE;
108		DecimalDigits = 0;
109		SpinSize = 1;
110	};
111
112	String STR_DRIVER_NAME
113	{
114		Text [ en-US ] = "Driver name";
115	};
116	String STR_POOLED_FLAG
117	{
118		Text [ en-US ] = "Pool";
119	};
120	String STR_POOL_TIMEOUT
121	{
122		Text [ en-US ] = "Timeout";
123	};
124	String STR_YES
125	{
126		Text [ en-US ] = "Yes";
127	};
128	String STR_NO
129	{
130		Text [ en-US ] = "No";
131	};
132};
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170