diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-16 11:12:45 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-16 11:12:45 +0000 |
commit | 222a3b538225cd1dfa864e804da5982f019e70b0 (patch) | |
tree | 7bd3552e891172bf41895cfe449e97963166c0ff /extensions | |
parent | 4e5ecf7b8fcc69fbb54de10383c7bc61b3f6910b (diff) |
INTEGRATION: CWS eforms2 (1.3.24); FILE MERGED
2004/07/27 14:06:30 fs 1.3.24.3: RESYNC: (1.3-1.4); FILE MERGED
2004/07/16 15:41:44 fs 1.3.24.2: #114856# +DateTime type, and some cleanup at the IBrowserControl
2004/04/26 11:30:56 fs 1.3.24.1: some cleanup/consolidation
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.hxx | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx index 3bc77277befd..e5fb343293b1 100644 --- a/extensions/source/propctrlr/standardcontrol.hxx +++ b/extensions/source/propctrlr/standardcontrol.hxx @@ -2,9 +2,9 @@ * * $RCSfile: standardcontrol.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2004-07-06 13:46:58 $ + * last change: $Author: obo $ $Date: 2004-11-16 12:12:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -83,6 +83,11 @@ #ifndef _CALENDAR_HXX #include <svtools/calendar.hxx> #endif +#ifndef _FMTFIELD_HXX_ +#include <svtools/fmtfield.hxx> +#endif + +#include <memory> class PushButton; class MultiLineEdit; @@ -91,6 +96,8 @@ namespace pcr { //............................................................................ + class StringRepresentation; + //======================================================================== //= OTimeControl //======================================================================== @@ -159,6 +166,21 @@ namespace pcr }; //======================================================================== + //= ODateTimeControl + //======================================================================== + class ODateTimeControl : public OCommonBehaviourControl, FormattedField + { + private: + ::std::auto_ptr< StringRepresentation > m_pConverter; + + public: + ODateTimeControl( Window* pParent,sal_uInt16 nDigits, WinBits nWinStyle = WB_TABSTOP ); + + virtual void SetProperty( const ::rtl::OUString& _rString,sal_Bool _bIsUnknown = sal_False ); + virtual ::rtl::OUString GetProperty() const; + }; + + //======================================================================== //= ONumericControl //======================================================================== class ONumericControl : public OCommonBehaviourControl, MetricField @@ -300,7 +322,6 @@ namespace pcr virtual void SetProperty(const ::rtl::OUString &rString,sal_Bool bIsUnknown=sal_False); virtual ::rtl::OUString GetProperty()const; - virtual void SetLocked(sal_Bool bLocked=sal_True); protected: virtual void modified(Window* _pSource); }; |