xref: /trunk/main/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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_DBSETUPCONNECTIONPAGES_HXX
29*cdf0e10cSrcweir #define DBAUI_DBSETUPCONNECTIONPAGES_HXX
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #ifndef DBAUI_CONNECTIONPAGESETUP_HXX
32*cdf0e10cSrcweir #include "ConnectionPageSetup.hxx"
33*cdf0e10cSrcweir #endif
34*cdf0e10cSrcweir 
35*cdf0e10cSrcweir #include "adminpages.hxx"
36*cdf0e10cSrcweir #include "admincontrols.hxx"
37*cdf0e10cSrcweir #include "curledit.hxx"
38*cdf0e10cSrcweir #include "TextConnectionHelper.hxx"
39*cdf0e10cSrcweir 
40*cdf0e10cSrcweir #include <svtools/roadmapwizard.hxx>
41*cdf0e10cSrcweir #include <ucbhelper/content.hxx>
42*cdf0e10cSrcweir #include <vcl/field.hxx>
43*cdf0e10cSrcweir 
44*cdf0e10cSrcweir 
45*cdf0e10cSrcweir //.........................................................................
46*cdf0e10cSrcweir namespace dbaui
47*cdf0e10cSrcweir 
48*cdf0e10cSrcweir {
49*cdf0e10cSrcweir //.........................................................................
50*cdf0e10cSrcweir 
51*cdf0e10cSrcweir     class IDatabaseSettingsDialog;
52*cdf0e10cSrcweir //      static  OGenericAdministrationPage* CreateDbaseTabPage( Window* pParent, const SfxItemSet& _rAttrSet );
53*cdf0e10cSrcweir 
54*cdf0e10cSrcweir 
55*cdf0e10cSrcweir     //========================================================================
56*cdf0e10cSrcweir     //= OSpreadSheetConnectionPageSetup
57*cdf0e10cSrcweir     //========================================================================
58*cdf0e10cSrcweir     class OSpreadSheetConnectionPageSetup : public OConnectionTabPageSetup
59*cdf0e10cSrcweir     {
60*cdf0e10cSrcweir     public:
61*cdf0e10cSrcweir         virtual sal_Bool        FillItemSet ( SfxItemSet& _rCoreAttrs );
62*cdf0e10cSrcweir         static  OGenericAdministrationPage* CreateSpreadSheetTabPage( Window* pParent, const SfxItemSet& _rAttrSet );
63*cdf0e10cSrcweir         OSpreadSheetConnectionPageSetup(Window* pParent, const SfxItemSet& _rCoreAttrs);
64*cdf0e10cSrcweir 
65*cdf0e10cSrcweir     protected:
66*cdf0e10cSrcweir         CheckBox m_aCBPasswordrequired;
67*cdf0e10cSrcweir         virtual ~OSpreadSheetConnectionPageSetup();
68*cdf0e10cSrcweir 
69*cdf0e10cSrcweir     protected:
70*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
71*cdf0e10cSrcweir         virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
72*cdf0e10cSrcweir         virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
73*cdf0e10cSrcweir 
74*cdf0e10cSrcweir     };
75*cdf0e10cSrcweir 
76*cdf0e10cSrcweir     //========================================================================
77*cdf0e10cSrcweir     //= OTextConnectionPage
78*cdf0e10cSrcweir     //========================================================================
79*cdf0e10cSrcweir     class OTextConnectionPageSetup : public OConnectionTabPageSetup
80*cdf0e10cSrcweir     {
81*cdf0e10cSrcweir     public:
82*cdf0e10cSrcweir         virtual sal_Bool        FillItemSet ( SfxItemSet& _rCoreAttrs );
83*cdf0e10cSrcweir         static  OGenericAdministrationPage* CreateTextTabPage( Window* pParent, const SfxItemSet& _rAttrSet );
84*cdf0e10cSrcweir         OTextConnectionPageSetup( Window* pParent, const SfxItemSet& _rCoreAttrs );
85*cdf0e10cSrcweir         OTextConnectionHelper*  m_pTextConnectionHelper;
86*cdf0e10cSrcweir     private:
87*cdf0e10cSrcweir 
88*cdf0e10cSrcweir     protected:
89*cdf0e10cSrcweir         virtual ~OTextConnectionPageSetup();
90*cdf0e10cSrcweir         virtual sal_Bool prepareLeave();
91*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
92*cdf0e10cSrcweir         virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
93*cdf0e10cSrcweir         virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
94*cdf0e10cSrcweir         bool    checkTestConnection();
95*cdf0e10cSrcweir 
96*cdf0e10cSrcweir     private:
97*cdf0e10cSrcweir         DECL_LINK(ImplGetExtensionHdl, OTextConnectionHelper*);
98*cdf0e10cSrcweir     };
99*cdf0e10cSrcweir 
100*cdf0e10cSrcweir     //========================================================================
101*cdf0e10cSrcweir     //= OLDAPConnectionPageSetup
102*cdf0e10cSrcweir     //========================================================================
103*cdf0e10cSrcweir     class OLDAPConnectionPageSetup : public OGenericAdministrationPage
104*cdf0e10cSrcweir     {
105*cdf0e10cSrcweir     public:
106*cdf0e10cSrcweir         virtual sal_Bool        FillItemSet ( SfxItemSet& _rCoreAttrs );
107*cdf0e10cSrcweir         static  OGenericAdministrationPage* CreateLDAPTabPage( Window* pParent, const SfxItemSet& _rAttrSet );
108*cdf0e10cSrcweir         OLDAPConnectionPageSetup( Window* pParent, const SfxItemSet& _rCoreAttrs );
109*cdf0e10cSrcweir         virtual Link getControlModifiedLink() { return LINK(this, OLDAPConnectionPageSetup, OnEditModified); }
110*cdf0e10cSrcweir 
111*cdf0e10cSrcweir     protected:
112*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
113*cdf0e10cSrcweir         virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
114*cdf0e10cSrcweir         virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
115*cdf0e10cSrcweir         DECL_LINK(OnEditModified,Edit*);
116*cdf0e10cSrcweir 
117*cdf0e10cSrcweir     private:
118*cdf0e10cSrcweir         FixedText           m_aFTHeaderText;
119*cdf0e10cSrcweir         FixedText           m_aFTHelpText;
120*cdf0e10cSrcweir         FixedText           m_aFTHostServer;
121*cdf0e10cSrcweir         Edit                m_aETHostServer;
122*cdf0e10cSrcweir         FixedText           m_aFTBaseDN;
123*cdf0e10cSrcweir         Edit                m_aETBaseDN;
124*cdf0e10cSrcweir         FixedText           m_aFTPortNumber;
125*cdf0e10cSrcweir         NumericField        m_aNFPortNumber;
126*cdf0e10cSrcweir         FixedText           m_aFTDefaultPortNumber;
127*cdf0e10cSrcweir         CheckBox            m_aCBUseSSL;
128*cdf0e10cSrcweir     };
129*cdf0e10cSrcweir 
130*cdf0e10cSrcweir     //========================================================================
131*cdf0e10cSrcweir     //= MySQLNativeSetupPage
132*cdf0e10cSrcweir     //========================================================================
133*cdf0e10cSrcweir     class MySQLNativeSetupPage : public OGenericAdministrationPage
134*cdf0e10cSrcweir     {
135*cdf0e10cSrcweir     private:
136*cdf0e10cSrcweir         FixedText           m_aHeader;
137*cdf0e10cSrcweir         FixedText           m_aHelpText;
138*cdf0e10cSrcweir         MySQLNativeSettings m_aMySQLSettings;
139*cdf0e10cSrcweir 
140*cdf0e10cSrcweir     public:
141*cdf0e10cSrcweir         MySQLNativeSetupPage( Window* _pParent, const SfxItemSet& _rCoreAttrs );
142*cdf0e10cSrcweir 
143*cdf0e10cSrcweir         static OGenericAdministrationPage* Create( Window* pParent, const SfxItemSet& _rAttrSet );
144*cdf0e10cSrcweir 
145*cdf0e10cSrcweir     protected:
146*cdf0e10cSrcweir         virtual void fillControls( ::std::vector< ISaveValueWrapper* >& _rControlList );
147*cdf0e10cSrcweir         virtual void fillWindows( ::std::vector< ISaveValueWrapper* >& _rControlList );
148*cdf0e10cSrcweir 
149*cdf0e10cSrcweir         virtual sal_Bool FillItemSet( SfxItemSet& _rCoreAttrs );
150*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
151*cdf0e10cSrcweir 
152*cdf0e10cSrcweir         virtual Link getControlModifiedLink();
153*cdf0e10cSrcweir 
154*cdf0e10cSrcweir     private:
155*cdf0e10cSrcweir         DECL_LINK( OnModified, Edit* );
156*cdf0e10cSrcweir     };
157*cdf0e10cSrcweir 
158*cdf0e10cSrcweir     //========================================================================
159*cdf0e10cSrcweir     //= OGeneralSpecialJDBCConnectionPageSetup
160*cdf0e10cSrcweir     //========================================================================
161*cdf0e10cSrcweir     class OGeneralSpecialJDBCConnectionPageSetup : public OGenericAdministrationPage
162*cdf0e10cSrcweir     {
163*cdf0e10cSrcweir     public:
164*cdf0e10cSrcweir         OGeneralSpecialJDBCConnectionPageSetup(   Window* pParent
165*cdf0e10cSrcweir                                         , sal_uInt16 _nResId
166*cdf0e10cSrcweir                                         , const SfxItemSet& _rCoreAttrs
167*cdf0e10cSrcweir                                         , sal_uInt16 _nPortId
168*cdf0e10cSrcweir                                         , sal_uInt16 _nDefaultPortResId
169*cdf0e10cSrcweir                                         , sal_uInt16 _nHelpTextResId
170*cdf0e10cSrcweir                                         , sal_uInt16 _nHeaderTextResId
171*cdf0e10cSrcweir                                         , sal_uInt16 _nDriverClassId );
172*cdf0e10cSrcweir     static  OGenericAdministrationPage* CreateMySQLJDBCTabPage( Window* pParent, const SfxItemSet& _rAttrSet );
173*cdf0e10cSrcweir     static  OGenericAdministrationPage* CreateOracleJDBCTabPage( Window* pParent, const SfxItemSet& _rAttrSet );
174*cdf0e10cSrcweir 
175*cdf0e10cSrcweir     protected:
176*cdf0e10cSrcweir         virtual sal_Bool FillItemSet( SfxItemSet& _rCoreAttrs );
177*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
178*cdf0e10cSrcweir         virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
179*cdf0e10cSrcweir         virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
180*cdf0e10cSrcweir         virtual Link getControlModifiedLink() { return LINK(this, OGeneralSpecialJDBCConnectionPageSetup, OnEditModified); }
181*cdf0e10cSrcweir 
182*cdf0e10cSrcweir         DECL_LINK(OnTestJavaClickHdl,PushButton*);
183*cdf0e10cSrcweir         DECL_LINK(OnEditModified,Edit*);
184*cdf0e10cSrcweir         FixedText           m_aFTHelpText;
185*cdf0e10cSrcweir         FixedText           m_aFTDatabasename;
186*cdf0e10cSrcweir         Edit                m_aETDatabasename;
187*cdf0e10cSrcweir         FixedText           m_aFTHostname;
188*cdf0e10cSrcweir         Edit                m_aETHostname;
189*cdf0e10cSrcweir         FixedText           m_aFTPortNumber;
190*cdf0e10cSrcweir         FixedText           m_aFTDefaultPortNumber;
191*cdf0e10cSrcweir         NumericField        m_aNFPortNumber;
192*cdf0e10cSrcweir 
193*cdf0e10cSrcweir 
194*cdf0e10cSrcweir         FixedText           m_aFTDriverClass;
195*cdf0e10cSrcweir         Edit                m_aETDriverClass;
196*cdf0e10cSrcweir         PushButton          m_aPBTestJavaDriver;
197*cdf0e10cSrcweir 
198*cdf0e10cSrcweir         String              m_sDefaultJdbcDriverName;
199*cdf0e10cSrcweir         sal_uInt16              m_nPortId;
200*cdf0e10cSrcweir     };
201*cdf0e10cSrcweir 
202*cdf0e10cSrcweir 
203*cdf0e10cSrcweir     //========================================================================
204*cdf0e10cSrcweir     //= OJDBCConnectionPageSetup
205*cdf0e10cSrcweir     //========================================================================
206*cdf0e10cSrcweir     class OJDBCConnectionPageSetup : public OConnectionTabPageSetup
207*cdf0e10cSrcweir     {
208*cdf0e10cSrcweir     public:
209*cdf0e10cSrcweir                 OJDBCConnectionPageSetup( Window* pParent, const SfxItemSet& _rCoreAttrs );
210*cdf0e10cSrcweir         static  OGenericAdministrationPage* CreateJDBCTabPage( Window* pParent, const SfxItemSet& _rAttrSet );
211*cdf0e10cSrcweir 
212*cdf0e10cSrcweir     protected:
213*cdf0e10cSrcweir         virtual bool checkTestConnection();
214*cdf0e10cSrcweir 
215*cdf0e10cSrcweir         virtual sal_Bool FillItemSet( SfxItemSet& _rCoreAttrs );
216*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
217*cdf0e10cSrcweir         virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
218*cdf0e10cSrcweir         virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
219*cdf0e10cSrcweir 
220*cdf0e10cSrcweir         DECL_LINK(OnTestJavaClickHdl,PushButton*);
221*cdf0e10cSrcweir         DECL_LINK(OnEditModified,Edit*);
222*cdf0e10cSrcweir         FixedText           m_aFTDriverClass;
223*cdf0e10cSrcweir         Edit                m_aETDriverClass;
224*cdf0e10cSrcweir         PushButton          m_aPBTestJavaDriver;
225*cdf0e10cSrcweir     };
226*cdf0e10cSrcweir 
227*cdf0e10cSrcweir 
228*cdf0e10cSrcweir 
229*cdf0e10cSrcweir     //========================================================================
230*cdf0e10cSrcweir     //= OJDBCConnectionPageSetup
231*cdf0e10cSrcweir     //========================================================================
232*cdf0e10cSrcweir     class OMySQLIntroPageSetup : public OGenericAdministrationPage
233*cdf0e10cSrcweir     {
234*cdf0e10cSrcweir     public:
235*cdf0e10cSrcweir         enum ConnectionType
236*cdf0e10cSrcweir         {
237*cdf0e10cSrcweir             VIA_ODBC,
238*cdf0e10cSrcweir             VIA_JDBC,
239*cdf0e10cSrcweir             VIA_NATIVE
240*cdf0e10cSrcweir         };
241*cdf0e10cSrcweir 
242*cdf0e10cSrcweir         OMySQLIntroPageSetup( Window* pParent, const SfxItemSet& _rCoreAttrs);
243*cdf0e10cSrcweir 
244*cdf0e10cSrcweir         static OMySQLIntroPageSetup*    CreateMySQLIntroTabPage( Window* _pParent, const SfxItemSet& _rAttrSet );
245*cdf0e10cSrcweir         ConnectionType      getMySQLMode();
246*cdf0e10cSrcweir         Link                maClickHdl;
247*cdf0e10cSrcweir         void                SetClickHdl( const Link& rLink ) { maClickHdl = rLink; }
248*cdf0e10cSrcweir         const Link&         GetClickHdl() const { return maClickHdl; }
249*cdf0e10cSrcweir         DECL_LINK(ImplClickHdl, OMySQLIntroPageSetup*);
250*cdf0e10cSrcweir 
251*cdf0e10cSrcweir 
252*cdf0e10cSrcweir 
253*cdf0e10cSrcweir 
254*cdf0e10cSrcweir     protected:
255*cdf0e10cSrcweir         virtual sal_Bool FillItemSet(SfxItemSet& _rSet);
256*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
257*cdf0e10cSrcweir         virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
258*cdf0e10cSrcweir         virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
259*cdf0e10cSrcweir         virtual ~OMySQLIntroPageSetup();
260*cdf0e10cSrcweir 
261*cdf0e10cSrcweir     private:
262*cdf0e10cSrcweir         RadioButton         m_aRB_ODBCDatabase;
263*cdf0e10cSrcweir         RadioButton         m_aRB_JDBCDatabase;
264*cdf0e10cSrcweir         RadioButton         m_aRB_NATIVEDatabase;
265*cdf0e10cSrcweir         FixedText           m_aFT_ConnectionMode;
266*cdf0e10cSrcweir         FixedText           m_aFT_Helptext;
267*cdf0e10cSrcweir         FixedText           m_aFT_Headertext;
268*cdf0e10cSrcweir 
269*cdf0e10cSrcweir         DECL_LINK(OnSetupModeSelected, RadioButton*);
270*cdf0e10cSrcweir 
271*cdf0e10cSrcweir     };
272*cdf0e10cSrcweir 
273*cdf0e10cSrcweir 
274*cdf0e10cSrcweir 
275*cdf0e10cSrcweir 
276*cdf0e10cSrcweir     //========================================================================
277*cdf0e10cSrcweir     //= OAuthentificationPageSetup
278*cdf0e10cSrcweir     //========================================================================
279*cdf0e10cSrcweir     class OAuthentificationPageSetup : public OGenericAdministrationPage
280*cdf0e10cSrcweir     {
281*cdf0e10cSrcweir     public:
282*cdf0e10cSrcweir         virtual sal_Bool        FillItemSet ( SfxItemSet& _rCoreAttrs );
283*cdf0e10cSrcweir         static  OGenericAdministrationPage* CreateAuthentificationTabPage( Window* pParent, const SfxItemSet& _rAttrSet );
284*cdf0e10cSrcweir         OAuthentificationPageSetup(Window* pParent, const SfxItemSet& _rCoreAttrs);
285*cdf0e10cSrcweir 
286*cdf0e10cSrcweir     protected:
287*cdf0e10cSrcweir         FixedText   m_aFTHelpText;
288*cdf0e10cSrcweir         FixedText   m_aFTHeaderText;
289*cdf0e10cSrcweir         FixedText   m_aFTUserName;
290*cdf0e10cSrcweir         Edit        m_aETUserName;
291*cdf0e10cSrcweir         CheckBox    m_aCBPasswordRequired;
292*cdf0e10cSrcweir         PushButton  m_aPBTestConnection;
293*cdf0e10cSrcweir         virtual ~OAuthentificationPageSetup();
294*cdf0e10cSrcweir 
295*cdf0e10cSrcweir     protected:
296*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
297*cdf0e10cSrcweir         virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
298*cdf0e10cSrcweir         virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
299*cdf0e10cSrcweir     };
300*cdf0e10cSrcweir 
301*cdf0e10cSrcweir 
302*cdf0e10cSrcweir 
303*cdf0e10cSrcweir     //========================================================================
304*cdf0e10cSrcweir     //= OFinalDBPageSetup
305*cdf0e10cSrcweir     //========================================================================
306*cdf0e10cSrcweir     class OFinalDBPageSetup : public OGenericAdministrationPage
307*cdf0e10cSrcweir     {
308*cdf0e10cSrcweir     public:
309*cdf0e10cSrcweir         virtual sal_Bool        FillItemSet ( SfxItemSet& _rCoreAttrs );
310*cdf0e10cSrcweir         static  OGenericAdministrationPage* CreateFinalDBTabPageSetup( Window* pParent, const SfxItemSet& _rAttrSet);
311*cdf0e10cSrcweir 
312*cdf0e10cSrcweir         FixedText   m_aFTFinalHeader;
313*cdf0e10cSrcweir         FixedText   m_aFTFinalHelpText;
314*cdf0e10cSrcweir         RadioButton m_aRBRegisterDataSource;
315*cdf0e10cSrcweir         RadioButton m_aRBDontregisterDataSource;
316*cdf0e10cSrcweir         FixedText   m_aFTAdditionalSettings;
317*cdf0e10cSrcweir         CheckBox    m_aCBOpenAfterwards;
318*cdf0e10cSrcweir         CheckBox    m_aCBStartTableWizard;
319*cdf0e10cSrcweir         FixedText   m_aFTFinalText;
320*cdf0e10cSrcweir 
321*cdf0e10cSrcweir         OFinalDBPageSetup(Window* pParent, const SfxItemSet& _rCoreAttrs);
322*cdf0e10cSrcweir         sal_Bool IsDatabaseDocumentToBeRegistered();
323*cdf0e10cSrcweir         sal_Bool IsDatabaseDocumentToBeOpened();
324*cdf0e10cSrcweir         sal_Bool IsTableWizardToBeStarted();
325*cdf0e10cSrcweir         void enableTableWizardCheckBox( sal_Bool _bSupportsTableCreation);
326*cdf0e10cSrcweir 
327*cdf0e10cSrcweir         /// may be used in SetXXXHdl calls to controls, is a link to <method>OnControlModified</method>
328*cdf0e10cSrcweir         Link getControlModifiedLink() { return LINK(this, OGenericAdministrationPage, OnControlModified); }
329*cdf0e10cSrcweir 
330*cdf0e10cSrcweir         DECL_LINK(OnOpenSelected, CheckBox*);
331*cdf0e10cSrcweir     protected:
332*cdf0e10cSrcweir         virtual ~OFinalDBPageSetup();
333*cdf0e10cSrcweir 
334*cdf0e10cSrcweir     protected:
335*cdf0e10cSrcweir         virtual void implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue);
336*cdf0e10cSrcweir         virtual void fillControls(::std::vector< ISaveValueWrapper* >& _rControlList);
337*cdf0e10cSrcweir         virtual void fillWindows(::std::vector< ISaveValueWrapper* >& _rControlList);
338*cdf0e10cSrcweir     };
339*cdf0e10cSrcweir 
340*cdf0e10cSrcweir //.........................................................................
341*cdf0e10cSrcweir }   // namespace dbaui
342*cdf0e10cSrcweir //.........................................................................
343*cdf0e10cSrcweir 
344*cdf0e10cSrcweir #endif
345