Kaydet (Commit) eac04bd0 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS dba06 (1.7.54); FILE MERGED

2003/05/16 13:55:26 fs 1.7.54.1: #109591# let the model be an image producer itself (do not use the aggregate's functionality)
üst 06baeaa6
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: ImageControl.hxx,v $ * $RCSfile: ImageControl.hxx,v $
* *
* $Revision: 1.7 $ * $Revision: 1.8 $
* *
* last change: $Author: fs $ $Date: 2002-12-02 09:56:34 $ * last change: $Author: vg $ $Date: 2003-05-22 10:48:04 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -78,6 +78,10 @@ ...@@ -78,6 +78,10 @@
#ifndef _COMPHELPER_PROPERTY_MULTIPLEX_HXX_ #ifndef _COMPHELPER_PROPERTY_MULTIPLEX_HXX_
#include <comphelper/propmultiplex.hxx> #include <comphelper/propmultiplex.hxx>
#endif #endif
#ifndef _CPPUHELPER_IMPLBASE2_HXX_
#include <cppuhelper/implbase2.hxx>
#endif
using namespace comphelper; using namespace comphelper;
//......................................................................... //.........................................................................
...@@ -88,8 +92,12 @@ namespace frm ...@@ -88,8 +92,12 @@ namespace frm
//================================================================== //==================================================================
// OImageControlModel // OImageControlModel
//================================================================== //==================================================================
typedef ::cppu::ImplHelper2 < ::com::sun::star::form::XImageProducerSupplier
, ::com::sun::star::awt::XImageProducer
> OImageControlModel_Base;
class OImageControlModel class OImageControlModel
:public ::com::sun::star::form::XImageProducerSupplier :public OImageControlModel_Base
,public ::comphelper::OAggregationArrayUsageHelper<OImageControlModel> ,public ::comphelper::OAggregationArrayUsageHelper<OImageControlModel>
,public OBoundControlModel ,public OBoundControlModel
,public OPropertyChangeListener ,public OPropertyChangeListener
...@@ -149,7 +157,12 @@ public: ...@@ -149,7 +157,12 @@ public:
virtual void SAL_CALL read(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxInStream) throw ( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL read(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxInStream) throw ( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
// ::com::sun::star::form::XImageProducerSupplier // ::com::sun::star::form::XImageProducerSupplier
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XImageProducer> SAL_CALL getImageProducer() throw ( ::com::sun::star::uno::RuntimeException) { return m_xImageProducer; } virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XImageProducer> SAL_CALL getImageProducer() throw ( ::com::sun::star::uno::RuntimeException);
// XImageProducer
virtual void SAL_CALL addConsumer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XImageConsumer >& xConsumer ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL removeConsumer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XImageConsumer >& xConsumer ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL startProduction( ) throw (::com::sun::star::uno::RuntimeException);
// ::comphelper::OAggregationArrayUsageHelper // ::comphelper::OAggregationArrayUsageHelper
virtual void fillProperties( virtual void fillProperties(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment