27#include <com/sun/star/sheet/XSheetConditionalEntries.hpp>
28#include <com/sun/star/sheet/XSheetCondition2.hpp>
29#include <com/sun/star/sheet/XSheetConditionalEntry.hpp>
30#include <com/sun/star/lang/XServiceInfo.hpp>
31#include <com/sun/star/container/XNameAccess.hpp>
32#include <com/sun/star/container/XEnumerationAccess.hpp>
33#include <com/sun/star/beans/XPropertySet.hpp>
35#include <com/sun/star/sheet/XMultiFormulaTokens.hpp>
36#include <com/sun/star/sheet/FormulaToken.hpp>
49 css::uno::Sequence< css::sheet::FormulaToken >
maTokens1;
50 css::uno::Sequence< css::sheet::FormulaToken >
maTokens2;
67 css::sheet::XSheetConditionalEntries,
68 css::container::XNameAccess,
69 css::container::XEnumerationAccess,
70 css::lang::XServiceInfo >
73 std::vector<rtl::Reference<ScTableConditionalEntry>>
maEntries;
87 virtual void SAL_CALL
addNew(
const css::uno::Sequence< css::beans::PropertyValue >& aConditionalEntry )
override;
88 virtual void SAL_CALL
removeByIndex( sal_Int32 nIndex )
override;
89 virtual void SAL_CALL
clear()
override;
92 virtual sal_Int32 SAL_CALL
getCount()
override;
96 virtual css::uno::Any SAL_CALL
getByName(
const OUString& aName )
override;
97 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
101 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
115 css::sheet::XSheetCondition2,
116 css::sheet::XSheetConditionalEntry,
117 css::lang::XServiceInfo >
130 virtual css::sheet::ConditionOperator SAL_CALL
getOperator()
override;
132 virtual void SAL_CALL
setOperator( css::sheet::ConditionOperator nOperator )
override;
135 virtual void SAL_CALL
setFormula1(
const OUString& aFormula1 )
override;
137 virtual void SAL_CALL
setFormula2(
const OUString& aFormula2 )
override;
139 virtual void SAL_CALL
setSourcePosition(
const css::table::CellAddress& aSourcePosition )
override;
143 virtual void SAL_CALL
setStyleName(
const OUString& aStyleName )
override;
152 css::sheet::XSheetCondition2,
153 css::sheet::XMultiFormulaTokens,
154 css::beans::XPropertySet,
155 css::lang::XServiceInfo >
166 css::uno::Sequence< css::sheet::FormulaToken >
aTokens1;
167 css::uno::Sequence< css::sheet::FormulaToken >
aTokens2;
194 virtual css::sheet::ConditionOperator SAL_CALL
getOperator()
override;
196 virtual void SAL_CALL
setOperator( css::sheet::ConditionOperator nOperator )
override;
199 virtual void SAL_CALL
setFormula1(
const OUString& aFormula1 )
override;
201 virtual void SAL_CALL
setFormula2(
const OUString& aFormula2 )
override;
203 virtual void SAL_CALL
setSourcePosition(
const css::table::CellAddress& aSourcePosition )
override;
206 virtual css::uno::Sequence< css::sheet::FormulaToken >
207 SAL_CALL
getTokens( sal_Int32 nIndex )
override;
208 virtual void SAL_CALL
setTokens( sal_Int32 nIndex,
209 const css::uno::Sequence< css::sheet::FormulaToken >& aTokens )
override;
210 virtual sal_Int32 SAL_CALL
getCount()
override;
213 virtual css::uno::Reference< css::beans::XPropertySetInfo >
216 const css::uno::Any& aValue )
override;
218 const OUString& PropertyName )
override;
220 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
222 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
224 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
226 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Int32 SAL_CALL getConditionOperator() override
virtual void SAL_CALL setStyleName(const OUString &aStyleName) override
ScCondFormatEntryItem aData
virtual void SAL_CALL setSourcePosition(const css::table::CellAddress &aSourcePosition) override
virtual OUString SAL_CALL getFormula1() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual ~ScTableConditionalEntry() override
virtual void SAL_CALL setOperator(css::sheet::ConditionOperator nOperator) override
virtual void SAL_CALL setFormula1(const OUString &aFormula1) override
virtual void SAL_CALL setFormula2(const OUString &aFormula2) override
virtual void SAL_CALL setConditionOperator(sal_Int32 nOperator) override
virtual OUString SAL_CALL getFormula2() override
virtual OUString SAL_CALL getStyleName() override
virtual css::table::CellAddress SAL_CALL getSourcePosition() override
virtual css::sheet::ConditionOperator SAL_CALL getOperator() override
ScTableConditionalEntry()=delete
void GetData(ScCondFormatEntryItem &rData) const
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
ScValidationData * CreateValidationData(ScDocument &rDoc, formula::FormulaGrammar::Grammar eGrammar) const
virtual css::sheet::ConditionOperator SAL_CALL getOperator() override
virtual void SAL_CALL setTokens(sal_Int32 nIndex, const css::uno::Sequence< css::sheet::FormulaToken > &aTokens) override
ScTableValidationObj()=delete
virtual void SAL_CALL setFormula1(const OUString &aFormula1) override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Int32 SAL_CALL getConditionOperator() override
formula::FormulaGrammar::Grammar meGrammar1
virtual void SAL_CALL setSourcePosition(const css::table::CellAddress &aSourcePosition) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual sal_Int32 SAL_CALL getCount() override
virtual ~ScTableValidationObj() override
virtual css::table::CellAddress SAL_CALL getSourcePosition() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
css::uno::Sequence< css::sheet::FormulaToken > aTokens1
virtual OUString SAL_CALL getFormula1() override
virtual OUString SAL_CALL getFormula2() override
virtual void SAL_CALL setConditionOperator(sal_Int32 nOperator) override
css::uno::Sequence< css::sheet::FormulaToken > aTokens2
virtual void SAL_CALL setFormula2(const OUString &aFormula2) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Sequence< css::sheet::FormulaToken > SAL_CALL getTokens(sal_Int32 nIndex) override
formula::FormulaGrammar::Grammar meGrammar2
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL setOperator(css::sheet::ConditionOperator nOperator) override
SfxItemPropertySet aPropSet
formula::FormulaGrammar::Grammar meGrammar2
css::uno::Sequence< css::sheet::FormulaToken > maTokens2
css::uno::Sequence< css::sheet::FormulaToken > maTokens1
formula::FormulaGrammar::Grammar meGrammar1