summaryrefslogtreecommitdiff
path: root/sw/inc/unotextmarkup.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-12-15 12:01:46 +0000
committerRüdiger Timm <rt@openoffice.org>2008-12-15 12:01:46 +0000
commit3e3396189e2acd863096376ad39e8a59aff47e7e (patch)
tree2c2f7cfc3442020ed55ba6a0bc3cbd521aadb508 /sw/inc/unotextmarkup.hxx
parentd6b3e99927528cd5ad313b36835abd287996519e (diff)
CWS-TOOLING: integrate CWS tl56_DEV300
Diffstat (limited to 'sw/inc/unotextmarkup.hxx')
-rw-r--r--sw/inc/unotextmarkup.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/sw/inc/unotextmarkup.hxx b/sw/inc/unotextmarkup.hxx
index 3dba9316a692..84d22e1b7a72 100644
--- a/sw/inc/unotextmarkup.hxx
+++ b/sw/inc/unotextmarkup.hxx
@@ -32,7 +32,9 @@
#define _UNOTEXTMARKUP_HXX
#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase2.hxx>
#include <com/sun/star/text/XTextMarkup.hpp>
+#include <com/sun/star/text/XMultiTextMarkup.hpp>
#include <calbck.hxx>
#include <modeltoviewhelper.hxx>
@@ -49,18 +51,24 @@ class SfxPoolItem;
/** Implementation of the css::text::XTextMarkup interface
*/
class SwXTextMarkup:
- public ::cppu::WeakImplHelper1<
- ::com::sun::star::text::XTextMarkup >,
+ public ::cppu::WeakImplHelper2
+ <
+ ::com::sun::star::text::XTextMarkup,
+ ::com::sun::star::text::XMultiTextMarkup
+ >,
public SwClient
{
public:
SwXTextMarkup( SwTxtNode& rTxtNode, const ModelToViewHelper::ConversionMap* pConversionMap );
virtual ~SwXTextMarkup();
- // ::com::sun::star::smarttags::XTextMarkup:
+ // ::com::sun::star::text::XTextMarkup:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XStringKeyMap > SAL_CALL getMarkupInfoContainer() throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL commitTextMarkup(::sal_Int32 nType, const ::rtl::OUString & aIdentifier, ::sal_Int32 nStart, ::sal_Int32 nLength, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XStringKeyMap > & xMarkupInfoContainer) throw (::com::sun::star::uno::RuntimeException);
+ // ::com::sun::star::text::XMultiTextMarkup:
+ virtual void SAL_CALL commitMultiTextMarkup( const ::com::sun::star::uno::Sequence< ::com::sun::star::text::TextMarkupDescriptor >& aMarkups ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
+
//SwClient
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew);