1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef _DBAUI_DETAILPAGES_HXX_
29*cdf0e10cSrcweir #define _DBAUI_DETAILPAGES_HXX_
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #ifndef _DBAUI_ADMINPAGES_HXX_
32*cdf0e10cSrcweir #include "adminpages.hxx"
33*cdf0e10cSrcweir #endif
34*cdf0e10cSrcweir #ifndef _DBAUI_CHARSETS_HXX_
35*cdf0e10cSrcweir #include "charsets.hxx"
36*cdf0e10cSrcweir #endif
37*cdf0e10cSrcweir #ifndef CHARSETLISTBOX_HXX
38*cdf0e10cSrcweir #include "charsetlistbox.hxx"
39*cdf0e10cSrcweir #endif
40*cdf0e10cSrcweir #ifndef _SV_FIELD_HXX
41*cdf0e10cSrcweir #include <vcl/field.hxx>
42*cdf0e10cSrcweir #endif
43*cdf0e10cSrcweir #ifndef _SV_FIXED_HXX
44*cdf0e10cSrcweir #include <vcl/fixed.hxx>
45*cdf0e10cSrcweir #endif
46*cdf0e10cSrcweir #ifndef _SV_LSTBOX_HXX
47*cdf0e10cSrcweir #include <vcl/lstbox.hxx>
48*cdf0e10cSrcweir #endif
49*cdf0e10cSrcweir #ifndef _SV_EDIT_HXX
50*cdf0e10cSrcweir #include <vcl/edit.hxx>
51*cdf0e10cSrcweir #endif
52*cdf0e10cSrcweir #ifndef _SV_BUTTON_HXX
53*cdf0e10cSrcweir #include <vcl/button.hxx>
54*cdf0e10cSrcweir #endif
55*cdf0e10cSrcweir #ifndef DBAUI_TEXTCONNECTIONHELPER_HXX
56*cdf0e10cSrcweir #include "TextConnectionHelper.hxx"
57*cdf0e10cSrcweir #endif
58*cdf0e10cSrcweir #include "admincontrols.hxx"
59*cdf0e10cSrcweir 
60*cdf0e10cSrcweir #include <svtools/dialogcontrolling.hxx>
61*cdf0e10cSrcweir 
62*cdf0e10cSrcweir 
63*cdf0e10cSrcweir //.........................................................................
64*cdf0e10cSrcweir namespace dbaui
65*cdf0e10cSrcweir {
66*cdf0e10cSrcweir //.........................................................................
67*cdf0e10cSrcweir 	//=========================================================================
68*cdf0e10cSrcweir 	//= OCommonBehaviourTabPage
69*cdf0e10cSrcweir 	//=========================================================================
70*cdf0e10cSrcweir 	#define		CBTP_NONE							0x00000000
71*cdf0e10cSrcweir 	#define		CBTP_USE_CHARSET					0x00000002
72*cdf0e10cSrcweir 	#define		CBTP_USE_OPTIONS					0x00000004
73*cdf0e10cSrcweir 
74*cdf0e10cSrcweir 	/** eases the implementation of tab pages handling user/password and/or character
75*cdf0e10cSrcweir 		set and/or generic options input
76*cdf0e10cSrcweir 		<BR>
77*cdf0e10cSrcweir 		The controls to be used habe to be defined within the resource, as usual, but
78*cdf0e10cSrcweir 		this class does all the handling necessary.
79*cdf0e10cSrcweir 	*/
80*cdf0e10cSrcweir 	class OCommonBehaviourTabPage : public OGenericAdministrationPage
81*cdf0e10cSrcweir 	{
82*cdf0e10cSrcweir 	protected:
83*cdf0e10cSrcweir 
84*cdf0e10cSrcweir 		FixedText*			m_pOptionsLabel;
85*cdf0e10cSrcweir 		Edit*				m_pOptions;
86*cdf0e10cSrcweir 
87*cdf0e10cSrcweir 		FixedLine*			m_pDataConvertFixedLine;
88*cdf0e10cSrcweir 		FixedText*			m_pCharsetLabel;
89*cdf0e10cSrcweir 		CharSetListBox*     m_pCharset;
90*cdf0e10cSrcweir 
91*cdf0e10cSrcweir 		FixedLine*			m_pAutoFixedLine;
92*cdf0e10cSrcweir 		CheckBox*			m_pAutoRetrievingEnabled;
93*cdf0e10cSrcweir 		FixedText*			m_pAutoIncrementLabel;
94*cdf0e10cSrcweir 		Edit*				m_pAutoIncrement;
95*cdf0e10cSrcweir 		FixedText*			m_pAutoRetrievingLabel;
96*cdf0e10cSrcweir 		Edit*				m_pAutoRetrieving;
97*cdf0e10cSrcweir 
98*cdf0e10cSrcweir 		sal_uInt32			m_nControlFlags;
99*cdf0e10cSrcweir 
100*cdf0e10cSrcweir 	public:
101*cdf0e10cSrcweir 		virtual	sal_Bool		FillItemSet	(SfxItemSet& _rCoreAttrs);
102*cdf0e10cSrcweir 
103*cdf0e10cSrcweir 		OCommonBehaviourTabPage(Window* pParent, sal_uInt16 nResId, const SfxItemSet& _rCoreAttrs, sal_uInt32 nControlFlags,bool _bFreeResource = true);
104*cdf0e10cSrcweir 	protected:
105*cdf0e10cSrcweir 
106*cdf0e10cSrcweir 			// nControlFlags ist eine Kombination der CBTP_xxx-Konstanten
107*cdf0e10cSrcweir 		virtual ~OCommonBehaviourTabPage();
108*cdf0e10cSrcweir 
109*cdf0e10cSrcweir 		// must be overloaded by subclasses, but it isn't pure virtual
110*cdf0e10cSrcweir 		virtual void		implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
111*cdf0e10cSrcweir 
112*cdf0e10cSrcweir 		// <method>OGenericAdministrationPage::fillControls</method>
113*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
114*cdf0e10cSrcweir 
115*cdf0e10cSrcweir 		// <method>OGenericAdministrationPage::fillWindows</method>
116*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
117*cdf0e10cSrcweir 	};
118*cdf0e10cSrcweir 
119*cdf0e10cSrcweir 	//========================================================================
120*cdf0e10cSrcweir 	//= ODbaseDetailsPage
121*cdf0e10cSrcweir 	//========================================================================
122*cdf0e10cSrcweir 	class ODbaseDetailsPage : public OCommonBehaviourTabPage
123*cdf0e10cSrcweir 	{
124*cdf0e10cSrcweir 	public:
125*cdf0e10cSrcweir 		virtual	sal_Bool		FillItemSet	( SfxItemSet& _rCoreAttrs );
126*cdf0e10cSrcweir 
127*cdf0e10cSrcweir 		ODbaseDetailsPage(Window* pParent, const SfxItemSet& _rCoreAttrs);
128*cdf0e10cSrcweir 	private:
129*cdf0e10cSrcweir 		// please add new controls also to <method>fillControls</method> or <method>fillWindows</method>
130*cdf0e10cSrcweir 		CheckBox			m_aShowDeleted;
131*cdf0e10cSrcweir 		FixedLine			m_aFL_1;
132*cdf0e10cSrcweir 		FixedText			m_aFT_Message;
133*cdf0e10cSrcweir 		PushButton			m_aIndexes;
134*cdf0e10cSrcweir 
135*cdf0e10cSrcweir 		String				m_sDsn;
136*cdf0e10cSrcweir 
137*cdf0e10cSrcweir 	protected:
138*cdf0e10cSrcweir 
139*cdf0e10cSrcweir 		virtual ~ODbaseDetailsPage();
140*cdf0e10cSrcweir 
141*cdf0e10cSrcweir 	protected:
142*cdf0e10cSrcweir 		virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
143*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
144*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
145*cdf0e10cSrcweir 
146*cdf0e10cSrcweir 	private:
147*cdf0e10cSrcweir 		DECL_LINK( OnButtonClicked, Button * );
148*cdf0e10cSrcweir 	};
149*cdf0e10cSrcweir 
150*cdf0e10cSrcweir 	//========================================================================
151*cdf0e10cSrcweir 	//= OAdoDetailsPage
152*cdf0e10cSrcweir 	//========================================================================
153*cdf0e10cSrcweir 	class OAdoDetailsPage : public OCommonBehaviourTabPage
154*cdf0e10cSrcweir 	{
155*cdf0e10cSrcweir 	protected:
156*cdf0e10cSrcweir 		virtual ~OAdoDetailsPage();
157*cdf0e10cSrcweir 	public:
158*cdf0e10cSrcweir 
159*cdf0e10cSrcweir 		OAdoDetailsPage( Window* pParent, const SfxItemSet& _rCoreAttrs );
160*cdf0e10cSrcweir 	};
161*cdf0e10cSrcweir 
162*cdf0e10cSrcweir 	//========================================================================
163*cdf0e10cSrcweir 	//= OOdbcDetailsPage
164*cdf0e10cSrcweir 	//========================================================================
165*cdf0e10cSrcweir 	class OOdbcDetailsPage : public OCommonBehaviourTabPage
166*cdf0e10cSrcweir 	{
167*cdf0e10cSrcweir 	public:
168*cdf0e10cSrcweir 		virtual	sal_Bool		FillItemSet	( SfxItemSet& _rCoreAttrs );
169*cdf0e10cSrcweir 
170*cdf0e10cSrcweir 		OOdbcDetailsPage( Window* pParent, const SfxItemSet& _rCoreAttrs );
171*cdf0e10cSrcweir 	protected:
172*cdf0e10cSrcweir 		virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
173*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
174*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
175*cdf0e10cSrcweir 	private:
176*cdf0e10cSrcweir 		FixedLine			m_aFL_1;
177*cdf0e10cSrcweir 		CheckBox			m_aUseCatalog;
178*cdf0e10cSrcweir 	};
179*cdf0e10cSrcweir 
180*cdf0e10cSrcweir 
181*cdf0e10cSrcweir 	//========================================================================
182*cdf0e10cSrcweir 	//= OUserDriverDetailsPage
183*cdf0e10cSrcweir 	//========================================================================
184*cdf0e10cSrcweir 	class OUserDriverDetailsPage : public OCommonBehaviourTabPage
185*cdf0e10cSrcweir 	{
186*cdf0e10cSrcweir 	public:
187*cdf0e10cSrcweir 		virtual	sal_Bool		FillItemSet	( SfxItemSet& _rCoreAttrs );
188*cdf0e10cSrcweir 
189*cdf0e10cSrcweir 		OUserDriverDetailsPage( Window* pParent, const SfxItemSet& _rCoreAttrs );
190*cdf0e10cSrcweir 	protected:
191*cdf0e10cSrcweir 		virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
192*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
193*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
194*cdf0e10cSrcweir 	private:
195*cdf0e10cSrcweir 		FixedText			m_aFTHostname;
196*cdf0e10cSrcweir 		Edit				m_aEDHostname;
197*cdf0e10cSrcweir 		FixedText			m_aPortNumber;
198*cdf0e10cSrcweir 		NumericField		m_aNFPortNumber;
199*cdf0e10cSrcweir 		CheckBox			m_aUseCatalog;
200*cdf0e10cSrcweir 	};
201*cdf0e10cSrcweir 
202*cdf0e10cSrcweir 	//========================================================================
203*cdf0e10cSrcweir 	//= OMySQLODBCDetailsPage
204*cdf0e10cSrcweir 	//========================================================================
205*cdf0e10cSrcweir 	class OMySQLODBCDetailsPage : public OCommonBehaviourTabPage
206*cdf0e10cSrcweir 	{
207*cdf0e10cSrcweir 	public:
208*cdf0e10cSrcweir 		OMySQLODBCDetailsPage( Window* pParent, const SfxItemSet& _rCoreAttrs );
209*cdf0e10cSrcweir 	};
210*cdf0e10cSrcweir 
211*cdf0e10cSrcweir 	//========================================================================
212*cdf0e10cSrcweir 	//= OGeneralSpecialJDBCDetailsPage
213*cdf0e10cSrcweir 	//========================================================================
214*cdf0e10cSrcweir 	class OGeneralSpecialJDBCDetailsPage : public OCommonBehaviourTabPage
215*cdf0e10cSrcweir 	{
216*cdf0e10cSrcweir 	public:
217*cdf0e10cSrcweir 		OGeneralSpecialJDBCDetailsPage(   Window* pParent
218*cdf0e10cSrcweir 										, sal_uInt16 _nResId
219*cdf0e10cSrcweir 										, const SfxItemSet& _rCoreAttrs
220*cdf0e10cSrcweir                                         , sal_uInt16 _nPortId
221*cdf0e10cSrcweir 										);
222*cdf0e10cSrcweir 
223*cdf0e10cSrcweir 	protected:
224*cdf0e10cSrcweir 
225*cdf0e10cSrcweir 
226*cdf0e10cSrcweir 		virtual	sal_Bool FillItemSet( SfxItemSet& _rCoreAttrs );
227*cdf0e10cSrcweir 		virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
228*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
229*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
230*cdf0e10cSrcweir 
231*cdf0e10cSrcweir 		DECL_LINK(OnTestJavaClickHdl,PushButton*);
232*cdf0e10cSrcweir 		DECL_LINK(OnEditModified,Edit*);
233*cdf0e10cSrcweir 
234*cdf0e10cSrcweir 		FixedLine			m_aFL_1;
235*cdf0e10cSrcweir 		FixedText			m_aFTHostname;
236*cdf0e10cSrcweir 		Edit				m_aEDHostname;
237*cdf0e10cSrcweir 		FixedText			m_aPortNumber;
238*cdf0e10cSrcweir 		NumericField		m_aNFPortNumber;
239*cdf0e10cSrcweir         FixedText			m_aFTSocket;
240*cdf0e10cSrcweir 		Edit				m_aEDSocket;
241*cdf0e10cSrcweir 
242*cdf0e10cSrcweir 		FixedText			m_aFTDriverClass;
243*cdf0e10cSrcweir 		Edit				m_aEDDriverClass;
244*cdf0e10cSrcweir 		PushButton			m_aTestJavaDriver;
245*cdf0e10cSrcweir 
246*cdf0e10cSrcweir 		String				m_sDefaultJdbcDriverName;
247*cdf0e10cSrcweir 		sal_uInt16				m_nPortId;
248*cdf0e10cSrcweir         bool                m_bUseClass;
249*cdf0e10cSrcweir 	};
250*cdf0e10cSrcweir 
251*cdf0e10cSrcweir 	//========================================================================
252*cdf0e10cSrcweir 	//= MySQLNativePage
253*cdf0e10cSrcweir 	//========================================================================
254*cdf0e10cSrcweir 	class MySQLNativePage : public OCommonBehaviourTabPage
255*cdf0e10cSrcweir 	{
256*cdf0e10cSrcweir 	public:
257*cdf0e10cSrcweir 		MySQLNativePage(    Window* pParent,
258*cdf0e10cSrcweir 							const SfxItemSet& _rCoreAttrs );
259*cdf0e10cSrcweir 
260*cdf0e10cSrcweir     private:
261*cdf0e10cSrcweir 		FixedLine			m_aSeparator1;
262*cdf0e10cSrcweir         MySQLNativeSettings m_aMySQLSettings;
263*cdf0e10cSrcweir 
264*cdf0e10cSrcweir 		FixedLine			m_aSeparator2;
265*cdf0e10cSrcweir         FixedText			m_aUserNameLabel;
266*cdf0e10cSrcweir 		Edit				m_aUserName;
267*cdf0e10cSrcweir 		CheckBox			m_aPasswordRequired;
268*cdf0e10cSrcweir 
269*cdf0e10cSrcweir 	protected:
270*cdf0e10cSrcweir 		virtual	sal_Bool FillItemSet( SfxItemSet& _rCoreAttrs );
271*cdf0e10cSrcweir 		virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
272*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
273*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
274*cdf0e10cSrcweir 	};
275*cdf0e10cSrcweir 
276*cdf0e10cSrcweir 	//========================================================================
277*cdf0e10cSrcweir 	//= OAdabasDetailsPage
278*cdf0e10cSrcweir 	//========================================================================
279*cdf0e10cSrcweir 	class OAdabasDetailsPage : public OCommonBehaviourTabPage
280*cdf0e10cSrcweir 	{
281*cdf0e10cSrcweir 	public:
282*cdf0e10cSrcweir 		virtual	sal_Bool		FillItemSet	(SfxItemSet& _rCoreAttrs);
283*cdf0e10cSrcweir 
284*cdf0e10cSrcweir 		OAdabasDetailsPage( Window* pParent, const SfxItemSet& _rCoreAttrs );
285*cdf0e10cSrcweir 	protected:
286*cdf0e10cSrcweir 		virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
287*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
288*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
289*cdf0e10cSrcweir 
290*cdf0e10cSrcweir 	private:
291*cdf0e10cSrcweir 		FixedText			m_aFTHostname;
292*cdf0e10cSrcweir 		Edit				m_aEDHostname;
293*cdf0e10cSrcweir 		FixedLine			m_aFL_1;
294*cdf0e10cSrcweir 		FixedText			m_FT_CACHE_SIZE;
295*cdf0e10cSrcweir 		NumericField		m_NF_CACHE_SIZE;
296*cdf0e10cSrcweir 
297*cdf0e10cSrcweir 		FixedText			m_FT_DATA_INCREMENT;
298*cdf0e10cSrcweir 		NumericField		m_NF_DATA_INCREMENT;
299*cdf0e10cSrcweir 
300*cdf0e10cSrcweir 		FixedLine			m_aFL_2;
301*cdf0e10cSrcweir 		FixedText			m_FT_CTRLUSERNAME;
302*cdf0e10cSrcweir 		Edit				m_ET_CTRLUSERNAME;
303*cdf0e10cSrcweir 		FixedText			m_FT_CTRLPASSWORD;
304*cdf0e10cSrcweir 		Edit				m_ET_CTRLPASSWORD;
305*cdf0e10cSrcweir 
306*cdf0e10cSrcweir 		CheckBox			m_CB_SHUTDB;
307*cdf0e10cSrcweir 		PushButton			m_PB_STAT;
308*cdf0e10cSrcweir 		String				m_sUser;
309*cdf0e10cSrcweir 		sal_Bool				bAttrsChanged;
310*cdf0e10cSrcweir 
311*cdf0e10cSrcweir 		DECL_LINK( AttributesChangedHdl,	void * );
312*cdf0e10cSrcweir 		DECL_LINK( UserSettingsHdl,			void * );
313*cdf0e10cSrcweir 		DECL_LINK( LoseFocusHdl,			Edit * );
314*cdf0e10cSrcweir 		DECL_LINK( PBClickHdl,				Button *);
315*cdf0e10cSrcweir 	};
316*cdf0e10cSrcweir 
317*cdf0e10cSrcweir 	//========================================================================
318*cdf0e10cSrcweir 	//= OOdbcDetailsPage
319*cdf0e10cSrcweir 	//========================================================================
320*cdf0e10cSrcweir 	class OLDAPDetailsPage : public OCommonBehaviourTabPage
321*cdf0e10cSrcweir 	{
322*cdf0e10cSrcweir 	public:
323*cdf0e10cSrcweir 		virtual	sal_Bool		FillItemSet	( SfxItemSet& _rCoreAttrs );
324*cdf0e10cSrcweir 
325*cdf0e10cSrcweir 		OLDAPDetailsPage( Window* pParent, const SfxItemSet& _rCoreAttrs );
326*cdf0e10cSrcweir 	protected:
327*cdf0e10cSrcweir 		virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
328*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
329*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
330*cdf0e10cSrcweir 	private:
331*cdf0e10cSrcweir 		FixedLine			m_aFL_1;
332*cdf0e10cSrcweir 		FixedText			m_aBaseDN;
333*cdf0e10cSrcweir 		Edit				m_aETBaseDN;
334*cdf0e10cSrcweir 		CheckBox			m_aCBUseSSL;
335*cdf0e10cSrcweir 		FixedText			m_aPortNumber;
336*cdf0e10cSrcweir 		NumericField		m_aNFPortNumber;
337*cdf0e10cSrcweir 		FixedText			m_aFTRowCount;
338*cdf0e10cSrcweir 		NumericField		m_aNFRowCount;
339*cdf0e10cSrcweir 
340*cdf0e10cSrcweir 		sal_Int32			m_iSSLPort;
341*cdf0e10cSrcweir 		sal_Int32			m_iNormalPort;
342*cdf0e10cSrcweir 		DECL_LINK( OnCheckBoxClick, CheckBox * );
343*cdf0e10cSrcweir 	};
344*cdf0e10cSrcweir 
345*cdf0e10cSrcweir 	//========================================================================
346*cdf0e10cSrcweir 	//= OMozillaDetailsPage Detail page for Mozilla and Thunderbird addressbook
347*cdf0e10cSrcweir 	//========================================================================
348*cdf0e10cSrcweir 	class OMozillaDetailsPage : public OCommonBehaviourTabPage
349*cdf0e10cSrcweir 	{
350*cdf0e10cSrcweir 	protected:
351*cdf0e10cSrcweir 		virtual ~OMozillaDetailsPage();
352*cdf0e10cSrcweir 	public:
353*cdf0e10cSrcweir 
354*cdf0e10cSrcweir 		OMozillaDetailsPage( Window* pParent, const SfxItemSet& _rCoreAttrs );
355*cdf0e10cSrcweir 	};
356*cdf0e10cSrcweir 
357*cdf0e10cSrcweir 	//========================================================================
358*cdf0e10cSrcweir 	//= OTextDetailsPage
359*cdf0e10cSrcweir 	//========================================================================
360*cdf0e10cSrcweir 	class OTextDetailsPage : public OCommonBehaviourTabPage
361*cdf0e10cSrcweir 	{
362*cdf0e10cSrcweir 	public:
363*cdf0e10cSrcweir 		virtual	sal_Bool		FillItemSet	( SfxItemSet& _rCoreAttrs );
364*cdf0e10cSrcweir 
365*cdf0e10cSrcweir 		OTextDetailsPage( Window* pParent, const SfxItemSet& _rCoreAttrs );
366*cdf0e10cSrcweir         OTextConnectionHelper*  m_pTextConnectionHelper;
367*cdf0e10cSrcweir 
368*cdf0e10cSrcweir 	private:
369*cdf0e10cSrcweir 
370*cdf0e10cSrcweir 		String		m_aFieldSeparatorList;
371*cdf0e10cSrcweir 		String		m_aTextSeparatorList;
372*cdf0e10cSrcweir 		String		m_aTextNone;
373*cdf0e10cSrcweir 	protected:
374*cdf0e10cSrcweir 		virtual ~OTextDetailsPage();
375*cdf0e10cSrcweir 		virtual sal_Bool prepareLeave();
376*cdf0e10cSrcweir 
377*cdf0e10cSrcweir 		virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
378*cdf0e10cSrcweir 		virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
379*cdf0e10cSrcweir 		virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
380*cdf0e10cSrcweir 
381*cdf0e10cSrcweir 	private:
382*cdf0e10cSrcweir 	};
383*cdf0e10cSrcweir 
384*cdf0e10cSrcweir //.........................................................................
385*cdf0e10cSrcweir }	// namespace dbaui
386*cdf0e10cSrcweir //.........................................................................
387*cdf0e10cSrcweir 
388*cdf0e10cSrcweir #endif // _DBAUI_DETAILPAGES_HXX_
389