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>
33 #include <com/sun/star/lang/XUnoTunnel.hpp>
49 css::container::XIndexAccess,
50 css::container::XNameAccess,
51 css::style::XStyleLoader2,
52 css::lang::XServiceInfo >,
69 virtual sal_Int32 SAL_CALL
getCount()
override;
73 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
74 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
83 const css::uno::Sequence< css::beans::PropertyValue >& aOptions )
override;
84 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
88 virtual void SAL_CALL
loadStylesFromDocument(
const css::uno::Reference < css::lang::XComponent > & aSourceComponent,
89 const css::uno::Sequence< css::beans::PropertyValue >& aOptions )
override;
98 const css::uno::Sequence< css::beans::PropertyValue>& aOptions );
102 css::container::XNameContainer,
103 css::container::XIndexAccess,
104 css::beans::XPropertySet,
105 css::lang::XServiceInfo >,
122 virtual void SAL_CALL
insertByName(
const OUString& aName,
123 const css::uno::Any& aElement )
override;
124 virtual void SAL_CALL
removeByName(
const OUString& Name )
override;
128 const css::uno::Any& aElement )
override;
131 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
132 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
136 virtual sal_Int32 SAL_CALL
getCount()
override;
144 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo()
override;
145 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
146 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
147 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
148 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
149 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
150 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
160 css::beans::XPropertySet,
161 css::beans::XMultiPropertySet,
162 css::beans::XPropertyState,
163 css::beans::XMultiPropertyStates,
164 css::lang::XUnoTunnel,
165 css::lang::XServiceInfo >,
192 const css::uno::Any* pValue );
206 static css::uno::Reference< css::container::XIndexReplace >
213 virtual void SAL_CALL
setParentStyle(
const OUString& aParentStyle )
override;
216 virtual OUString SAL_CALL
getName()
override;
217 virtual void SAL_CALL
setName(
const OUString& aName )
override;
220 virtual css::uno::Reference< css::beans::XPropertySetInfo >
223 const css::uno::Any& aValue )
override;
224 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
226 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
228 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
230 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
232 const css::uno::Reference<
233 css::beans::XVetoableChangeListener >& aListener )
override;
236 virtual void SAL_CALL
setPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames,
237 const css::uno::Sequence< css::uno::Any >& aValues )
override;
238 virtual css::uno::Sequence< css::uno::Any > SAL_CALL
239 getPropertyValues(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
241 const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
244 const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener )
override;
248 const OUString& PropertyName )
override;
249 virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL
250 getPropertyStates(
const css::uno::Sequence< OUString >& aPropertyName )
override;
252 virtual css::uno::Any SAL_CALL
getPropertyDefault(
const OUString& aPropertyName )
override;
257 virtual void SAL_CALL
setPropertiesToDefault(
const css::uno::Sequence< OUString >& aPropertyNames )
override;
258 virtual css::uno::Sequence< css::uno::Any > SAL_CALL
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setParentStyle(const OUString &aParentStyle) override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getParentStyle() override
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
void loadStylesFromDocShell(ScDocShell *pSource, const css::uno::Sequence< css::beans::PropertyValue > &aOptions)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL removePropertiesChangeListener(const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual void SAL_CALL setName(const OUString &aName) override
virtual ~ScStyleFamilyObj() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
const SfxItemSet * GetStyleItemSet_Impl(std::u16string_view rPropName, const SfxItemPropertyMapEntry *&rpEntry)
#define UNO3_GETIMPLEMENTATION_DECL(classname)
virtual OUString SAL_CALL getName() override
virtual sal_Bool SAL_CALL hasElements() override
const SfxItemPropertySet * pPropSet
virtual sal_Int32 SAL_CALL getCount() override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL firePropertiesChangeEvent(const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual void SAL_CALL insertByName(const OUString &aName, const css::uno::Any &aElement) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL removeByName(const OUString &Name) override
ScStyleFamiliesObj(ScDocShell *pDocSh)
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
SfxStyleSheetBase * GetStyle_Impl(bool bUseCachedValue=false)
virtual void SAL_CALL setPropertiesToDefault(const css::uno::Sequence< OUString > &aPropertyNames) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual sal_Bool SAL_CALL isInUse() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
ScStyleFamilyObj(ScDocShell *pDocSh, SfxStyleFamily eFam)
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues(const css::uno::Sequence< OUString > &aPropertyNames) override
css::beans::PropertyState getPropertyState_Impl(std::u16string_view PropertyName)
rtl::Reference< ScStyleFamilyObj > GetObjectByName_Impl(std::u16string_view aName) const
virtual sal_Bool SAL_CALL isUserDefined() override
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults(const css::uno::Sequence< OUString > &aPropertyNames) override
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getStyleLoaderOptions() override
virtual sal_Bool SAL_CALL hasElements() override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
void setPropertyValue_Impl(std::u16string_view rPropertyName, const SfxItemPropertyMapEntry *pEntry, const css::uno::Any *pValue)
virtual sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL addPropertiesChangeListener(const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
rtl::Reference< ScStyleFamilyObj > GetObjectByType_Impl(SfxStyleFamily nType) const
rtl::Reference< ScStyleObj > GetObjectByIndex_Impl(sal_Int32 nIndex)
static css::uno::Reference< css::container::XIndexReplace > CreateEmptyNumberingRules()
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
rtl::Reference< ScStyleObj > GetObjectByName_Impl(const OUString &Name)
virtual void SAL_CALL loadStylesFromDocument(const css::uno::Reference< css::lang::XComponent > &aSourceComponent, const css::uno::Sequence< css::beans::PropertyValue > &aOptions) override
virtual ~ScStyleFamiliesObj() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
SfxStyleSheetBase * pStyle_cached
virtual ~ScStyleObj() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
css::uno::Any getPropertyDefault_Impl(std::u16string_view aPropertyName)
rtl::Reference< ScStyleFamilyObj > GetObjectByIndex_Impl(sal_uInt32 nIndex) const
void InitDoc(ScDocShell *pNewDocSh, const OUString &rNewName)
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
SfxStyleFamily GetFamily() const
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setAllPropertiesToDefault() override
virtual void SAL_CALL replaceByName(const OUString &aName, const css::uno::Any &aElement) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual void SAL_CALL setPropertyValues(const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
virtual void SAL_CALL loadStylesFromURL(const OUString &URL, const css::uno::Sequence< css::beans::PropertyValue > &aOptions) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
css::uno::Any getPropertyValue_Impl(std::u16string_view aPropertyName)