diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-16 12:23:58 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-16 12:23:58 +0000 |
commit | a166434a3bf9a672b5b6dc6302a8fd4d767f5fe6 (patch) | |
tree | dbc631a84bfa0c1406f093396b368fa9d3a60150 /sw/inc/unoflatpara.hxx | |
parent | 1708f775ec9dfeb747ca4971cb9a21462dc66225 (diff) |
INTEGRATION: CWS tl55 (1.3.50); FILE MERGED
2008/06/19 13:39:33 tl 1.3.50.2: #i85999# grammar checking framework
2008/06/11 08:19:16 mba 1.3.50.1: wrong usage of ImplHelper
Diffstat (limited to 'sw/inc/unoflatpara.hxx')
-rw-r--r-- | sw/inc/unoflatpara.hxx | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/sw/inc/unoflatpara.hxx b/sw/inc/unoflatpara.hxx index 2e3e0339baf2..e092a6d28c82 100644 --- a/sw/inc/unoflatpara.hxx +++ b/sw/inc/unoflatpara.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unoflatpara.hxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -54,14 +54,23 @@ class SwDoc; ******************************************************************************/ class SwXFlatParagraph: - public ::cppu::WeakImplHelper1< - css::text::XFlatParagraph >, + public ::cppu::WeakImplHelper1 + < + css::text::XFlatParagraph + >, public SwXTextMarkup { public: SwXFlatParagraph( SwTxtNode& rTxtNode, rtl::OUString aExpandText, const ModelToViewHelper::ConversionMap* pConversionMap ); virtual ~SwXFlatParagraph(); + 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(); + virtual void SAL_CALL release( ) throw(); + + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException); + // text::XTextMarkup: virtual css::uno::Reference< css::container::XStringKeyMap > SAL_CALL getMarkupInfoContainer() throw (css::uno::RuntimeException); virtual void SAL_CALL commitTextMarkup(::sal_Int32 nType, const ::rtl::OUString & aIdentifier, ::sal_Int32 nStart, ::sal_Int32 nLength, const css::uno::Reference< css::container::XStringKeyMap > & xMarkupInfoContainer) throw (css::uno::RuntimeException); @@ -91,8 +100,11 @@ private: ******************************************************************************/ class SwXFlatParagraphIterator: - public ::cppu::WeakImplHelper1< - css::text::XFlatParagraphIterator> + public ::cppu::WeakImplHelper1 + < + css::text::XFlatParagraphIterator + >, + public SwClient // to get notified when doc is closed... { public: SwXFlatParagraphIterator( SwDoc& rDoc, sal_Int32 nType, sal_Bool bAutomatic ); @@ -105,6 +117,9 @@ public: virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getParaBefore(const css::uno::Reference< css::text::XFlatParagraph > & xPara) throw (css::uno::RuntimeException, css::lang::IllegalArgumentException); virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getParaAfter(const css::uno::Reference< css::text::XFlatParagraph > & xPara) throw (css::uno::RuntimeException, css::lang::IllegalArgumentException); + // SwClient + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew ); + private: SwXFlatParagraphIterator( const SwXFlatParagraphIterator & ); // not defined SwXFlatParagraphIterator & operator =(const SwXFlatParagraphIterator & ); // not defined |