diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-27 15:02:23 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-27 15:02:23 +0100 |
commit | b36241988ea99ba2a9d290ec838a3557d0333d63 (patch) | |
tree | aa12b665ef23f5ea193d109d8af56c1149d6db50 /sw/inc/unoframe.hxx | |
parent | da877b6a3bd9be2bf4ee15224008d73b87aca06f (diff) | |
parent | dd19343634909cc3ee030087f1d0e84731853d68 (diff) |
CWS-TOOLING: integrate CWS swunolocking1
Notes
Notes:
split repo tag: writer_ooo/DEV300_m71
Diffstat (limited to 'sw/inc/unoframe.hxx')
-rw-r--r-- | sw/inc/unoframe.hxx | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index a02999c8ca3d..0aaaebbe7338 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -30,20 +30,35 @@ #ifndef _UNOFRAME_HXX #define _UNOFRAME_HXX -#include <unoobj.hxx> -#include <sfx2/objsh.hxx> +#include <com/sun/star/beans/XPropertyState.hpp> +#include <com/sun/star/container/XNamed.hpp> +#include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/document/XEmbeddedObjectSupplier2.hpp> #include <com/sun/star/text/XTextFrame.hpp> #include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/util/XModifyListener.hpp> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/document/XEventsSupplier.hpp> - /* -#include <com/sun/star/container/XNameAccess.hpp> - */ -class SwDoc; +#include <cppuhelper/implbase1.hxx> +#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/implbase6.hxx> + +#include <sfx2/objsh.hxx> + +#include <flyenum.hxx> +#include <frmfmt.hxx> +#include <unoevtlstnr.hxx> +#include <unotext.hxx> + + class SfxItemPropertSet; +class SdrObject; +class SwDoc; +class SwFmt; +class SwFlyFrmFmt; + + /*-----------------12.02.98 11:21------------------- --------------------------------------------------*/ @@ -171,12 +186,18 @@ class SwXTextFrame : public SwXTextFrameBaseClass, protected: virtual const SwStartNode *GetStartNode() const; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > createCursor()throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< + ::com::sun::star::text::XTextCursor > + CreateCursor() + throw (::com::sun::star::uno::RuntimeException); + virtual ~SwXTextFrame(); public: SwXTextFrame(SwDoc *pDoc); SwXTextFrame(SwFrmFmt& rFmt); + // FIXME: EVIL HACK: make available for SwXFrame::attachToRange + void SetDoc(SwDoc *const pDoc) { SwXText::SetDoc(pDoc); }; virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( ) throw(); |