19#ifndef INCLUDED_SW_SOURCE_CORE_INC_UNOIDX_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_UNOIDX_HXX
22#include <com/sun/star/lang/XServiceInfo.hpp>
23#include <com/sun/star/beans/XPropertySet.hpp>
24#include <com/sun/star/container/XNamed.hpp>
25#include <com/sun/star/util/XRefreshable.hpp>
26#include <com/sun/star/text/XDocumentIndexMark.hpp>
27#include <com/sun/star/text/XDocumentIndex.hpp>
41typedef ::cppu::ImplInheritanceHelper
43, css::lang::XServiceInfo
44, css::beans::XPropertySet
45, css::container::XNamed
46, css::util::XRefreshable
47, css::text::XDocumentIndex
77 virtual css::uno::Reference< css::frame::XModel >
83 const OUString& rServiceName)
override;
84 virtual css::uno::Sequence< OUString > SAL_CALL
88 virtual void SAL_CALL
dispose()
override;
90 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
92 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
95 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
98 const OUString& rPropertyName,
99 const css::uno::Any& rValue)
override;
101 const OUString& rPropertyName)
override;
103 const OUString& rPropertyName,
104 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
106 const OUString& rPropertyName,
107 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
109 const OUString& rPropertyName,
110 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
112 const OUString& rPropertyName,
113 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
116 virtual OUString SAL_CALL
getName()
override;
117 virtual void SAL_CALL
setName(
const OUString& rName)
override;
120 virtual void SAL_CALL
refresh()
override;
122 const css::uno::Reference< css::util::XRefreshListener>& xListener)
override;
124 const css::uno::Reference< css::util::XRefreshListener>& xListener)
override;
127 virtual void SAL_CALL
attach(
128 const css::uno::Reference< css::text::XTextRange > & xTextRange)
override;
129 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL
getAnchor()
override;
133 virtual void SAL_CALL
update()
override;
137typedef ::cppu::WeakImplHelper
138< css::lang::XServiceInfo
139, css::beans::XPropertySet
140, css::text::XDocumentIndexMark
169 const OUString& rServiceName)
override;
170 virtual css::uno::Sequence< OUString > SAL_CALL
174 virtual void SAL_CALL
dispose()
override;
176 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
178 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
181 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
184 const OUString& rPropertyName,
185 const css::uno::Any& rValue)
override;
187 const OUString& rPropertyName)
override;
189 const OUString& rPropertyName,
190 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
192 const OUString& rPropertyName,
193 const css::uno::Reference<css::beans::XPropertyChangeListener >& xListener)
override;
195 const OUString& rPropertyName,
196 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
198 const OUString& rPropertyName,
199 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
202 virtual void SAL_CALL
attach(
203 const css::uno::Reference< css::text::XTextRange > & xTextRange)
override;
204 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL
getAnchor()
override;
208 virtual void SAL_CALL
setMarkEntry(
const OUString& rIndexEntry)
override;
virtual void SAL_CALL addPropertyChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual sal_Bool SAL_CALL supportsService(const OUString &rServiceName) override
static rtl::Reference< SwXDocumentIndexMark > CreateXDocumentIndexMark(SwDoc &rDoc, SwTOXMark *pMark, TOXTypes eType=TOX_INDEX)
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL setPropertyValue(const OUString &rPropertyName, const css::uno::Any &rValue) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &rPropertyName) override
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
virtual ~SwXDocumentIndexMark() override
::sw::UnoImplPtr< Impl > m_pImpl
SwXDocumentIndexMark(SwDoc &rDoc, const SwTOXType &rType, const SwTOXMark &rMark)
virtual void SAL_CALL removeVetoableChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
virtual OUString SAL_CALL getMarkEntry() override
virtual void SAL_CALL dispose() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL setMarkEntry(const OUString &rIndexEntry) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
static rtl::Reference< SwXDocumentIndex > CreateXDocumentIndex(SwDoc &rDoc, SwTOXBaseSection *pSection, TOXTypes eTypes=TOX_INDEX)
virtual ::sfx2::Metadatable * GetCoreObject() override
virtual css::uno::Reference< css::frame::XModel > GetModel() override
virtual void SAL_CALL dispose() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &rPropertyName) override
SwXDocumentIndex(SwTOXBaseSection &, SwDoc &)
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
virtual void SAL_CALL refresh() override
virtual ~SwXDocumentIndex() override
virtual OUString SAL_CALL getServiceName() override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
virtual void SAL_CALL update() override
virtual void SAL_CALL addRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &xListener) override
virtual void SAL_CALL setName(const OUString &rName) override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
::sw::UnoImplPtr< Impl > m_pImpl
virtual OUString SAL_CALL getName() override
virtual sal_Bool SAL_CALL supportsService(const OUString &rServiceName) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL removeRefreshListener(const css::uno::Reference< css::util::XRefreshListener > &xListener) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
virtual void SAL_CALL setPropertyValue(const OUString &rPropertyName, const css::uno::Any &rValue) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
std::unique_ptr< T, UnoImplPtrDeleter< T > > UnoImplPtr
Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.
::cppu::ImplInheritanceHelper< ::sfx2::MetadatableMixin, css::lang::XServiceInfo, css::beans::XPropertySet, css::container::XNamed, css::util::XRefreshable, css::text::XDocumentIndex > SwXDocumentIndex_Base
::cppu::WeakImplHelper< css::lang::XServiceInfo, css::beans::XPropertySet, css::text::XDocumentIndexMark > SwXDocumentIndexMark_Base