LibreOffice Module connectivity (master) 1
Namespaces | Functions
dbtools2.cxx File Reference
#include <connectivity/dbtools.hxx>
#include <connectivity/dbconversion.hxx>
#include <connectivity/dbcharset.hxx>
#include <SQLStatementHelper.hxx>
#include <unotools/confignode.hxx>
#include <resource/sharedresources.hxx>
#include <strings.hrc>
#include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/sdbc/XDataSource.hpp>
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/DriverManager.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
#include <com/sun/star/sdbcx/XKeysSupplier.hpp>
#include <com/sun/star/sdbcx/XDataDefinitionSupplier.hpp>
#include <com/sun/star/sdbcx/Privilege.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/sdbc/KeyRule.hpp>
#include <com/sun/star/sdbcx/KeyType.hpp>
#include <TConnection.hxx>
#include <connectivity/sdbcx/VColumn.hxx>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <comphelper/types.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <unotools/sharedunocomponent.hxx>
#include <algorithm>
#include <string_view>
Include dependency graph for dbtools2.cxx:

Go to the source code of this file.

Namespaces

namespace  dbtools
 

Functions

OUString dbtools::createStandardTypePart (const Reference< XPropertySet > &xColProp, const Reference< XConnection > &_xConnection, std::u16string_view _sCreatePattern)
 
OUString dbtools::createStandardColumnPart (const Reference< XPropertySet > &xColProp, const Reference< XConnection > &_xConnection, ISQLStatementHelper *_pHelper, std::u16string_view _sCreatePattern)
 
OUString dbtools::createStandardCreateStatement (const Reference< XPropertySet > &descriptor, const Reference< XConnection > &_xConnection, ISQLStatementHelper *_pHelper, std::u16string_view _sCreatePattern)
 
OUString dbtools::createStandardKeyStatement (const Reference< XPropertySet > &descriptor, const Reference< XConnection > &_xConnection)
 
OUString dbtools::createSqlCreateTableStatement (const Reference< XPropertySet > &descriptor, const Reference< XConnection > &_xConnection)
 
Reference< XPropertySetdbtools::createSDBCXColumn (const Reference< XPropertySet > &_xTable, const Reference< XConnection > &_xConnection, const OUString &_rName, bool _bCase, bool _bQueryForInfo, bool _bIsAutoIncrement, bool _bIsCurrency, sal_Int32 _nDataType)
 
bool dbtools::getBooleanDataSourceSetting (const Reference< XConnection > &_rxConnection, const char *_pAsciiSettingName)
 
bool dbtools::getBooleanDataSourceSetting (const Reference< XConnection > &_rxConnection, const OUString &rSettingName)
 
bool dbtools::getDataSourceSetting (const Reference< XInterface > &_xChild, const OUString &_sAsciiSettingsName, Any &_rSettingsValue)
 
bool dbtools::getDataSourceSetting (const Reference< XInterface > &_rxDataSource, const char *_pAsciiSettingsName, Any &_rSettingsValue)
 
bool dbtools::isDataSourcePropertyEnabled (const Reference< XInterface > &_xProp, const OUString &_sProperty, bool _bDefault)
 
Reference< XTablesSupplier > dbtools::getDataDefinitionByURLAndConnection (const OUString &_rsUrl, const Reference< XConnection > &_xConnection, const Reference< XComponentContext > &_rxContext)
 
sal_Int32 dbtools::getTablePrivileges (const Reference< XDatabaseMetaData > &_xMetaData, const OUString &_sCatalog, const OUString &_sSchema, const OUString &_sTable)
 
void dbtools::collectColumnInformation (const Reference< XConnection > &_xConnection, std::u16string_view _sComposedName, std::u16string_view _rName, ColumnInformationMap &_rInfo)
 
bool dbtools::isEmbeddedInDatabase (const Reference< XInterface > &_rxComponent, Reference< XConnection > &_rxActualConnection)
 
OUString dbtools::getDefaultReportEngineServiceName (const Reference< XComponentContext > &_rxORB)
 
bool dbtools::isAggregateColumn (const Reference< XSingleSelectQueryComposer > &_xParser, const Reference< XPropertySet > &_xField)
 
bool dbtools::isAggregateColumn (const Reference< XNameAccess > &_xColumns, const OUString &_sName)
 
bool dbtools::isAggregateColumn (const Reference< XPropertySet > &_xColumn)