diff options
author | Thomas Benisch <tbe@openoffice.org> | 2001-05-04 08:04:05 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2001-05-04 08:04:05 +0000 |
commit | cb43206b77451309b08fa2141b91eca2607c731f (patch) | |
tree | 247bbdbf0a7e7cbddb374706d94e0744c4afcfb2 /toolkit/inc/toolkit/controls | |
parent | 346fa27d98b86bdab146e46bba1bf541dfc14d74 (diff) |
added FixedLine
Diffstat (limited to 'toolkit/inc/toolkit/controls')
-rw-r--r-- | toolkit/inc/toolkit/controls/unocontrols.hxx | 47 |
1 files changed, 45 insertions, 2 deletions
diff --git a/toolkit/inc/toolkit/controls/unocontrols.hxx b/toolkit/inc/toolkit/controls/unocontrols.hxx index 5ca8b1f98e49..35674349b0fe 100644 --- a/toolkit/inc/toolkit/controls/unocontrols.hxx +++ b/toolkit/inc/toolkit/controls/unocontrols.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unocontrols.hxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: tbe $ $Date: 2001-05-02 12:27:22 $ + * last change: $Author: tbe $ $Date: 2001-05-04 09:01:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1577,5 +1577,48 @@ public: }; +// ---------------------------------------------------- +// class UnoControlFixedLineModel +// ---------------------------------------------------- +class UnoControlFixedLineModel : public UnoControlModel +{ +protected: + ::com::sun::star::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const; + ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper(); + +public: + UnoControlFixedLineModel(); + UnoControlFixedLineModel( const UnoControlFixedLineModel& rModel ) : UnoControlModel( rModel ) {;} + + UnoControlModel* Clone() const { return new UnoControlFixedLineModel( *this ); } + + ::rtl::OUString getServiceName() const; + + + // ::com::sun::star::beans::XMultiPropertySet + ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); + + // ::com::sun::star::lang::XServiceInfo + DECLIMPL_SERVICEINFO( UnoControlFixedLineModel, ::rtl::OUString::createFromAscii( szServiceName2_UnoControlFixedLineModel ) ) + +}; + +// ---------------------------------------------------- +// class UnoFixedLineControl +// ---------------------------------------------------- +class UnoFixedLineControl : public UnoControlBase +{ +public: + UnoFixedLineControl(); + ::rtl::OUString GetComponentServiceName(); + + sal_Bool SAL_CALL isTransparent( ) throw(::com::sun::star::uno::RuntimeException); + + // ::com::sun::star::lang::XServiceInfo + DECLIMPL_SERVICEINFO( UnoFixedLineControl, ::rtl::OUString::createFromAscii( szServiceName2_UnoControlFixedLine ) ) + +}; + + #endif // _TOOLKIT_HELPER_UNOCONTROLS_HXX_ |