summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forms/source/component/Date.hxx14
-rw-r--r--forms/source/component/Time.hxx14
2 files changed, 24 insertions, 4 deletions
diff --git a/forms/source/component/Date.hxx b/forms/source/component/Date.hxx
index 457629ce0271..1dcb1645bacb 100644
--- a/forms/source/component/Date.hxx
+++ b/forms/source/component/Date.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: Date.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 22:37:06 $
+ * last change: $Author: vg $ $Date: 2006-03-15 09:22:56 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -102,6 +102,9 @@ protected:
translateExternalValueToControlValue( ) const;
virtual ::com::sun::star::uno::Any
+ translateControlValueToValidatableValue( ) const;
+
+ virtual ::com::sun::star::uno::Any
getDefaultForReset() const;
virtual void onConnectedDbColumn( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxForm );
@@ -110,6 +113,13 @@ protected:
protected:
DECLARE_XCLONEABLE();
+
+private:
+ /** translates the control value (the VCL-internal integer representation of a date) into
+ a UNO-Date.
+ */
+ void impl_translateControlValueToUNODate(
+ ::com::sun::star::uno::Any& _rUNOValue ) const;
};
//==================================================================
diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx
index 748a774df048..7208846f22f5 100644
--- a/forms/source/component/Time.hxx
+++ b/forms/source/component/Time.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: Time.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 22:47:15 $
+ * last change: $Author: vg $ $Date: 2006-03-15 09:23:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -103,6 +103,9 @@ protected:
translateExternalValueToControlValue( ) const;
virtual ::com::sun::star::uno::Any
+ translateControlValueToValidatableValue( ) const;
+
+ virtual ::com::sun::star::uno::Any
getDefaultForReset() const;
virtual void onConnectedDbColumn( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxForm );
@@ -111,6 +114,13 @@ protected:
protected:
DECLARE_XCLONEABLE();
+
+private:
+ /** translates the control value (the VCL-internal integer representation of a date) into
+ a UNO-Date.
+ */
+ void impl_translateControlValueToUNOTime(
+ ::com::sun::star::uno::Any& _rUNOValue ) const;
};
//==================================================================