14#include <com/sun/star/beans/XPropertySet.hpp>
15#include <com/sun/star/sheet/XConditionalFormats.hpp>
16#include <com/sun/star/sheet/XConditionalFormat.hpp>
17#include <com/sun/star/sheet/XConditionEntry.hpp>
18#include <com/sun/star/sheet/XColorScaleEntry.hpp>
19#include <com/sun/star/sheet/XDataBarEntry.hpp>
20#include <com/sun/star/sheet/XIconSetEntry.hpp>
52 virtual sal_Int32 SAL_CALL
createByRange(
const uno::Reference<sheet::XSheetCellRanges>& xRanges)
override;
54 virtual void SAL_CALL
removeByID(
const sal_Int32 nID )
override;
56 virtual uno::Sequence< uno::Reference< sheet::XConditionalFormat > > SAL_CALL
getConditionalFormats()
override;
58 virtual sal_Int32 SAL_CALL
getLength()
override;
67class ScCondFormatObj :
public cppu::WeakImplHelper<css::sheet::XConditionalFormat,
68 css::beans::XPropertySet>
88 virtual sal_Int32 SAL_CALL
getCount()
override;
93 virtual css::uno::Reference< css::beans::XPropertySetInfo >
96 const css::uno::Any& aValue )
override;
98 const OUString& PropertyName )
override;
100 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
102 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
104 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
106 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
118 css::sheet::XConditionEntry>
129 virtual sal_Int32 SAL_CALL
getType()
override;
132 virtual css::uno::Reference< css::beans::XPropertySetInfo >
135 const css::uno::Any& aValue )
override;
137 const OUString& PropertyName )
override;
139 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
141 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
143 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
145 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
155 css::sheet::XConditionEntry>
163 virtual sal_Int32 SAL_CALL
getType()
override;
169 virtual css::uno::Reference< css::beans::XPropertySetInfo >
172 const css::uno::Any& aValue )
override;
174 const OUString& PropertyName )
override;
176 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
178 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
180 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
182 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
197 virtual sal_Int32 SAL_CALL
getColor()
override;
199 virtual void SAL_CALL
setColor(sal_Int32 aColor)
override;
201 virtual sal_Int32 SAL_CALL
getType()
override;
203 virtual void SAL_CALL
setType(sal_Int32
nType)
override;
205 virtual OUString SAL_CALL
getFormula()
override;
207 virtual void SAL_CALL
setFormula(
const OUString& rString)
override;
217 css::sheet::XConditionEntry>
227 virtual sal_Int32 SAL_CALL
getType()
override;
230 virtual css::uno::Reference< css::beans::XPropertySetInfo >
233 const css::uno::Any& aValue )
override;
235 const OUString& PropertyName )
override;
237 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
239 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
241 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
243 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
258 virtual sal_Int32 SAL_CALL
getType()
override;
260 virtual void SAL_CALL
setType(sal_Int32
nType)
override;
262 virtual OUString SAL_CALL
getFormula()
override;
264 virtual void SAL_CALL
setFormula(
const OUString& rString)
override;
274 css::sheet::XConditionEntry>
284 virtual sal_Int32 SAL_CALL
getType()
override;
287 virtual css::uno::Reference< css::beans::XPropertySetInfo >
290 const css::uno::Any& aValue )
override;
292 const OUString& PropertyName )
override;
294 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
296 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
298 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
300 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
315 virtual sal_Int32 SAL_CALL
getType()
override;
317 virtual void SAL_CALL
setType(sal_Int32
nType)
override;
319 virtual OUString SAL_CALL
getFormula()
override;
321 virtual void SAL_CALL
setFormula(
const OUString& rString)
override;
331 css::sheet::XConditionEntry>
342 virtual sal_Int32 SAL_CALL
getType()
override;
345 virtual css::uno::Reference< css::beans::XPropertySetInfo >
348 const css::uno::Any& aValue )
override;
350 const OUString& PropertyName )
override;
352 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
354 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
356 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
358 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
virtual sal_Int32 SAL_CALL getType() override
ScColorScaleEntry * getCoreObject()
virtual ~ScColorScaleEntryObj() override
virtual OUString SAL_CALL getFormula() override
virtual void SAL_CALL setColor(sal_Int32 aColor) override
virtual void SAL_CALL setType(sal_Int32 nType) override
virtual sal_Int32 SAL_CALL getColor() override
ScColorScaleEntryObj(rtl::Reference< ScColorScaleFormatObj > xParent, size_t nPos)
rtl::Reference< ScColorScaleFormatObj > mxParent
virtual void SAL_CALL setFormula(const OUString &rString) override
virtual sal_Int32 SAL_CALL getType() override
virtual void SAL_CALL addVetoableChangeListener(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
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual ~ScConditionEntryObj() override
ScConditionEntryObj(rtl::Reference< ScCondFormatObj > const &xParent, const ScCondFormatEntry *pFormat)
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
SfxItemPropertySet maPropSet
ScCondFormatEntry * getCoreObject()
const ScCondFormatEntry * mpFormat
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
rtl::Reference< ScCondFormatObj > mxParent
virtual sal_Int32 SAL_CALL getType() override
virtual OUString SAL_CALL getFormula() override
virtual ~ScDataBarEntryObj() override
ScColorScaleEntry * getCoreObject()
virtual void SAL_CALL setType(sal_Int32 nType) override
ScDataBarEntryObj(rtl::Reference< ScDataBarFormatObj > xParent, size_t nPos)
virtual void SAL_CALL setFormula(const OUString &rString) override
rtl::Reference< ScDataBarFormatObj > mxParent
ScColorScaleEntry * getCoreObject()
rtl::Reference< ScIconSetFormatObj > mxParent
virtual sal_Int32 SAL_CALL getType() override
ScIconSetEntryObj(rtl::Reference< ScIconSetFormatObj > xParent, size_t nPos)
virtual void SAL_CALL setType(sal_Int32 nType) override
virtual void SAL_CALL setFormula(const OUString &rString) override
virtual ~ScIconSetEntryObj() override
virtual OUString SAL_CALL getFormula() override