25#include <com/sun/star/beans/PropertyAttribute.hpp>
37 class WpADOConnection;
75 bool Open(std::u16string_view ConnectionString, std::u16string_view UserID,std::u16string_view Password,
long Options);
91 bool put_Mode(
const ConnectModeEnum &eNum) ;
103 ADORecordset*
getExportedKeys(
const css::uno::Any& catalog,
const OUString& schema, std::u16string_view table );
104 ADORecordset*
getImportedKeys(
const css::uno::Any& catalog,
const OUString& schema, std::u16string_view table );
105 ADORecordset*
getPrimaryKeys(
const css::uno::Any& catalog,
const OUString& schema, std::u16string_view table );
106 ADORecordset*
getIndexInfo(
const css::uno::Any& catalog,
const OUString& schema, std::u16string_view table,
bool unique,
bool approximate );
108 const OUString& schemaPattern,
109 std::u16string_view tableNamePattern );
111 const OUString& primarySchema,
112 std::u16string_view primaryTable,
113 const css::uno::Any& foreignCatalog,
114 const OUString& foreignSchema,
115 std::u16string_view foreignTable);
117 const OUString& schemaPattern,
118 std::u16string_view procedureNamePattern );
120 const OUString& schemaPattern,
121 std::u16string_view procedureNamePattern,
122 std::u16string_view columnNamePattern );
123 ADORecordset*
getTables(
const css::uno::Any& catalog,
124 const OUString& schemaPattern,
125 std::u16string_view tableNamePattern,
126 const css::uno::Sequence< OUString >& types );
127 ADORecordset*
getColumns(
const css::uno::Any& catalog,
128 const OUString& schemaPattern,
129 std::u16string_view tableNamePattern,
130 std::u16string_view columnNamePattern );
132 const OUString& schemaPattern,
133 std::u16string_view table,
134 std::u16string_view columnNamePattern );
135 ADORecordset*
getTypeInfo(DataTypeEnum _eType = adEmpty );
164 ADOParameter*
CreateParameter(std::u16string_view _bstr,DataTypeEnum
Type,ParameterDirectionEnum Direction,
long nSize,
const OLEVariant &Value);
171 bool put_Name(std::u16string_view Name);
283 VARIANT ActiveConnection,
285 LockTypeEnum LockType,
291 bool Supports( CursorOptionEnum CursorOptions);
300 bool Move(sal_Int32 nRows, VARIANT aBmk);
308 bool Delete(AffectEnum eNum);
340 void put_Type(
const DataTypeEnum& _eType);
ADOParameters * get_Parameters() const
bool get_Prepared() const
bool put_Prepared(VARIANT_BOOL bPrepared) const
bool put_CommandType(CommandTypeEnum lCmdType)
WpADOCommand(const WpADOCommand &rhs)
sal_Int32 get_CommandTimeout() const
void put_ActiveConnection(const OLEVariant &vConn)
void put_CommandTimeout(sal_Int32 nRet)
ADOParameter * CreateParameter(std::u16string_view _bstr, DataTypeEnum Type, ParameterDirectionEnum Direction, long nSize, const OLEVariant &Value)
CommandTypeEnum get_CommandType() const
sal_Int32 get_State() const
bool Execute(OLEVariant &RecordsAffected, OLEVariant &Parameters, long Options, ADORecordset **ppiRset)
OUString get_CommandText() const
WpADOCommand & operator=(const WpADOCommand &rhs)
bool put_CommandText(std::u16string_view aCon)
bool put_Name(std::u16string_view Name)
bool putref_ActiveConnection(const WpADOConnection &rCon)
ADORecordset * getExportedKeys(const css::uno::Any &catalog, const OUString &schema, std::u16string_view table)
bool put_Provider(std::u16string_view _bstr)
ADORecordset * getIndexInfo(const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, bool unique, bool approximate)
OUString get_Provider() const
bool GetErrors(ADOErrors **pErrors)
ADORecordset * getColumnPrivileges(const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view table, std::u16string_view columnNamePattern)
bool OpenSchema(SchemaEnum eNum, OLEVariant const &Restrictions, OLEVariant const &SchemaID, ADORecordset **pprset)
ADORecordset * getColumns(const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern, std::u16string_view columnNamePattern)
OUString GetConnectionString() const
bool put_Mode(const ConnectModeEnum &eNum)
WpADOConnection & operator=(const WpADOConnection &rhs)
sal_Int32 get_State() const
sal_Int32 GetCommandTimeout() const
OUString GetDefaultDatabase() const
WpADOConnection()=default
sal_Int32 GetConnectionTimeout() const
bool put_Attributes(sal_Int32 nRet)
ADORecordset * getCrossReference(const css::uno::Any &primaryCatalog, const OUString &primarySchema, std::u16string_view primaryTable, const css::uno::Any &foreignCatalog, const OUString &foreignSchema, std::u16string_view foreignTable)
WpADOProperties get_Properties() const
ADORecordset * getImportedKeys(const css::uno::Any &catalog, const OUString &schema, std::u16string_view table)
sal_Int32 get_Attributes() const
ADORecordset * getTables(const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern, const css::uno::Sequence< OUString > &types)
OUString get_Version() const
bool put_CursorLocation(const CursorLocationEnum &eNum)
bool Execute(std::u16string_view CommandText, OLEVariant &RecordsAffected, long Options, WpADORecordset **ppiRset)
bool Open(std::u16string_view ConnectionString, std::u16string_view UserID, std::u16string_view Password, long Options)
void PutConnectionTimeout(sal_Int32 nRet)
ADORecordset * getProcedures(const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view procedureNamePattern)
ADORecordset * getTypeInfo(DataTypeEnum _eType=adEmpty)
ADORecordset * getTablePrivileges(const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern)
WpADOConnection(const WpADOConnection &rhs)
ADORecordset * getPrimaryKeys(const css::uno::Any &catalog, const OUString &schema, std::u16string_view table)
void PutCommandTimeout(sal_Int32 nRet)
bool put_IsolationLevel(const IsolationLevelEnum &eNum)
IsolationLevelEnum get_IsolationLevel() const
ADORecordset * getProcedureColumns(const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view procedureNamePattern, std::u16string_view columnNamePattern)
ConnectModeEnum get_Mode() const
CursorLocationEnum get_CursorLocation() const
bool PutDefaultDatabase(std::u16string_view _bstr)
bool PutConnectionString(std::u16string_view aCon) const
OUString GetDescription() const
sal_Int32 GetNumber() const
WpADOError(const WpADOError &rhs)
sal_Int32 GetNativeError() const
OUString GetSource() const
WpADOError & operator=(const WpADOError &rhs)
OUString GetSQLState() const
DataTypeEnum GetADOType() const
OLEVariant GetChunk(long Length) const
bool PutAttributes(sal_Int32 _nDefSize)
WpADOProperties get_Properties()
sal_Int32 GetStatus() const
OLEVariant GetOriginalValue() const
WpADOField(const WpADOField &rhs)
sal_Int32 GetDefinedSize() const
sal_Int32 GetActualSize() const
bool PutValue(const OLEVariant &aVariant)
bool AppendChunk(const OLEVariant &Variant)
bool PutDefinedSize(sal_Int32 _nDefSize)
void PutADOType(DataTypeEnum eType)
bool PutNumericScale(sal_Int8 _prec)
sal_Int32 GetPrecision() const
OLEVariant get_Value() const
WpADOField & operator=(const WpADOField &rhs)
sal_Int32 GetNumericScale() const
bool PutPrecision(sal_Int8 _prec)
sal_Int32 GetAttributes() const
OLEVariant GetUnderlyingValue() const
bool PutValue(const OLEVariant &aVariant)
WpADOParameter & operator=(const WpADOParameter &rhs)
sal_Int32 GetAttributes() const
DataTypeEnum GetADOType() const
bool put_Size(sal_Int32 _nSize)
void put_Type(const DataTypeEnum &_eType)
sal_Int32 GetPrecision() const
bool AppendChunk(const OLEVariant &aVariant)
sal_Int32 GetNumericScale() const
WpADOParameter(const WpADOParameter &rhs)
OLEVariant GetValue() const
ParameterDirectionEnum get_Direction() const
WpADOProperty(const WpADOProperty &rhs)
WpADOProperty & operator=(const WpADOProperty &rhs)
bool PutAttributes(sal_Int32 _nDefSize)
sal_Int32 GetAttributes() const
OLEVariant GetValue() const
DataTypeEnum GetADOType() const
bool PutValue(const OLEVariant &aValVar)
bool Delete(AffectEnum eNum)
bool Supports(CursorOptionEnum CursorOptions)
bool get_CacheSize(sal_Int32 &_nRet) const
bool AddNew(const OLEVariant &FieldList, const OLEVariant &Values)
WpADORecordset & operator=(const WpADORecordset &rhs)
bool put_MaxRecords(ADO_LONGPTR _nRet)
bool put_CacheSize(sal_Int32 _nRet)
bool put_CursorType(CursorTypeEnum _nRet)
WpADORecordset(const WpADORecordset &rhs)
bool Move(sal_Int32 nRows, VARIANT aBmk)
bool UpdateBatch(AffectEnum AffectRecords)
CompareEnum CompareBookmarks(const OLEVariant &left, const OLEVariant &right)
bool Open(VARIANT Source, VARIANT ActiveConnection, CursorTypeEnum CursorType, LockTypeEnum LockType, sal_Int32 Options)
void PutRefDataSource(IUnknown *pIUnknown)
bool put_LockType(LockTypeEnum _nRet)
bool SetBookmark(const OLEVariant &pSafeAr)
WpADOProperties get_Properties() const
bool get_CursorType(CursorTypeEnum &_nRet) const
WpADOFields GetFields() const
bool Update(const OLEVariant &FieldList, const OLEVariant &Values)
bool get_LockType(LockTypeEnum &_nRet) const
LockTypeEnum GetLockType()
bool NextRecordset(OLEVariant &RecordsAffected, ADORecordset **ppiRset)
void GetDataSource(IUnknown **pIUnknown) const
PositionEnum_Param get_AbsolutePosition()
bool get_MaxRecords(ADO_LONGPTR &_nRet) const
bool get_RecordCount(ADO_LONGPTR &_nRet) const
WpOLEBase< T > & operator=(const WpOLEBase< T > &rhs)
WpOLECollection< ADOProperties, WpADOProperty > WpADOProperties
WpOLEAppendCollection< ADOFields, WpADOField > WpADOFields