2004-08-02 14:41:23 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 13:33:30 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2004-08-02 14:41:23 +00:00
|
|
|
*
|
2010-02-12 15:01:35 +01:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2004-08-02 14:41:23 +00:00
|
|
|
*
|
2008-04-10 13:33:30 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-08-02 14:41:23 +00:00
|
|
|
*
|
2008-04-10 13:33:30 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2004-08-02 14:41:23 +00:00
|
|
|
*
|
2008-04-10 13:33:30 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2004-08-02 14:41:23 +00:00
|
|
|
*
|
2008-04-10 13:33:30 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2004-08-02 14:41:23 +00:00
|
|
|
*
|
2008-04-10 13:33:30 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2004-08-02 14:41:23 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
#ifndef DBAUI_DRIVERSETTINGS_HXX
|
|
|
|
#define DBAUI_DRIVERSETTINGS_HXX
|
|
|
|
|
|
|
|
#include "dsntypes.hxx"
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/poolitem.hxx>
|
2004-08-02 14:41:23 +00:00
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
class SfxTabPage;
|
|
|
|
class Window;
|
|
|
|
namespace dbaui
|
|
|
|
{
|
|
|
|
/// a collection class for all details a driver needs
|
|
|
|
class ODriversSettings
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2007-11-01 14:07:02 +00:00
|
|
|
/** filles the IDs of the settings which are reflected in indirect data source properties
|
|
|
|
(aka properties in the css.sdb.DataSource.Info sequence)
|
|
|
|
|
2004-08-02 14:41:23 +00:00
|
|
|
@param _eType
|
|
|
|
The Type of the data source.
|
2007-11-01 14:07:02 +00:00
|
|
|
@param _out_rDetailsIds
|
2004-08-02 14:41:23 +00:00
|
|
|
Will be filled.
|
|
|
|
*/
|
2009-07-03 12:24:35 +00:00
|
|
|
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 );
|
2004-08-02 14:41:23 +00:00
|
|
|
|
|
|
|
/** Creates the detail page for Dbase
|
|
|
|
*/
|
2004-10-27 12:00:07 +00:00
|
|
|
static SfxTabPage* CreateDbase2( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
/** Creates the detail page for ado
|
|
|
|
*/
|
2004-08-02 14:41:23 +00:00
|
|
|
static SfxTabPage* CreateDbase( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
/** Creates the detail page for ado
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateAdo( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
/** Creates the detail page for ODBC
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateODBC( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
/** Creates the detail page for user
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateUser( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
/** Creates the detail page for MySQLODBC
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateMySQLODBC( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
/** Creates the detail page for MySQLJDBC
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateMySQLJDBC( Window* _pParent, const SfxItemSet& _rAttrSet );
|
2008-03-05 15:55:58 +00:00
|
|
|
|
|
|
|
/** Creates the detail page for MySQLNATIVE
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateMySQLNATIVE( Window* _pParent, const SfxItemSet& _rAttrSet );
|
2004-08-02 14:41:23 +00:00
|
|
|
|
|
|
|
/** Creates the detail page for Oracle JDBC
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateOracleJDBC( Window* pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
/** Creates the detail page for Adabas
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateAdabas( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
/** Creates the detail page for LDAP
|
|
|
|
*/
|
|
|
|
static SfxTabPage* CreateLDAP( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
2006-12-13 15:49:04 +00:00
|
|
|
/// Creates the detail page for Text
|
2004-08-02 14:41:23 +00:00
|
|
|
static SfxTabPage* CreateText( Window* _pParent, const SfxItemSet& _rAttrSet );
|
|
|
|
|
|
|
|
|
2006-12-13 15:49:04 +00:00
|
|
|
/// creates the GeneratedValues page
|
|
|
|
static SfxTabPage* CreateGeneratedValuesPage( Window* _pParent, const SfxItemSet& _rAttrSet );
|
2004-08-02 14:41:23 +00:00
|
|
|
|
2007-11-01 14:07:02 +00:00
|
|
|
/// creates the "Special Settings" page of the "Advanced Settings" dialog
|
|
|
|
static SfxTabPage* CreateSpecialSettingsPage( Window* _pParent, const SfxItemSet& _rAttrSet );
|
2004-08-02 14:41:23 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // DBAUI_DRIVERSETTINGS_HXX
|
|
|
|
|