LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScTableValidationObj Class Referencefinal

#include <fmtuno.hxx>

Inheritance diagram for ScTableValidationObj:
[legend]
Collaboration diagram for ScTableValidationObj:
[legend]

Public Member Functions

 ScTableValidationObj ()=delete
 
 ScTableValidationObj (const ScDocument &rDoc, sal_uLong nKey, const formula::FormulaGrammar::Grammar eGrammar)
 
virtual ~ScTableValidationObj () override
 
ScValidationDataCreateValidationData (ScDocument &rDoc, formula::FormulaGrammar::Grammar eGrammar) const
 
virtual css::sheet::ConditionOperator SAL_CALL getOperator () override
 
virtual sal_Int32 SAL_CALL getConditionOperator () override
 
virtual void SAL_CALL setOperator (css::sheet::ConditionOperator nOperator) override
 
virtual void SAL_CALL setConditionOperator (sal_Int32 nOperator) override
 
virtual OUString SAL_CALL getFormula1 () override
 
virtual void SAL_CALL setFormula1 (const OUString &aFormula1) override
 
virtual OUString SAL_CALL getFormula2 () override
 
virtual void SAL_CALL setFormula2 (const OUString &aFormula2) override
 
virtual css::table::CellAddress SAL_CALL getSourcePosition () override
 
virtual void SAL_CALL setSourcePosition (const css::table::CellAddress &aSourcePosition) override
 
virtual css::uno::Sequence< css::sheet::FormulaToken > SAL_CALL getTokens (sal_Int32 nIndex) override
 
virtual void SAL_CALL setTokens (sal_Int32 nIndex, const css::uno::Sequence< css::sheet::FormulaToken > &aTokens) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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 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
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

void ClearData_Impl ()
 

Private Attributes

SfxItemPropertySet aPropSet
 
ScConditionMode nMode
 
OUString aExpr1
 
OUString aExpr2
 
OUString maExprNmsp1
 
OUString maExprNmsp2
 
formula::FormulaGrammar::Grammar meGrammar1
 
formula::FormulaGrammar::Grammar meGrammar2
 
css::uno::Sequence< css::sheet::FormulaToken > aTokens1
 
css::uno::Sequence< css::sheet::FormulaToken > aTokens2
 
ScAddress aSrcPos
 
OUString aPosString
 
sal_uInt16 nValMode
 
bool bIgnoreBlank
 
sal_Int16 nShowList
 
bool bShowInput
 
OUString aInputTitle
 
OUString aInputMessage
 
bool bShowError
 
sal_uInt16 nErrorStyle
 
OUString aErrorTitle
 
OUString aErrorMessage
 

Detailed Description

Definition at line 157 of file fmtuno.hxx.

Constructor & Destructor Documentation

ScTableValidationObj::ScTableValidationObj ( )
delete
ScTableValidationObj::ScTableValidationObj ( const ScDocument rDoc,
sal_uLong  nKey,
const formula::FormulaGrammar::Grammar  eGrammar 
)
ScTableValidationObj::~ScTableValidationObj ( )
overridevirtual

Definition at line 651 of file fmtuno.cxx.

Member Function Documentation

virtual void SAL_CALL ScTableValidationObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
virtual void SAL_CALL ScTableValidationObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void ScTableValidationObj::ClearData_Impl ( )
private
ScValidationData * ScTableValidationObj::CreateValidationData ( ScDocument rDoc,
formula::FormulaGrammar::Grammar  eGrammar 
) const
sal_Int32 SAL_CALL ScTableValidationObj::getConditionOperator ( )
overridevirtual

Definition at line 669 of file fmtuno.cxx.

References lcl_ConditionModeToOperatorNew(), and nMode.

sal_Int32 SAL_CALL ScTableValidationObj::getCount ( )
overridevirtual

Definition at line 748 of file fmtuno.cxx.

OUString SAL_CALL ScTableValidationObj::getFormula1 ( )
overridevirtual

Definition at line 681 of file fmtuno.cxx.

References aExpr1.

OUString SAL_CALL ScTableValidationObj::getFormula2 ( )
overridevirtual

Definition at line 693 of file fmtuno.cxx.

References aExpr2.

virtual OUString SAL_CALL ScTableValidationObj::getImplementationName ( )
overridevirtual
sheet::ConditionOperator SAL_CALL ScTableValidationObj::getOperator ( )
overridevirtual

Definition at line 657 of file fmtuno.cxx.

References lcl_ConditionModeToOperator(), and nMode.

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScTableValidationObj::getPropertySetInfo ( )
overridevirtual

Definition at line 753 of file fmtuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

uno::Any SAL_CALL ScTableValidationObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
table::CellAddress SAL_CALL ScTableValidationObj::getSourcePosition ( )
overridevirtual

Definition at line 705 of file fmtuno.cxx.

References aSrcPos, ScAddress::Col(), ScAddress::Row(), and ScAddress::Tab().

virtual css::uno::Sequence< OUString > SAL_CALL ScTableValidationObj::getSupportedServiceNames ( )
overridevirtual
uno::Sequence< sheet::FormulaToken > SAL_CALL ScTableValidationObj::getTokens ( sal_Int32  nIndex)
overridevirtual

Definition at line 721 of file fmtuno.cxx.

References aTokens1, and aTokens2.

virtual void SAL_CALL ScTableValidationObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ScTableValidationObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScTableValidationObj::setConditionOperator ( sal_Int32  nOperator)
overridevirtual

Definition at line 675 of file fmtuno.cxx.

References ScConditionEntry::GetModeFromApi(), and nMode.

void SAL_CALL ScTableValidationObj::setFormula1 ( const OUString &  aFormula1)
overridevirtual

Definition at line 687 of file fmtuno.cxx.

References aExpr1.

void SAL_CALL ScTableValidationObj::setFormula2 ( const OUString &  aFormula2)
overridevirtual

Definition at line 699 of file fmtuno.cxx.

References aExpr2.

void SAL_CALL ScTableValidationObj::setOperator ( css::sheet::ConditionOperator  nOperator)
overridevirtual

Definition at line 663 of file fmtuno.cxx.

References lcl_ConditionOperatorToMode(), and nMode.

void SAL_CALL ScTableValidationObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
void SAL_CALL ScTableValidationObj::setSourcePosition ( const css::table::CellAddress &  aSourcePosition)
overridevirtual

Definition at line 715 of file fmtuno.cxx.

References aSrcPos, and ScAddress::Set().

void SAL_CALL ScTableValidationObj::setTokens ( sal_Int32  nIndex,
const css::uno::Sequence< css::sheet::FormulaToken > &  aTokens 
)
overridevirtual

Definition at line 730 of file fmtuno.cxx.

References aExpr1, aExpr2, aTokens1, and aTokens2.

virtual sal_Bool SAL_CALL ScTableValidationObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

OUString ScTableValidationObj::aErrorMessage
private
OUString ScTableValidationObj::aErrorTitle
private
OUString ScTableValidationObj::aExpr1
private
OUString ScTableValidationObj::aExpr2
private
OUString ScTableValidationObj::aInputMessage
private
OUString ScTableValidationObj::aInputTitle
private
OUString ScTableValidationObj::aPosString
private

Definition at line 176 of file fmtuno.hxx.

Referenced by CreateValidationData(), and setPropertyValue().

SfxItemPropertySet ScTableValidationObj::aPropSet
private

Definition at line 165 of file fmtuno.hxx.

Referenced by getPropertySetInfo().

ScAddress ScTableValidationObj::aSrcPos
private
css::uno::Sequence< css::sheet::FormulaToken > ScTableValidationObj::aTokens1
private

Definition at line 173 of file fmtuno.hxx.

Referenced by CreateValidationData(), getTokens(), and setTokens().

css::uno::Sequence< css::sheet::FormulaToken > ScTableValidationObj::aTokens2
private

Definition at line 174 of file fmtuno.hxx.

Referenced by CreateValidationData(), getTokens(), and setTokens().

bool ScTableValidationObj::bIgnoreBlank
private
bool ScTableValidationObj::bShowError
private
bool ScTableValidationObj::bShowInput
private
OUString ScTableValidationObj::maExprNmsp1
private

Definition at line 169 of file fmtuno.hxx.

Referenced by ClearData_Impl(), CreateValidationData(), and setPropertyValue().

OUString ScTableValidationObj::maExprNmsp2
private

Definition at line 170 of file fmtuno.hxx.

Referenced by ClearData_Impl(), CreateValidationData(), and setPropertyValue().

formula::FormulaGrammar::Grammar ScTableValidationObj::meGrammar1
private
formula::FormulaGrammar::Grammar ScTableValidationObj::meGrammar2
private
sal_uInt16 ScTableValidationObj::nErrorStyle
private
ScConditionMode ScTableValidationObj::nMode
private
sal_Int16 ScTableValidationObj::nShowList
private
sal_uInt16 ScTableValidationObj::nValMode
private

The documentation for this class was generated from the following files: