24#include <com/sun/star/container/XIndexAccess.hpp>
25#include <com/sun/star/style/XStyle.hpp>
26#include <com/sun/star/style/XStyleLoader2.hpp>
27#include <com/sun/star/lang/XServiceInfo.hpp>
28#include <com/sun/star/container/XNameContainer.hpp>
29#include <com/sun/star/beans/XPropertySet.hpp>
30#include <com/sun/star/beans/XMultiPropertySet.hpp>
31#include <com/sun/star/beans/XPropertyState.hpp>
32#include <com/sun/star/beans/XMultiPropertyStates.hpp>
48 css::container::XIndexAccess,
49 css::container::XNameAccess,
50 css::style::XStyleLoader2,
51 css::lang::XServiceInfo >,
68 virtual sal_Int32 SAL_CALL
getCount()
override;
72 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
73 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
82 const css::uno::Sequence< css::beans::PropertyValue >& aOptions )
override;
83 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
87 virtual void SAL_CALL
loadStylesFromDocument(
const css::uno::Reference < css::lang::XComponent > & aSourceComponent,
88 const css::uno::Sequence< css::beans::PropertyValue >& aOptions )
override;
97 const css::uno::Sequence< css::beans::PropertyValue>& aOptions );
101 css::container::XNameContainer,
102 css::container::XIndexAccess,
103 css::beans::XPropertySet,
104 css::lang::XServiceInfo >,
121 virtual void SAL_CALL
insertByName(
const OUString& aName,
122 const css::uno::Any& aElement )
override;
123 virtual void SAL_CALL
removeByName(
const OUString& Name )
override;
127 const css::uno::Any& aElement )
override;
130 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
131 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
135 virtual sal_Int32 SAL_CALL
getCount()
override;
143 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo()
override;
144 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
145 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
146 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
147 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
148 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
149 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
159 css::beans::XPropertySet,
160 css::beans::XMultiPropertySet,
161 css::beans::XPropertyState,
162 css::beans::XMultiPropertyStates,
163 css::lang::XServiceInfo >,
189 const css::uno::Any* pValue );
204 static css::uno::Reference< css::container::XIndexReplace >
211 virtual void SAL_CALL
setParentStyle(
const OUString& aParentStyle )
override;
214 virtual OUString SAL_CALL
getName()
override;
215 virtual void SAL_CALL
setName(
const OUString& aName )
override;
218 virtual css::uno::Reference< css::beans::XPropertySetInfo >
221 const css::uno::Any& aValue )
override;
222 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
224 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
226 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
228 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
230 const css::uno::Reference<
231 css::beans::XVetoableChangeListener >& aListener )
override;
234 virtual void SAL_CALL
setPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames,
235 const css::uno::Sequence< css::uno::Any >& aValues )
override;
236 virtual css::uno::Sequence< css::uno::Any > SAL_CALL
237 getPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
239 const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
242 const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
246 const OUString& PropertyName )
override;
247 virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL
248 getPropertyStates(
const css::uno::Sequence< OUString >& aPropertyName )
override;
250 virtual css::uno::Any SAL_CALL
getPropertyDefault(
const OUString& aPropertyName )
override;
255 virtual void SAL_CALL
setPropertiesToDefault(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
256 virtual css::uno::Sequence< css::uno::Any > SAL_CALL
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual sal_Bool SAL_CALL hasElements() override
rtl::Reference< ScStyleFamilyObj > GetObjectByName_Impl(std::u16string_view aName) const
virtual css::uno::Type SAL_CALL getElementType() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual ~ScStyleFamiliesObj() override
virtual void SAL_CALL loadStylesFromDocument(const css::uno::Reference< css::lang::XComponent > &aSourceComponent, const css::uno::Sequence< css::beans::PropertyValue > &aOptions) override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
rtl::Reference< ScStyleFamilyObj > GetObjectByIndex_Impl(sal_uInt32 nIndex) const
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getStyleLoaderOptions() override
virtual sal_Int32 SAL_CALL getCount() override
void loadStylesFromDocShell(ScDocShell *pSource, const css::uno::Sequence< css::beans::PropertyValue > &aOptions)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
ScStyleFamiliesObj(ScDocShell *pDocSh)
virtual void SAL_CALL loadStylesFromURL(const OUString &URL, const css::uno::Sequence< css::beans::PropertyValue > &aOptions) override
rtl::Reference< ScStyleFamilyObj > GetObjectByType_Impl(SfxStyleFamily nType) const
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
ScStyleFamilyObj(ScDocShell *pDocSh, SfxStyleFamily eFam)
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual sal_Int32 SAL_CALL getCount() override
rtl::Reference< ScStyleObj > GetObjectByIndex_Impl(sal_Int32 nIndex)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual sal_Bool SAL_CALL hasElements() override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL insertByName(const OUString &aName, const css::uno::Any &aElement) override
virtual void SAL_CALL replaceByName(const OUString &aName, const css::uno::Any &aElement) override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) 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 addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual ~ScStyleFamilyObj() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL removeByName(const OUString &Name) override
rtl::Reference< ScStyleObj > GetObjectByName_Impl(const OUString &Name)
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL setPropertyValues(const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
css::beans::PropertyState getPropertyState_Impl(std::u16string_view PropertyName)
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getParentStyle() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL setParentStyle(const OUString &aParentStyle) override
virtual sal_Bool SAL_CALL isUserDefined() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
void setPropertyValue_Impl(std::u16string_view rPropertyName, const SfxItemPropertyMapEntry *pEntry, const css::uno::Any *pValue)
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
const SfxItemPropertySet * pPropSet
virtual void SAL_CALL setAllPropertiesToDefault() override
virtual void SAL_CALL removePropertiesChangeListener(const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues(const css::uno::Sequence< OUString > &aPropertyNames) override
SfxStyleFamily GetFamily() const
virtual OUString SAL_CALL getName() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
const SfxItemSet * GetStyleItemSet_Impl(std::u16string_view rPropName, const SfxItemPropertyMapEntry *&rpEntry)
virtual void SAL_CALL addPropertiesChangeListener(const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual sal_Bool SAL_CALL isInUse() override
virtual ~ScStyleObj() override
static css::uno::Reference< css::container::XIndexReplace > CreateEmptyNumberingRules()
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
SfxStyleSheetBase * GetStyle_Impl(bool bUseCachedValue=false)
virtual void SAL_CALL setName(const OUString &aName) override
SfxStyleSheetBase * pStyle_cached
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
virtual void SAL_CALL setPropertiesToDefault(const css::uno::Sequence< OUString > &aPropertyNames) override
void InitDoc(ScDocShell *pNewDocSh, const OUString &rNewName)
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults(const css::uno::Sequence< OUString > &aPropertyNames) override
css::uno::Any getPropertyValue_Impl(std::u16string_view aPropertyName)
virtual void SAL_CALL firePropertiesChangeEvent(const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
css::uno::Any getPropertyDefault_Impl(std::u16string_view aPropertyName)
virtual OUString SAL_CALL getImplementationName() override