Kaydet (Commit) 0ad5f3f6 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS formcelllinkage (1.6.92); FILE MERGED

2003/10/01 09:18:21 fs 1.6.92.1: #i18994# merging the changes from the CWS fs002
üst b23cc517
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: Date.hxx,v $ * $RCSfile: Date.hxx,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: fs $ $Date: 2002-12-02 09:56:29 $ * last change: $Author: obo $ $Date: 2003-10-21 08:56:48 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -83,19 +83,14 @@ class ODateModel ...@@ -83,19 +83,14 @@ class ODateModel
,public ::comphelper::OAggregationArrayUsageHelper< ODateModel > ,public ::comphelper::OAggregationArrayUsageHelper< ODateModel >
{ {
::com::sun::star::uno::Any m_aSaveValue; ::com::sun::star::uno::Any m_aSaveValue;
sal_Bool m_bDateTimeField; sal_Bool m_bDateTimeField;
static sal_Int32 nDateHandle;
protected: protected:
virtual void _onValueChanged();
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes(); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes();
public: public:
DECLARE_DEFAULT_LEAF_XTOR( ODateModel ); DECLARE_DEFAULT_LEAF_XTOR( ODateModel );
// starform::XBoundComponent
virtual sal_Bool _commit();
// stario::XPersistObject // stario::XPersistObject
virtual ::rtl::OUString SAL_CALL getServiceName() throw ( ::com::sun::star::uno::RuntimeException ); virtual ::rtl::OUString SAL_CALL getServiceName() throw ( ::com::sun::star::uno::RuntimeException );
...@@ -114,12 +109,6 @@ public: ...@@ -114,12 +109,6 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException);
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper(); virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
// starform::XReset
virtual void _reset( void );
// starform::XLoadListener
virtual void _loaded(const ::com::sun::star::lang::EventObject& rEvent);
// OAggregationArrayUsageHelper // OAggregationArrayUsageHelper
virtual void fillProperties( virtual void fillProperties(
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps, ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps,
...@@ -127,6 +116,17 @@ public: ...@@ -127,6 +116,17 @@ public:
) const; ) const;
IMPLEMENT_INFO_SERVICE() IMPLEMENT_INFO_SERVICE()
protected:
// OBoundControlModel overridables
virtual ::com::sun::star::uno::Any
translateDbColumnToControlValue( );
virtual sal_Bool commitControlValueToDbColumn( bool _bPostReset );
virtual ::com::sun::star::uno::Any
getDefaultForReset() const;
virtual void onConnectedDbColumn( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxForm );
protected: protected:
DECLARE_XCLONEABLE(); DECLARE_XCLONEABLE();
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment