1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_DBACCESS_SOURCE_UI_DLG_DRIVERSETTINGS_HXX
20 #define INCLUDED_DBACCESS_SOURCE_UI_DLG_DRIVERSETTINGS_HXX
22 #include "dsntypes.hxx"
23 #include <svl/poolitem.hxx>
24 #include <vcl/vclptr.hxx>
28 namespace vcl
{ class Window
; }
31 /// a collection class for all details a driver needs
32 class ODriversSettings
36 /** filles the IDs of the settings which are reflected in indirect data source properties
37 (aka properties in the css.sdb.DataSource.Info sequence)
40 The Type of the data source.
41 @param _out_rDetailsIds
44 static void getSupportedIndirectSettings( const OUString
& _sURLPrefix
,const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
>& _xContext
,::std::vector
< sal_Int32
>& _out_rDetailsIds
);
46 /** Creates the detail page for Dbase
48 static VclPtr
<SfxTabPage
> CreateDbase2( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
50 /** Creates the detail page for ado
52 static VclPtr
<SfxTabPage
> CreateDbase( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
54 /** Creates the detail page for ado
56 static VclPtr
<SfxTabPage
> CreateAdo( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
58 /** Creates the detail page for ODBC
60 static VclPtr
<SfxTabPage
> CreateODBC( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
62 /** Creates the detail page for user
64 static VclPtr
<SfxTabPage
> CreateUser( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
66 /** Creates the detail page for MySQLODBC
68 static VclPtr
<SfxTabPage
> CreateMySQLODBC( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
70 /** Creates the detail page for MySQLJDBC
72 static VclPtr
<SfxTabPage
> CreateMySQLJDBC( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
74 /** Creates the detail page for MySQLNATIVE
76 static VclPtr
<SfxTabPage
> CreateMySQLNATIVE( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
78 /** Creates the detail page for Oracle JDBC
80 static VclPtr
<SfxTabPage
> CreateOracleJDBC( vcl::Window
* pParent
, const SfxItemSet
* _rAttrSet
);
82 /** Creates the detail page for LDAP
84 static VclPtr
<SfxTabPage
> CreateLDAP( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
86 /// Creates the detail page for Text
87 static VclPtr
<SfxTabPage
> CreateText( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
90 /// creates the GeneratedValues page
91 static VclPtr
<SfxTabPage
> CreateGeneratedValuesPage( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
93 /// creates the "Special Settings" page of the "Advanced Settings" dialog
94 static VclPtr
<SfxTabPage
> CreateSpecialSettingsPage( vcl::Window
* _pParent
, const SfxItemSet
* _rAttrSet
);
98 #endif // INCLUDED_DBACCESS_SOURCE_UI_DLG_DRIVERSETTINGS_HXX
100 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */