summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/inc/FieldDescControl.hxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-09-24 08:19:07 +0000
committerOcke Janssen <oj@openoffice.org>2002-09-24 08:19:07 +0000
commit3000faccaf963e614ee49e63a206a1c229d456e5 (patch)
treef39a52bcdd564dd0a6cf6cc7def409ab66c1a144 /dbaccess/source/ui/inc/FieldDescControl.hxx
parent#103049# allow any as controldefault (diff)
downloadcore-3000faccaf963e614ee49e63a206a1c229d456e5.tar.gz
core-3000faccaf963e614ee49e63a206a1c229d456e5.zip
#103049# change handling of controlDefault, allow string and doubles
Diffstat (limited to 'dbaccess/source/ui/inc/FieldDescControl.hxx')
-rw-r--r--dbaccess/source/ui/inc/FieldDescControl.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/FieldDescControl.hxx b/dbaccess/source/ui/inc/FieldDescControl.hxx
index b87599ed5dd1..8220e3632026 100644
--- a/dbaccess/source/ui/inc/FieldDescControl.hxx
+++ b/dbaccess/source/ui/inc/FieldDescControl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FieldDescControl.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: oj $ $Date: 2002-07-26 09:34:01 $
+ * last change: $Author: oj $ $Date: 2002-09-24 09:18:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -186,6 +186,7 @@ namespace dbaui
void ScrollAggregate(Control* pText, Control* pInput, Control* pButton, long nDeltaX, long nDeltaY);
void ScrollAllAggregates();
+ sal_Bool isTextFormat(const OFieldDescription* _pFieldDescr,sal_uInt32& _nFormatKey) const;
protected:
OFieldDescription* pActFieldDescr; // falls geloescht werden soll
@@ -196,7 +197,7 @@ namespace dbaui
virtual BOOL IsReadOnly() { return FALSE; };
// Sind von den abgeleiteten Klassen zu impl.
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > GetFormatter() = 0;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > GetFormatter() const = 0;
virtual ::com::sun::star::lang::Locale GetLocale() const = 0;
@@ -246,6 +247,8 @@ namespace dbaui
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData> getMetaData() = 0;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> getConnection() = 0;
+
+ String getControlDefault( const OFieldDescription* _pFieldDescr ) const;
protected:
void implFocusLost(Window* _pWhich);
};