83#define PAGE_DBSETUPWIZARD_INTRO 0
84#define PAGE_DBSETUPWIZARD_DBASE 1
85#define PAGE_DBSETUPWIZARD_TEXT 2
86#define PAGE_DBSETUPWIZARD_MSACCESS 3
87#define PAGE_DBSETUPWIZARD_LDAP 4
89#define PAGE_DBSETUPWIZARD_MYSQL_INTRO 6
90#define PAGE_DBSETUPWIZARD_MYSQL_JDBC 7
91#define PAGE_DBSETUPWIZARD_MYSQL_ODBC 8
92#define PAGE_DBSETUPWIZARD_ORACLE 9
93#define PAGE_DBSETUPWIZARD_JDBC 10
94#define PAGE_DBSETUPWIZARD_ADO 11
95#define PAGE_DBSETUPWIZARD_ODBC 12
96#define PAGE_DBSETUPWIZARD_DOCUMENT_OR_SPREADSHEET 13
97#define PAGE_DBSETUPWIZARD_AUTHENTIFICATION 14
98#define PAGE_DBSETUPWIZARD_FINAL 16
99#define PAGE_DBSETUPWIZARD_USERDEFINED 17
100#define PAGE_DBSETUPWIZARD_MYSQL_NATIVE 18
101#define PAGE_DBSETUPWIZARD_POSTGRES 19
111#if OSL_DEBUG_LEVEL > 0
119 ODsnTypeCollection(
const css::uno::Reference< css::uno::XComponentContext >& _xContext);
123 OUString getTypeDisplayName(std::u16string_view _sURL)
const;
126 OUString cutPrefix(std::u16string_view _sURL)
const;
129 OUString getPrefix(std::u16string_view _sURL)
const;
132 bool hasDriver(
const char* _pAsciiPattern )
const;
135 OUString getJavaDriverClass(std::u16string_view _sURL)
const;
138 OUString getMediaType(std::u16string_view _sURL)
const;
141 OUString getDatasourcePrefixFromMediaType(std::u16string_view _sMediaType, std::u16string_view _sExtension );
143 void extractHostNamePort(
const OUString& _rDsn,OUString& _sDatabaseName,OUString& _rHostname,sal_Int32& _nPortNumber)
const;
146 bool supportsTableCreation(std::u16string_view _sURL)
const;
149 bool supportsColumnDescription(std::u16string_view _sURL)
const;
152 bool supportsBrowsing(std::u16string_view _sURL)
const;
155 bool supportsDBCreation(std::u16string_view _sURL)
const;
158 bool isFileSystemBased(std::u16string_view _sURL)
const;
160 bool isConnectionUrlRequired(std::u16string_view _sURL)
const;
163 static bool isEmbeddedDatabase( std::u16string_view _sURL );
165 static OUString getEmbeddedDatabase();
168 static bool isShowPropertiesEnabled(
const OUString& _sURL );
172 css::uno::Sequence< css::beans::PropertyValue>
173 getDefaultDBSettings( std::u16string_view _sURL )
const;
176 inline TypeIterator
begin()
const;
178 inline TypeIterator
end()
const;
180 void fillPageIds(std::u16string_view _sURL,std::vector<sal_Int16>& _rOutPathIds)
const;
184 sal_Int32 getIndexOf(std::u16string_view _sURL)
const;
185 sal_Int32
size()
const;
186 OUString
getType(std::u16string_view _sURL)
const;
std::vector< OUString > m_aDsnTypesDisplayNames
TypeIterator end() const
get access to the (last + 1st) element of the types collection
const ODsnTypeCollection * m_pContainer
friend bool OOO_DLLPUBLIC_DBA operator==(const TypeIterator &lhs, const TypeIterator &rhs)
friend bool OOO_DLLPUBLIC_DBA operator!=(const TypeIterator &lhs, const TypeIterator &rhs)
OUString const & getDisplayName() const
::connectivity::DriversConfig m_aDriverConfig
DSN prefixes which determine the type of a datasource.
TypeIterator begin() const
get access to the first element of the types collection
OUString const & getURLPrefix() const
TypeIterator(const ODsnTypeCollection *_pContainer, sal_Int32 _nInitialPos)
sal_Int32 m_nLivingIterators
std::vector< OUString > m_aDsnPrefixes
user readable names for the datasource types
const TypeIterator & operator++()
prefix increment
TypeIterator(const TypeIterator &_rSource)
#define OOO_DLLPUBLIC_DBA
DATASOURCE_TYPE
known datasource types
@ DST_USERDEFINE1
for all embedded addons driver
@ DST_USERDEFINE2
first user defined driver
@ DST_EVOLUTION_GROUPWISE
@ DST_UNKNOWN
unrecognized type
@ DST_MYSQL_NATIVE_DIRECT
enumrange< T >::Iterator begin(enumrange< T >)
bool getType(BSTR name, Type &type)