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: DriverSettings.hxx,v $
10 * $Revision: 1.9.68.1 $
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 ************************************************************************/
30 #ifndef DBAUI_DRIVERSETTINGS_HXX
31 #define DBAUI_DRIVERSETTINGS_HXX
33 #ifndef _DBAUI_DSNTYPES_HXX_
34 #include "dsntypes.hxx"
36 #include <svtools/poolitem.hxx>
43 /// a collection class for all details a driver needs
44 class ODriversSettings
48 /** filles the IDs of the settings which are reflected in indirect data source properties
49 (aka properties in the css.sdb.DataSource.Info sequence)
52 The Type of the data source.
53 @param _out_rDetailsIds
56 static void getSupportedIndirectSettings( const ::rtl::OUString
& _sURLPrefix
,const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory
>& _xFactory
,::std::vector
< sal_Int32
>& _out_rDetailsIds
);
58 /** Creates the detail page for Dbase
60 static SfxTabPage
* CreateDbase2( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
62 /** Creates the detail page for ado
64 static SfxTabPage
* CreateDbase( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
66 /** Creates the detail page for ado
68 static SfxTabPage
* CreateAdo( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
70 /** Creates the detail page for ODBC
72 static SfxTabPage
* CreateODBC( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
74 /** Creates the detail page for user
76 static SfxTabPage
* CreateUser( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
78 /** Creates the detail page for MySQLODBC
80 static SfxTabPage
* CreateMySQLODBC( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
82 /** Creates the detail page for MySQLJDBC
84 static SfxTabPage
* CreateMySQLJDBC( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
86 /** Creates the detail page for MySQLNATIVE
88 static SfxTabPage
* CreateMySQLNATIVE( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
90 /** Creates the detail page for Oracle JDBC
92 static SfxTabPage
* CreateOracleJDBC( Window
* pParent
, const SfxItemSet
& _rAttrSet
);
94 /** Creates the detail page for Adabas
96 static SfxTabPage
* CreateAdabas( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
98 /** Creates the detail page for LDAP
100 static SfxTabPage
* CreateLDAP( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
102 /// Creates the detail page for Text
103 static SfxTabPage
* CreateText( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
106 /// creates the GeneratedValues page
107 static SfxTabPage
* CreateGeneratedValuesPage( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
109 /// creates the "Special Settings" page of the "Advanced Settings" dialog
110 static SfxTabPage
* CreateSpecialSettingsPage( Window
* _pParent
, const SfxItemSet
& _rAttrSet
);
114 #endif // DBAUI_DRIVERSETTINGS_HXX