20#ifndef INCLUDED_SW_SOURCE_CORE_INC_UNOSECTION_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_UNOSECTION_HXX
23#include <com/sun/star/lang/XServiceInfo.hpp>
24#include <com/sun/star/beans/XPropertySet.hpp>
25#include <com/sun/star/beans/XPropertyState.hpp>
26#include <com/sun/star/beans/XMultiPropertySet.hpp>
27#include <com/sun/star/container/XNamed.hpp>
28#include <com/sun/star/text/XTextSection.hpp>
38typedef ::cppu::ImplInheritanceHelper
40, css::lang::XServiceInfo
41, css::beans::XPropertySet
42, css::beans::XPropertyState
43, css::beans::XMultiPropertySet
44, css::container::XNamed
45, css::text::XTextSection
67 const bool bIndexHeader =
false);
71 virtual css::uno::Reference< css::frame::XModel >
77 const OUString& rServiceName)
override;
78 virtual css::uno::Sequence< OUString > SAL_CALL
82 virtual void SAL_CALL
dispose()
override;
84 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
86 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
89 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
92 const OUString& rPropertyName,
93 const css::uno::Any& rValue)
override;
95 const OUString& rPropertyName)
override;
97 const OUString& rPropertyName,
98 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
100 const OUString& rPropertyName,
101 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
103 const OUString& rPropertyName,
104 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
106 const OUString& rPropertyName,
107 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
110 virtual css::beans::PropertyState SAL_CALL
112 virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL
114 const css::uno::Sequence< OUString >& rPropertyNames)
override;
116 const OUString& rPropertyName)
override;
118 const OUString& rPropertyName)
override;
122 const css::uno::Sequence< OUString >& rPropertyNames,
123 const css::uno::Sequence< css::uno::Any >& rValues)
override;
124 virtual css::uno::Sequence< css::uno::Any >
126 const css::uno::Sequence< OUString >& rPropertyNames)
override;
128 const css::uno::Sequence< OUString >& rPropertyNames,
129 const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener)
override;
131 const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener)
override;
133 const css::uno::Sequence< OUString >& rPropertyNames,
134 const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener)
override;
137 virtual OUString SAL_CALL
getName()
override;
138 virtual void SAL_CALL
setName(
const OUString& rName)
override;
141 virtual void SAL_CALL
attach(
142 const css::uno::Reference< css::text::XTextRange > & xTextRange)
override;
143 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL
getAnchor()
override;
146 virtual css::uno::Reference< css::text::XTextSection > SAL_CALL
148 virtual css::uno::Sequence< css::uno::Reference< css::text::XTextSection > > SAL_CALL
virtual void SAL_CALL addPropertiesChangeListener(const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ::sfx2::Metadatable * GetCoreObject() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::uno::Reference< css::frame::XModel > GetModel() override
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues(const css::uno::Sequence< OUString > &rPropertyNames) override
virtual void SAL_CALL firePropertiesChangeEvent(const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual OUString SAL_CALL getName() override
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &rPropertyName) override
virtual ~SwXTextSection() override
virtual void SAL_CALL setPropertyValues(const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rValues) override
virtual css::uno::Reference< css::text::XTextSection > SAL_CALL getParentSection() override
virtual void SAL_CALL dispose() override
virtual void SAL_CALL setPropertyValue(const OUString &rPropertyName, const css::uno::Any &rValue) override
virtual void SAL_CALL removePropertiesChangeListener(const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &rPropertyNames) override
SwSectionFormat * GetFormat() const
SwXTextSection(SwSectionFormat *const pFormat, const bool bIndexHeader)
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &rPropertyName) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
::sw::UnoImplPtr< Impl > m_pImpl
virtual void SAL_CALL setPropertyToDefault(const OUString &rPropertyName) override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL setName(const OUString &rName) override
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &rPropertyName) override
virtual sal_Bool SAL_CALL supportsService(const OUString &rServiceName) override
static rtl::Reference< SwXTextSection > CreateXTextSection(SwSectionFormat *const pFormat, const bool bIndexHeader=false)
virtual css::uno::Sequence< css::uno::Reference< css::text::XTextSection > > SAL_CALL getChildSections() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL attach(const css::uno::Reference< css::text::XTextRange > &xTextRange) override
virtual OUString SAL_CALL getImplementationName() 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::beans::XPropertyState, css::beans::XMultiPropertySet, css::container::XNamed, css::text::XTextSection > SwXTextSection_Base