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