LibreOffice Module svx (master)  1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
dbtools Namespace Reference

Namespaces

 DBTypeConversion
 
 param
 

Classes

class  CharsetIteratorDerefHelper
 
class  DatabaseMetaData
 
struct  DatabaseMetaData_Impl
 
class  FilterManager
 
class  FormattedColumnValue
 
struct  FormattedColumnValue_Data
 
class  ISQLStatementHelper
 
class  OAutoConnectionDisposer
 
class  OCharsetMap
 
class  OParameterContinuation
 
class  OPredicateInputController
 
class  OPropertyMap
 
class  ParameterManager
 
class  SQLExceptionInfo
 
class  SQLExceptionIteratorHelper
 
class  StatementComposer
 
struct  StatementComposer_Data
 
class  WarningsContainer
 

Typedefs

typedef ::cppu::WeakImplHelper< css::beans::XPropertyChangeListener, css::sdbc::XRowSetListener > OAutoConnectionDisposer_Base
 
typedef ::utl::SharedUNOComponent< css::sdbc::XConnection > SharedConnection
 
typedef ::std::pair< bool, bool > TBoolPair
 
typedef ::std::pair< TBoolPair, sal_Int32 > ColumnInformation
 
typedef ::std::multimap< OUString, ColumnInformation,::comphelper::UStringMixLessColumnInformationMap
 
typedef ::utl::SharedUNOComponent< css::sdb::XSingleSelectQueryComposer,::utl::DisposableComponentSharedQueryComposer
 

Enumerations

enum  OOoBaseErrorCode
 
enum  EComposeRule {
  EComposeRule::InTableDefinitions,
  EComposeRule::InIndexDefinitions,
  EComposeRule::InDataManipulation,
  EComposeRule::InProcedureCalls,
  EComposeRule::InPrivilegeDefinitions,
  EComposeRule::Complete
}
 
enum  StandardSQLState {
  StandardSQLState::INVALID_DESCRIPTOR_INDEX,
  StandardSQLState::INVALID_CURSOR_STATE,
  StandardSQLState::COLUMN_NOT_FOUND,
  StandardSQLState::GENERAL_ERROR,
  StandardSQLState::INVALID_SQL_DATA_TYPE,
  StandardSQLState::FUNCTION_SEQUENCE_ERROR,
  StandardSQLState::INVALID_CURSOR_POSITION,
  StandardSQLState::FEATURE_NOT_IMPLEMENTED,
  StandardSQLState::FUNCTION_NOT_SUPPORTED,
  StandardSQLState::CONNECTION_DOES_NOT_EXIST,
  StandardSQLState::ERROR_UNSPECIFIED
}
 

Functions

static bool isCharOk (sal_Unicode c, const OUString &_rSpecials)
 
bool isValidSQLName (const OUString &_rName, const OUString &_rSpecials)
 
OUString convertName2SQLName (const OUString &_rName, const OUString &_rSpecials)
 
OUString quoteName (const OUString &_rQuote, const OUString &_rName)
 
bool operator== (const OCharsetMap::CharsetIterator &lhs, const OCharsetMap::CharsetIterator &rhs)
 
static bool implIsLeapYear (sal_Int32 _nYear)
 
static sal_Int32 implDaysInMonth (sal_Int32 _nMonth, sal_Int32 _nYear)
 
static sal_Int32 implRelativeToAbsoluteNull (const css::util::Date &_rDate)
 
static void implBuildFromRelative (const sal_Int32 nDays, sal_uInt16 &rDay, sal_uInt16 &rMonth, sal_Int16 &rYear)
 
static void addDays (const sal_Int32 nDays, css::util::Date &_rDate)
 
static void subDays (const sal_Int32 nDays, css::util::Date &_rDate)
 
void throwFunctionSequenceException (const Reference< XInterface > &Context, const Any &Next)
 
void throwInvalidIndexException (const css::uno::Reference< css::uno::XInterface > &Context, const css::uno::Any &Next=css::uno::Any())
 
void throwFunctionNotSupportedSQLException (const OUString &_rFunctionName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 
void throwFunctionNotSupportedRuntimeException (const OUString &_rFunctionName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 
void throwGenericSQLException (const OUString &_rMsg, const css::uno::Reference< css::uno::XInterface > &_rxSource)
 
void throwGenericSQLException (const OUString &_rMsg, const Reference< XInterface > &_rxSource, const Any &_rNextException)
 
void throwFeatureNotImplementedSQLException (const OUString &_rFeatureName, const Reference< XInterface > &_rxContext, const Any &_rNextException)
 
void throwFeatureNotImplementedRuntimeException (const OUString &_rFeatureName, const Reference< XInterface > &_rxContext)
 
void throwInvalidColumnException (const OUString &_rColumnName, const Reference< XInterface > &_rxContext)
 
void throwSQLException (const OUString &_rMessage, const OUString &_rSQLState, const Reference< XInterface > &_rxContext, const sal_Int32 _nErrorCode)
 
void throwSQLException (const OUString &_rMessage, StandardSQLState _eSQLState, const Reference< XInterface > &_rxContext, const sal_Int32 _nErrorCode)
 
OUString getStandardSQLState (StandardSQLState _eState)
 
sal_Int32 getDefaultNumberFormat (const Reference< XPropertySet > &_xColumn, const Reference< XNumberFormatTypes > &_xTypes, const Locale &_rLocale)
 
sal_Int32 getDefaultNumberFormat (sal_Int32 _nDataType, sal_Int32 _nScale, bool _bIsCurrency, const Reference< XNumberFormatTypes > &_xTypes, const Locale &_rLocale)
 
static Reference< XConnection > findConnection (const Reference< XInterface > &xParent)
 
static Reference< XDataSource > getDataSource_allowException (const OUString &_rsTitleOrPath, const Reference< XComponentContext > &_rxContext)
 
Reference< XDataSource > getDataSource (const OUString &_rsTitleOrPath, const Reference< XComponentContext > &_rxContext)
 
static Reference< XConnection > getConnection_allowException (const OUString &_rsTitleOrPath, const OUString &_rsUser, const OUString &_rsPwd, const Reference< XComponentContext > &_rxContext, const Reference< XWindow > &_rxParent)
 
Reference< XConnection > getConnection_withFeedback (const OUString &_rDataSourceName, const OUString &_rUser, const OUString &_rPwd, const Reference< XComponentContext > &_rxContext, const Reference< XWindow > &_rxParent)
 
Reference< XConnection > getConnection (const Reference< XRowSet > &_rxRowSet)
 
static SharedConnection lcl_connectRowSet (const Reference< XRowSet > &_rxRowSet, const Reference< XComponentContext > &_rxContext, bool _bAttachAutoDisposer, const Reference< XWindow > &_rxParent)
 
Reference< XConnection > connectRowset (const Reference< XRowSet > &_rxRowSet, const Reference< XComponentContext > &_rxContext, const Reference< XWindow > &_rxParent)
 
SharedConnection ensureRowSetConnection (const Reference< XRowSet > &_rxRowSet, const Reference< XComponentContext > &_rxContext, const Reference< XWindow > &_rxParent)
 
Reference< XNameAccess > getTableFields (const Reference< XConnection > &_rxConn, const OUString &_rName)
 
Reference< XNameAccess > getPrimaryKeyColumns_throw (const Any &i_aTable)
 
Reference< XNameAccess > getPrimaryKeyColumns_throw (const Reference< XPropertySet > &i_xTable)
 
Reference< XNameAccess > getFieldsByCommandDescriptor (const Reference< XConnection > &_rxConnection, const sal_Int32 _nCommandType, const OUString &_rCommand, Reference< XComponent > &_rxKeepFieldsAlive, SQLExceptionInfo *_pErrorInfo)
 
Sequence< OUString > getFieldNamesByCommandDescriptor (const Reference< XConnection > &_rxConnection, const sal_Int32 _nCommandType, const OUString &_rCommand, SQLExceptionInfo *_pErrorInfo)
 
SQLException prependErrorInfo (const SQLException &_rChainedException, const Reference< XInterface > &_rxContext, const OUString &_rAdditionalError, const StandardSQLState _eSQLState)
 
static OUString impl_doComposeTableName (const Reference< XDatabaseMetaData > &_rxMetaData, const OUString &_rCatalog, const OUString &_rSchema, const OUString &_rName, bool _bQuote, EComposeRule _eComposeRule)
 
OUString quoteTableName (const Reference< XDatabaseMetaData > &_rxMeta, const OUString &_rName, EComposeRule _eComposeRule)
 
void qualifiedNameComponents (const Reference< XDatabaseMetaData > &_rxConnMetaData, const OUString &_rQualifiedName, OUString &_rCatalog, OUString &_rSchema, OUString &_rName, EComposeRule _eComposeRule)
 
Reference< XNumberFormatsSupplier > getNumberFormats (const Reference< XConnection > &_rxConn, bool _bAlloweDefault, const Reference< XComponentContext > &_rxContext)
 
void TransferFormComponentProperties (const Reference< XPropertySet > &xOldProps, const Reference< XPropertySet > &xNewProps, const Locale &_rLocale)
 
bool canInsert (const Reference< XPropertySet > &_rxCursorSet)
 
bool canUpdate (const Reference< XPropertySet > &_rxCursorSet)
 
bool canDelete (const Reference< XPropertySet > &_rxCursorSet)
 
Reference< XDataSource > findDataSource (const Reference< XInterface > &_xParent)
 
static Reference< XSingleSelectQueryComposer > getComposedRowSetStatement (const Reference< XPropertySet > &_rxRowSet, const Reference< XComponentContext > &_rxContext, const Reference< XWindow > &_rxParent)
 
Reference< XSingleSelectQueryComposer > getCurrentSettingsComposer (const Reference< XPropertySet > &_rxRowSetProps, const Reference< XComponentContext > &_rxContext, const Reference< XWindow > &_rxParent)
 
OUString composeTableName (const Reference< XDatabaseMetaData > &_rxMetaData, const OUString &_rCatalog, const OUString &_rSchema, const OUString &_rName, bool _bQuote, EComposeRule _eComposeRule)
 
OUString composeTableNameForSelect (const Reference< XConnection > &_rxConnection, const OUString &_rCatalog, const OUString &_rSchema, const OUString &_rName)
 
OUString composeTableNameForSelect (const Reference< XConnection > &_rxConnection, const Reference< XPropertySet > &_xTable)
 
OUString composeTableName (const Reference< XDatabaseMetaData > &_xMetaData, const Reference< XPropertySet > &_xTable, EComposeRule _eComposeRule, bool _bQuote)
 
sal_Int32 getSearchColumnFlag (const Reference< XConnection > &_rxConn, sal_Int32 _nDataType)
 
OUString createUniqueName (const Sequence< OUString > &_rNames, const OUString &_rBaseName, bool _bStartWithNumber)
 
OUString createUniqueName (const Reference< XNameAccess > &_rxContainer, const OUString &_rBaseName, bool _bStartWithNumber)
 
void showError (const SQLExceptionInfo &_rInfo, const Reference< XWindow > &_xParent, const Reference< XComponentContext > &_rxContext)
 
bool implUpdateObject (const Reference< XRowUpdate > &_rxUpdatedObject, const sal_Int32 _nColumnIndex, const Any &_rValue)
 
bool implSetObject (const Reference< XParameters > &_rxParameters, const sal_Int32 _nColumnIndex, const Any &_rValue)
 
void askForParameters (const Reference< XSingleSelectQueryComposer > &_xComposer, const Reference< XParameters > &_xParameters, const Reference< XConnection > &_xConnection, const Reference< XInteractionHandler > &_rxHandler, const std::vector< bool, std::allocator< bool > > &_aParametersSet)
 
void setObjectWithInfo (const Reference< XParameters > &_xParams, sal_Int32 parameterIndex, const Any &x, sal_Int32 sqlType, sal_Int32 scale)
 
void setObjectWithInfo (const Reference< XParameters > &_xParams, sal_Int32 parameterIndex, const ::connectivity::ORowSetValue &_rValue, sal_Int32 sqlType, sal_Int32 scale)
 
void getBooleanComparisonPredicate (const OUString &_rExpression, const bool _bValue, const sal_Int32 _nBooleanComparisonMode, OUStringBuffer &_out_rSQLPredicate)
 
OUString createStandardTypePart (const Reference< XPropertySet > &xColProp, const Reference< XConnection > &_xConnection, const OUString &_sCreatePattern)
 
OUString createStandardColumnPart (const Reference< XPropertySet > &xColProp, const Reference< XConnection > &_xConnection, ISQLStatementHelper *_pHelper, const OUString &_sCreatePattern)
 
OUString createStandardCreateStatement (const Reference< XPropertySet > &descriptor, const Reference< XConnection > &_xConnection, ISQLStatementHelper *_pHelper, const OUString &_sCreatePattern)
 
OUString createStandardKeyStatement (const Reference< XPropertySet > &descriptor, const Reference< XConnection > &_xConnection)
 
OUString createSqlCreateTableStatement (const Reference< XPropertySet > &descriptor, const Reference< XConnection > &_xConnection)
 
Reference< XPropertySet > createSDBCXColumn (const Reference< XPropertySet > &_xTable, const Reference< XConnection > &_xConnection, const OUString &_rName, bool _bCase, bool _bQueryForInfo, bool _bIsAutoIncrement, bool _bIsCurrency, sal_Int32 _nDataType)
 
bool getBooleanDataSourceSetting (const Reference< XConnection > &_rxConnection, const char *_pAsciiSettingName)
 
bool getDataSourceSetting (const Reference< XInterface > &_xChild, const OUString &_sAsciiSettingsName, Any &_rSettingsValue)
 
bool getDataSourceSetting (const Reference< XInterface > &_rxDataSource, const char *_pAsciiSettingsName, Any &_rSettingsValue)
 
bool isDataSourcePropertyEnabled (const Reference< XInterface > &_xProp, const OUString &_sProperty, bool _bDefault)
 
Reference< XTablesSupplier > getDataDefinitionByURLAndConnection (const OUString &_rsUrl, const Reference< XConnection > &_xConnection, const Reference< XComponentContext > &_rxContext)
 
sal_Int32 getTablePrivileges (const Reference< XDatabaseMetaData > &_xMetaData, const OUString &_sCatalog, const OUString &_sSchema, const OUString &_sTable)
 
void collectColumnInformation (const Reference< XConnection > &_xConnection, const OUString &_sComposedName, const OUString &_rName, ColumnInformationMap &_rInfo)
 
bool isEmbeddedInDatabase (const Reference< XInterface > &_rxComponent, Reference< XConnection > &_rxActualConnection)
 
static OUString lcl_getReportEngines ()
 
static OUString lcl_getDefaultReportEngine ()
 
static OUString lcl_getReportEngineNames ()
 
OUString getDefaultReportEngineServiceName (const Reference< XComponentContext > &_rxORB)
 
bool isAggregateColumn (const Reference< XSingleSelectQueryComposer > &_xParser, const Reference< XPropertySet > &_xField)
 
bool isAggregateColumn (const Reference< XNameAccess > &_xColumns, const OUString &_sName)
 
bool isAggregateColumn (const Reference< XPropertySet > &_xColumn)
 
static sal_Unicode lcl_getSeparatorChar (const OUString &_rSeparator, sal_Unicode _nFallback)
 
static void lcl_concatWarnings (Any &_rChainLeft, const Any &_rChainRight)
 
OOO_DLLPUBLIC_DBTOOLS void throwFunctionSequenceException (const css::uno::Reference< css::uno::XInterface > &Context, const css::uno::Any &Next=css::uno::Any())
 
OOO_DLLPUBLIC_DBTOOLS void throwGenericSQLException (const OUString &_rMsg, const css::uno::Reference< css::uno::XInterface > &_rxSource, const css::uno::Any &_rNextException)
 
OOO_DLLPUBLIC_DBTOOLS void throwFeatureNotImplementedSQLException (const OUString &_rFeatureName, const css::uno::Reference< css::uno::XInterface > &_rxContext, const css::uno::Any &_rNextException=css::uno::Any())
 
OOO_DLLPUBLIC_DBTOOLS void throwFeatureNotImplementedRuntimeException (const OUString &_rFeatureName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 
OOO_DLLPUBLIC_DBTOOLS void throwInvalidColumnException (const OUString &_rColumnName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 
OOO_DLLPUBLIC_DBTOOLS void throwSQLException (const OUString &_rMessage, const OUString &_rSQLState, const css::uno::Reference< css::uno::XInterface > &_rxContext, const sal_Int32 _nErrorCode)
 
OOO_DLLPUBLIC_DBTOOLS void throwSQLException (const OUString &_rMessage, StandardSQLState _eSQLState, const css::uno::Reference< css::uno::XInterface > &_rxContext, const sal_Int32 _nErrorCode=0)
 
OOO_DLLPUBLIC_DBTOOLS sal_Int32 getDefaultNumberFormat (const css::uno::Reference< css::beans::XPropertySet > &_xColumn, const css::uno::Reference< css::util::XNumberFormatTypes > &_xTypes, const css::lang::Locale &_rLocale)
 
OOO_DLLPUBLIC_DBTOOLS sal_Int32 getDefaultNumberFormat (sal_Int32 _nDataType, sal_Int32 _nScale, bool _bIsCurrency, const css::uno::Reference< css::util::XNumberFormatTypes > &_xTypes, const css::lang::Locale &_rLocale)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::sdbc::XConnection > connectRowset (const css::uno::Reference< css::sdbc::XRowSet > &_rxRowSet, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::awt::XWindow > &_rxParent)
 
OOO_DLLPUBLIC_DBTOOLS SharedConnection ensureRowSetConnection (const css::uno::Reference< css::sdbc::XRowSet > &_rxRowSet, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::awt::XWindow > &_rxParent)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::sdbc::XConnection > getConnection (const css::uno::Reference< css::sdbc::XRowSet > &_rxRowSet)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::sdbc::XConnection > getConnection_withFeedback (const OUString &_rDataSourceName, const OUString &_rUser, const OUString &_rPwd, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::awt::XWindow > &_rxParent)
 
OOO_DLLPUBLIC_DBTOOLS bool isEmbeddedInDatabase (const css::uno::Reference< css::uno::XInterface > &_rxComponent, css::uno::Reference< css::sdbc::XConnection > &_rxActualConnection)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::container::XNameAccess > getTableFields (const css::uno::Reference< css::sdbc::XConnection > &_rxConn, const OUString &_rName)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::container::XNameAccess > getPrimaryKeyColumns_throw (const css::uno::Any &i_aTable)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::container::XNameAccess > getPrimaryKeyColumns_throw (const css::uno::Reference< css::beans::XPropertySet > &i_xTable)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::container::XNameAccess > getFieldsByCommandDescriptor (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const sal_Int32 _nCommandType, const OUString &_rCommand, css::uno::Reference< css::lang::XComponent > &_rxKeepFieldsAlive, SQLExceptionInfo *_pErrorInfo=nullptr)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Sequence< OUString > getFieldNamesByCommandDescriptor (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const sal_Int32 _nCommandType, const OUString &_rCommand, SQLExceptionInfo *_pErrorInfo=nullptr)
 
OOO_DLLPUBLIC_DBTOOLS css::sdbc::SQLException prependErrorInfo (const css::sdbc::SQLException &_rChainedException, const css::uno::Reference< css::uno::XInterface > &_rxContext, const OUString &_rAdditionalError, const StandardSQLState _eSQLState=StandardSQLState::ERROR_UNSPECIFIED)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::sdbc::XDataSource > findDataSource (const css::uno::Reference< css::uno::XInterface > &_xParent)
 
OOO_DLLPUBLIC_DBTOOLS bool getBooleanDataSourceSetting (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const char *_pAsciiSettingName)
 
OOO_DLLPUBLIC_DBTOOLS bool isDataSourcePropertyEnabled (const css::uno::Reference< css::uno::XInterface > &_xProp, const OUString &_sProperty, bool _bDefault)
 
OOO_DLLPUBLIC_DBTOOLS bool getDataSourceSetting (const css::uno::Reference< css::uno::XInterface > &_rxDataSource, const char *_pAsciiSettingsName, css::uno::Any &_rSettingsValue)
 
OOO_DLLPUBLIC_DBTOOLS bool getDataSourceSetting (const css::uno::Reference< css::uno::XInterface > &_rxDataSource, const OUString &_sSettingsName, css::uno::Any &_rSettingsValue)
 
OOO_DLLPUBLIC_DBTOOLS OUString getDefaultReportEngineServiceName (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
 
OOO_DLLPUBLIC_DBTOOLS OUString quoteTableName (const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxMeta, const OUString &_rName, EComposeRule _eComposeRule)
 
OOO_DLLPUBLIC_DBTOOLS void qualifiedNameComponents (const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxConnMetaData, const OUString &_rQualifiedName, OUString &_rCatalog, OUString &_rSchema, OUString &_rName, EComposeRule _eComposeRule)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::util::XNumberFormatsSupplier > getNumberFormats (const css::uno::Reference< css::sdbc::XConnection > &_rxConn, bool _bAllowDefault=false, const css::uno::Reference< css::uno::XComponentContext > &_rxContext=css::uno::Reference< css::uno::XComponentContext >())
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::sdb::XSingleSelectQueryComposer > getCurrentSettingsComposer (const css::uno::Reference< css::beans::XPropertySet > &_rxRowSetProps, const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const css::uno::Reference< css::awt::XWindow > &_rxParent)
 
OOO_DLLPUBLIC_DBTOOLS void TransferFormComponentProperties (const css::uno::Reference< css::beans::XPropertySet > &_rxOld, const css::uno::Reference< css::beans::XPropertySet > &_rxNew, const css::lang::Locale &_rLocale)
 
OOO_DLLPUBLIC_DBTOOLS bool canInsert (const css::uno::Reference< css::beans::XPropertySet > &_rxCursorSet)
 
OOO_DLLPUBLIC_DBTOOLS bool canUpdate (const css::uno::Reference< css::beans::XPropertySet > &_rxCursorSet)
 
OOO_DLLPUBLIC_DBTOOLS bool canDelete (const css::uno::Reference< css::beans::XPropertySet > &_rxCursorSet)
 
OOO_DLLPUBLIC_DBTOOLS OUString composeTableName (const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_rxMetaData, const OUString &_rCatalog, const OUString &_rSchema, const OUString &_rName, bool _bQuote, EComposeRule _eComposeRule)
 
OOO_DLLPUBLIC_DBTOOLS OUString composeTableNameForSelect (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const OUString &_rCatalog, const OUString &_rSchema, const OUString &_rName)
 
OOO_DLLPUBLIC_DBTOOLS OUString composeTableNameForSelect (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const css::uno::Reference< css::beans::XPropertySet > &_xTable)
 
OOO_DLLPUBLIC_DBTOOLS OUString composeTableName (const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_xMetaData, const css::uno::Reference< css::beans::XPropertySet > &_xTable, EComposeRule _eComposeRule, bool _bQuote)
 
OOO_DLLPUBLIC_DBTOOLS sal_Int32 getSearchColumnFlag (const css::uno::Reference< css::sdbc::XConnection > &_rxConn, sal_Int32 _nDataType)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::sdbc::XDataSource > getDataSource (const OUString &_rsDataSourceName, const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 
OOO_DLLPUBLIC_DBTOOLS OUString createUniqueName (const css::uno::Reference< css::container::XNameAccess > &_rxContainer, const OUString &_rBaseName, bool _bStartWithNumber=true)
 
OOO_DLLPUBLIC_DBTOOLS OUString createUniqueName (const css::uno::Sequence< OUString > &_rNames, const OUString &_rBaseName, bool _bStartWithNumber)
 
OOO_DLLPUBLIC_DBTOOLS void showError (const SQLExceptionInfo &_rInfo, const css::uno::Reference< css::awt::XWindow > &_pParent, const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 
OOO_DLLPUBLIC_DBTOOLS bool implUpdateObject (const css::uno::Reference< css::sdbc::XRowUpdate > &_rxUpdatedObject, const sal_Int32 _nColumnIndex, const css::uno::Any &_rValue)
 
OOO_DLLPUBLIC_DBTOOLS void askForParameters (const css::uno::Reference< css::sdb::XSingleSelectQueryComposer > &_xComposer, const css::uno::Reference< css::sdbc::XParameters > &_xParameters, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const css::uno::Reference< css::task::XInteractionHandler > &_rxHandler, const ::std::vector< bool, std::allocator< bool > > &_aParametersSet=::std::vector< bool, std::allocator< bool > >())
 
OOO_DLLPUBLIC_DBTOOLS void setObjectWithInfo (const css::uno::Reference< css::sdbc::XParameters > &_xParameters, sal_Int32 parameterIndex, const css::uno::Any &x, sal_Int32 sqlType, sal_Int32 scale=0)
 
OOO_DLLPUBLIC_DBTOOLS void setObjectWithInfo (const css::uno::Reference< css::sdbc::XParameters > &_xParameters, sal_Int32 parameterIndex, const ::connectivity::ORowSetValue &x, sal_Int32 sqlType, sal_Int32 scale)
 
OOO_DLLPUBLIC_DBTOOLS bool implSetObject (const css::uno::Reference< css::sdbc::XParameters > &_rxParameters, const sal_Int32 _nColumnIndex, const css::uno::Any &_rValue)
 
OOO_DLLPUBLIC_DBTOOLS OUString createStandardCreateStatement (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, ISQLStatementHelper *_pHelper, const OUString &_sCreatePattern)
 
OOO_DLLPUBLIC_DBTOOLS OUString createStandardKeyStatement (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const css::uno::Reference< css::sdbc::XConnection > &_xConnection)
 
OOO_DLLPUBLIC_DBTOOLS OUString createStandardTypePart (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const OUString &_sCreatePattern=OUString())
 
OOO_DLLPUBLIC_DBTOOLS OUString createStandardColumnPart (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, ISQLStatementHelper *_pHelper=nullptr, const OUString &_sCreatePattern=OUString())
 
OOO_DLLPUBLIC_DBTOOLS OUString createSqlCreateTableStatement (const css::uno::Reference< css::beans::XPropertySet > &descriptor, const css::uno::Reference< css::sdbc::XConnection > &_xConnection)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::beans::XPropertySet > createSDBCXColumn (const css::uno::Reference< css::beans::XPropertySet > &_xTable, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const OUString &_rName, bool _bCase, bool _bQueryForInfo, bool _bIsAutoIncrement, bool _bIsCurrency, sal_Int32 _nDataType)
 
OOO_DLLPUBLIC_DBTOOLS css::uno::Reference< css::sdbcx::XTablesSupplier > getDataDefinitionByURLAndConnection (const OUString &_rsUrl, const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 
OOO_DLLPUBLIC_DBTOOLS sal_Int32 getTablePrivileges (const css::uno::Reference< css::sdbc::XDatabaseMetaData > &_xMetaData, const OUString &_sCatalog, const OUString &_sSchema, const OUString &_sTable)
 
OOO_DLLPUBLIC_DBTOOLS void collectColumnInformation (const css::uno::Reference< css::sdbc::XConnection > &_xConnection, const OUString &_sComposedTableName, const OUString &_rName, ColumnInformationMap &_rInfo)
 
OOO_DLLPUBLIC_DBTOOLS bool isAggregateColumn (const css::uno::Reference< css::sdb::XSingleSelectQueryComposer > &_xComposer, const css::uno::Reference< css::beans::XPropertySet > &_xField)
 
OOO_DLLPUBLIC_DBTOOLS bool isAggregateColumn (const css::uno::Reference< css::container::XNameAccess > &_xColumns, const OUString &_sName)
 
OOO_DLLPUBLIC_DBTOOLS bool isAggregateColumn (const css::uno::Reference< css::beans::XPropertySet > &_xColumn)
 

Variables

 ParameterInteractionCancelled
 
static const char ACTIVE_CONNECTION_PROPERTY_NAME []
 
static const sal_Int32 aDaysInMonth [12]