23#include <com/sun/star/uno/Any.hxx>
24#include <com/sun/star/beans/XPropertySet.hpp>
25#include <com/sun/star/lang/XServiceInfo.hpp>
26#include <com/sun/star/lang/XComponent.hpp>
27#include <com/sun/star/lang/XSingleServiceFactory.hpp>
28#include <com/sun/star/container/XIndexAccess.hpp>
29#include <com/sun/star/container/XNameContainer.hpp>
30#include <com/sun/star/container/XNamed.hpp>
42class SdStyleFamily final :
public ::cppu::WeakImplHelper< css::container::XNameContainer, css::container::XNamed, css::container::XIndexAccess, css::lang::XSingleServiceFactory, css::lang::XServiceInfo, css::lang::XComponent, css::beans::XPropertySet >
59 virtual OUString SAL_CALL
getName( )
override;
60 virtual void SAL_CALL
setName(
const OUString&
aName )
override;
63 virtual css::uno::Any SAL_CALL
getByName(
const OUString&
aName )
override;
64 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
72 virtual sal_Int32 SAL_CALL
getCount()
override ;
76 virtual void SAL_CALL
insertByName(
const OUString&
aName,
const css::uno::Any& aElement )
override;
80 virtual void SAL_CALL
replaceByName(
const OUString&
aName,
const css::uno::Any& aElement )
override;
83 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstance( )
override;
87 virtual void SAL_CALL
dispose( )
override;
88 virtual void SAL_CALL
addEventListener(
const css::uno::Reference< css::lang::XEventListener >& xListener )
override;
89 virtual void SAL_CALL
removeEventListener(
const css::uno::Reference< css::lang::XEventListener >& aListener )
override;
92 virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL
getPropertySetInfo()
override;
93 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
94 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
95 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference<css::beans::XPropertyChangeListener>& xListener )
override;
96 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference<css::beans::XPropertyChangeListener>& aListener )
override;
97 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference<css::beans::XVetoableChangeListener>& aListener )
override;
98 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference<css::beans::XVetoableChangeListener>&aListener )
override;
111 std::unique_ptr<SdStyleFamilyImpl>
mpImpl;
SdStyleFamily(rtl::Reference< SfxStyleSheetPool > xPool, SfxStyleFamily nFamily)
creates the style family for the given SfxStyleFamily
rtl::Reference< SfxStyleSheetPool > mxPool
virtual sal_Int32 SAL_CALL getCount() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual OUString SAL_CALL getImplementationName() override
virtual ~SdStyleFamily() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
SdStyleSheet * GetSheetByName(const OUString &rName)
virtual void SAL_CALL setName(const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
std::unique_ptr< SdStyleFamilyImpl > mpImpl
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual sal_Bool SAL_CALL hasElements() override
void throwIfDisposed() const
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments(const css::uno::Sequence< css::uno::Any > &aArguments) override
virtual OUString SAL_CALL getName() override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
SdStyleSheet * GetValidNewSheet(const css::uno::Any &rElement)
virtual void SAL_CALL replaceByName(const OUString &aName, const css::uno::Any &aElement) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL dispose() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL removeByName(const OUString &Name) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL insertByName(const OUString &aName, const css::uno::Any &aElement) override
Sequence< PropertyValue > aArguments
rtl::Reference< SdStyleFamily > SdStyleFamilyRef