summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/xsdvalidationhelper.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-23 10:59:41 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-23 10:59:41 +0000
commitc18fed1149ede98c9a0edb82f086160d731ef226 (patch)
tree9c299ee415f4d1ea0b2b633c010a826aedb0b9ab /extensions/source/propctrlr/xsdvalidationhelper.hxx
parent06ebf2c055ab4f88127049734d0c4f92a51773cc (diff)
INTEGRATION: CWS eforms4 (1.2.16); FILE MERGED
2004/12/10 10:39:41 fs 1.2.16.1: #i36359# when setting the DataType of a formatted field, init the format so that it matches the DataType
Diffstat (limited to 'extensions/source/propctrlr/xsdvalidationhelper.hxx')
-rw-r--r--extensions/source/propctrlr/xsdvalidationhelper.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/xsdvalidationhelper.hxx b/extensions/source/propctrlr/xsdvalidationhelper.hxx
index f58b39f7fbb3..f404ff39cd11 100644
--- a/extensions/source/propctrlr/xsdvalidationhelper.hxx
+++ b/extensions/source/propctrlr/xsdvalidationhelper.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xsdvalidationhelper.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: obo $ $Date: 2004-11-16 12:14:27 $
+ * last change: $Author: vg $ $Date: 2005-03-23 11:59:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -93,6 +93,11 @@ namespace pcr
//====================================================================
class XSDValidationHelper : public EFormsHelper
{
+ private:
+ bool m_bInspectingFormattedField;
+ public:
+ bool isInspectingFormattedField() const { return m_bInspectingFormattedField; }
+
public:
XSDValidationHelper(
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxIntrospectee,
@@ -149,6 +154,12 @@ namespace pcr
*/
void copyDataType( const ::rtl::OUString& _rFromModel, const ::rtl::OUString& _rToModel,
const ::rtl::OUString& _rDataTypeName ) const SAL_THROW(());
+
+ /** finds (and sets) a default format for the formatted field we're inspecting,
+ according to the current data type the control value is evaluated against
+ */
+ void findDefaultFormatForIntrospectee() SAL_THROW(());
+
private:
/** retrieves the data type repository associated with the current model
*/