diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-04-02 09:51:45 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-04-02 09:51:45 +0000 |
commit | d66d56ad954dcc80df1c4167f8e29a95625aac5e (patch) | |
tree | 2d62cc63ce7c2623448e3622f7ef87a385097551 /forms/source/component/File.cxx | |
parent | d371b961402659ccba1950ef818be07ef31f9160 (diff) |
INTEGRATION: CWS frmvalidation (1.6.150); FILE MERGED
2004/03/11 16:46:14 fs 1.6.150.1: mass checkin
- #i25106# core for validating form controls via external XValidator instances
- moved the services/interfaces related to binding form controls to external
value suppliers into css.form.binding (out of drafts.css.form/component)
Diffstat (limited to 'forms/source/component/File.cxx')
-rw-r--r-- | forms/source/component/File.cxx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/forms/source/component/File.cxx b/forms/source/component/File.cxx index 74269f647292..bb7ea2e12ae7 100644 --- a/forms/source/component/File.cxx +++ b/forms/source/component/File.cxx @@ -2,9 +2,9 @@ * * $RCSfile: File.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: fs $ $Date: 2002-12-02 09:56:30 $ + * last change: $Author: rt $ $Date: 2004-04-02 10:51:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,6 +79,9 @@ #ifndef _COMPHELPER_CONTAINER_HXX_ #include <comphelper/container.hxx> #endif +#ifndef _COMPHELPER_BASIC_IO_HXX_ +#include <comphelper/basicio.hxx> +#endif //......................................................................... namespace frm @@ -240,16 +243,10 @@ void OFileControlModel::fillProperties( Sequence< Property >& _rProps, Sequence< Property >& _rAggregateProps ) const { - FRM_BEGIN_PROP_HELPER(5) - DECL_PROP2(CLASSID, sal_Int16, READONLY, TRANSIENT); + BEGIN_DESCRIBE_PROPERTIES( 2, OControlModel ) DECL_PROP1(DEFAULT_TEXT, ::rtl::OUString, BOUND); - DECL_PROP1(NAME, ::rtl::OUString, BOUND); - DECL_PROP1(TAG, ::rtl::OUString, BOUND); DECL_PROP1(TABINDEX, sal_Int16, BOUND); - - // in den agregierten Properties muss ich noch PROPERTY_ID_TEXT auf transient setzen ... -// ModifyPropertyAttributes(_rAggregateProps, PROPERTY_TEXT, PropertyAttribute::TRANSIENT, 0); - FRM_END_PROP_HELPER(); + END_DESCRIBE_PROPERTIES(); } //------------------------------------------------------------------------------ |