20#ifndef INCLUDED_SW_SOURCE_CORE_INC_UNOTEXTMARKUP_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_UNOTEXTMARKUP_HXX
25#include <com/sun/star/text/XTextMarkup.hpp>
26#include <com/sun/star/text/XMultiTextMarkup.hpp>
40 :
public ::cppu::WeakImplHelper
41 < css::text::XTextMarkup
42 , css::text::XMultiTextMarkup
54 const css::uno::Reference< css::container::XStringKeyMap > & xMarkupInfoContainer)
override;
56 virtual void SAL_CALL
commitTextRangeMarkup(::sal_Int32
nType,
const OUString & aIdentifier,
const css::uno::Reference< css::text::XTextRange> & xRange,
57 const css::uno::Reference< css::container::XStringKeyMap > & xMarkupInfoContainer)
override;
60 virtual void SAL_CALL
commitMultiTextMarkup(
const css::uno::Sequence< css::text::TextMarkupDescriptor >& aMarkups )
override;
78 public ::cppu::WeakImplHelper<
79 css::container::XStringKeyMap>
85 virtual css::uno::Any SAL_CALL
getValue(
const OUString & aKey)
override;
87 virtual void SAL_CALL
insertValue(
const OUString & aKey,
const css::uno::Any & aValue)
override;
88 virtual ::sal_Int32 SAL_CALL
getCount()
override;
98 std::map< OUString, css::uno::Any >
maMap;
SwTextNode is a paragraph in the document model.
Implementation of the css::container::XStringKeyMap interface.
virtual ~SwXStringKeyMap() override
std::map< OUString, css::uno::Any > maMap
virtual sal_Bool SAL_CALL hasValue(const OUString &aKey) override
virtual css::uno::Any SAL_CALL getValue(const OUString &aKey) override
void operator=(SwXStringKeyMap const &)=delete
virtual ::sal_Int32 SAL_CALL getCount() override
virtual css::uno::Any SAL_CALL getValueByIndex(::sal_Int32 nIndex) override
virtual OUString SAL_CALL getKeyByIndex(::sal_Int32 nIndex) override
SwXStringKeyMap(SwXStringKeyMap const &)=delete
virtual void SAL_CALL insertValue(const OUString &aKey, const css::uno::Any &aValue) override
Implementation of the css::text::XTextMarkup interface.
virtual void SAL_CALL commitStringMarkup(::sal_Int32 nType, const OUString &aIdentifier, ::sal_Int32 nStart, ::sal_Int32 nLength, const css::uno::Reference< css::container::XStringKeyMap > &xMarkupInfoContainer) override
SwXTextMarkup(const SwXTextMarkup &)=delete
::sw::UnoImplPtr< Impl > m_pImpl
virtual css::uno::Reference< css::container::XStringKeyMap > SAL_CALL getMarkupInfoContainer() override
const ModelToViewHelper & GetConversionMap() const
virtual void SAL_CALL commitMultiTextMarkup(const css::uno::Sequence< css::text::TextMarkupDescriptor > &aMarkups) override
SwXTextMarkup & operator=(const SwXTextMarkup &)=delete
SwXTextMarkup(SwTextNode *const rTextNode, const ModelToViewHelper &rConversionMap)
virtual ~SwXTextMarkup() override
virtual void SAL_CALL commitTextRangeMarkup(::sal_Int32 nType, const OUString &aIdentifier, const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::container::XStringKeyMap > &xMarkupInfoContainer) override
SwTextNode * GetTextNode()
std::unique_ptr< T, UnoImplPtrDeleter< T > > UnoImplPtr
Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.