diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-12-16 11:26:58 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-12-16 11:26:58 +0000 |
commit | 4522b05e7983b23f8834a6c531ba72b93a7d1b82 (patch) | |
tree | 0224594c55ed91927e76c7e1f59938d5577ee54a /connectivity/inc | |
parent | 664f1cac3b77183b22cce3246db988f237ae7080 (diff) |
INTEGRATION: CWS qrycomp (1.9.126); FILE MERGED
2003/10/30 14:13:31 oj 1.9.126.1: #i21791# changes for the querycomposer
Diffstat (limited to 'connectivity/inc')
-rw-r--r-- | connectivity/inc/connectivity/PColumn.hxx | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/connectivity/inc/connectivity/PColumn.hxx b/connectivity/inc/connectivity/PColumn.hxx index d0d1b7f8327f..83f903e6ed91 100644 --- a/connectivity/inc/connectivity/PColumn.hxx +++ b/connectivity/inc/connectivity/PColumn.hxx @@ -2,9 +2,9 @@ * * $RCSfile: PColumn.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: oj $ $Date: 2002-07-05 06:58:32 $ + * last change: $Author: vg $ $Date: 2003-12-16 12:26:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -111,6 +111,40 @@ namespace connectivity sal_Bool getFunction() const { return m_bFunction; } sal_Bool getDbasePrecisionChanged() const { return m_bDbasePrecisionChanged; } }; + + class OOrderColumn; + + typedef sdbcx::OColumn OOrderColumn_BASE; + typedef ::comphelper::OIdPropertyArrayUsageHelper<OOrderColumn> OOrderColumn_PROP; + + class OOrderColumn : public OOrderColumn_BASE, + public OOrderColumn_PROP + { + sal_Bool m_bAscending; + sal_Bool m_bOrder; + protected: + virtual ::cppu::IPropertyArrayHelper* createArrayHelper( sal_Int32 _nId) const; + virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper(); + + virtual ~OOrderColumn(); + public: + OOrderColumn(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _xColumn,sal_Bool _bCase,sal_Bool _bAscending); + OOrderColumn(const ::rtl::OUString& _Name, + const ::rtl::OUString& _TypeName, + const ::rtl::OUString& _DefaultValue, + sal_Int32 _IsNullable, + sal_Int32 _Precision, + sal_Int32 _Scale, + sal_Int32 _Type, + sal_Bool _IsAutoIncrement, + sal_Bool _IsCurrency, + sal_Bool _bCase + ,sal_Bool _bAscending); + + virtual void construct(); + + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException); + }; } } |