diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 14:45:43 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-27 14:45:43 +0000 |
commit | 70de0c38fd177b3c95837118c5fb35e380c87e90 (patch) | |
tree | bb54ac0c5769dcfc89fdaeb151ffac6eb18154de /sw/inc/unoframe.hxx | |
parent | 5aff37cd51879a41365f2ceb0e927bdf57ffddb3 (diff) |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'sw/inc/unoframe.hxx')
-rw-r--r-- | sw/inc/unoframe.hxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index e3a1979b68ac..8312cf8ac38c 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unoframe.hxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: mib $ $Date: 2002-11-26 12:35:55 $ + * last change: $Author: hr $ $Date: 2003-03-27 15:38:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -371,14 +371,12 @@ class SwXOLEListener : public cppu::WeakImplHelper1 >, public SwClient { - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xOLEModel; -// SfxObjectShell* GetObjShell( const SwFmt& rFmt, -// SwOLENode** ppNd = 0 ) const; - SwFmt* GetFmt() const { return (SwFmt*)GetRegisteredIn(); } + SvPtrarr aFmts; + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > GetModel( const SwFmt& rFmt, SwOLENode** ppNd = 0 ) const; + SfxObjectShell* GetObjShell( const SwFmt& rFmt, + SwOLENode** ppNd = 0 ) const; + sal_uInt16 FindEntry( const ::com::sun::star::lang::EventObject& Source, SwOLENode** ppNd = 0 ); public: - SwXOLEListener(SwFmt& rOLEFmt, ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xOLE); - ~SwXOLEListener(); - TYPEINFO(); // ::com::sun::star::lang::XEventListener virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException); @@ -386,6 +384,7 @@ public: // ::com::sun::star::util::XModifyListener virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException); + sal_Bool AddOLEFmt( SwFrmFmt& rFmt ); void Modify( SfxPoolItem*, SfxPoolItem* ); }; |