diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-28 13:57:38 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-28 13:57:38 +0000 |
commit | 1af640070d6d0b1f52ca896a4e3b8f40e2ecf9a9 (patch) | |
tree | a44a9c5a7c725437868ebe83e59a3cfd58e6873a | |
parent | 6c22c9801f429b384e1d66aa2705791cd6512174 (diff) |
INTEGRATION: CWS dba205a (1.11.14); FILE MERGED
2006/07/24 08:54:49 fs 1.11.14.1: #i65567# +getCurrentFormComponentValue
-rw-r--r-- | forms/source/inc/FormComponent.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index e2f71bbc4f34..d98addee67dd 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -4,9 +4,9 @@ * * $RCSfile: FormComponent.hxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: hr $ $Date: 2006-06-19 12:57:23 $ + * last change: $Author: ihi $ $Date: 2006-08-28 14:57:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -911,6 +911,17 @@ protected: virtual ::com::sun::star::uno::Any translateControlValueToValidatableValue( ) const; + /** retrieves the current value of the form component + + This is the implementation method for XValidatableFormComponent::getCurrentValue. The default implementation + calls translateControlValueToValidatableValue if a validator is present, otherwise getControlValue. + + @precond + our mutex is locked when this method is called + */ + virtual ::com::sun::star::uno::Any + getCurrentFormComponentValue() const; + /** We can't write (new) common properties in this base class, as the file format doesn't allow this (unfortunally). So derived classes may use the following to methods. They secure the written data with marks, so any new common properties in newer versions will be skipped by older ones. |