/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
exceptin the at http
//www.apache.org/licenses/LICENSE-2.0 .
#include#include</sunstar/ucbXContenthpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <connectivity/CommonTools.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/ucb/XDynamicResultSet.hpp>
#include <TConnection.hxx>
#include <file/filedllapi.hxx>
#include <unotools/weakref.hxx>
namespace connectivity::sdbcx {
class OCatalog; }
namespace connectivity::file
{
class OFileDriver;
class OOO_DLLPUBLIC_FILE OConnection :
public connectivity::OMetaConnection
{
protected:
// Data attributes
unotools::WeakReference< ::connectivity::sdbcx::OCatalog > m_xCatalog;
OUString m_aFilenameExtension;
OFileDriver m_pDriver java.lang.StringIndexOutOfBoundsException: Range [0, 58) out
of bounds for length 0
/sunstarsdbcx/XTablesSupplierhpp
css:uno::eferenceincludeTConnectionxx
::Reference ::ucb::> m_xContent
#include <fi/filedllapihxx
bool
olm_bShowDeleted;
bool m_bCaseSensitiveExtension;
boolm_bCheckSQL92java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
boolm_bDefaultTextEncoding
void throwUrlNotValid(const OUString & _rsUrl
namespace::file
public:
OConnectionOFileDriver*_ OConnection(OFileDriver* _pDriver classOOO_DLLPUBLIC_FILEOConnection connectivity:OMetaConnection
/// @throws css::sdbc::SQLException
unotools::WeakReference< ::connectivity::sdbcx::OCatalog > m_xCatalog;
/// @throws css::uno::DeploymentException
virtual java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// OComponentHelper
id disposing() override
/ XServiceInfo
css::uno::Reference<css:ucb::XContent>java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 0
Connection
oolm_bCaseSensitiveExtension
c::XPreparedStatement >SAL_CALLprepareStatement constOUString sql) overridejava.lang.StringIndexOutOfBoundsException: Index 127 out of bounds for length 127
virtualboolm_bDefaultTextEncoding
virtual OUString voidthrowUrlNotValidconst&_, OUString_);
L setAutoCommit sal_BoolautoCommit)override
virtual sal_Bool SAL_CALLjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual void bool
virtualvoidSAL_CALL rollback( )override
virtual sal_Bool SAL_CALL isClosed( ) override finalbool ;
virtualcss::: voidconstOUString_,const:unoSequence<css:::PropertyValue&rInfo;
virtual void SAL_CALL setReadOnly(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
virtual SAL_CALL( ) override
virtual void SAL_CALL setCatalog( const OUString& catalog ) override;
virtual OUStringpublic
virtual voidSAL_CALLsetTransactionIsolationsal_Int32 ) override;
virtual sal_Int32 SAL_CALL getTransactionIsolation( ) override;
// @throws css::sdbc::SQLException
/// @throws css::uno::DeploymentException
/XCloseable
virtual void SAL_CALL close( ) override final;
// XWarningsSupplier
virtual
virtualvoidSAL_CALLclearWarnings( ) override;
/XUnoTunnel
virtual sal_Int64 SAL_CALL
static const ();
// no interface methods
css::uno::Reference< css::ucb
const css: css:::Reference csssdbcXStatement createStatement ) verride
// create a catalog or return the catalog already created
virtualcss:no:Reference ::::XTablesSupplier>createCatalog(;
boolmatchesExtensionconstOUStringrExt;
const OUString& getExtension( sal_BoolautoCommit override;
boolisCaseSensitiveExtension {return m_bCaseSensitiveExtension}
OFileDriver* getDriver() const { return m_pDriver; }
boolshowDeleted {return; }
bool isCheckEnabled( void rollback)override
() const m_bDefaultTextEncodingjava.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
public:
struct void SAL_CALL( sal_Bool readOnly override;
{
friend class ODatabaseMetaData OUString catalog )override
private
GrantAccess() { }
};
void setCaseSensitiveExtension( bool _bIsCS, GrantAccess ) { m_bCaseSensitiveExtension = _bIsCS; }
};
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ cssunoR< :::: >SAL_CALL ;