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_uInt32 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 151 of file fmtuno.hxx.

Constructor & Destructor Documentation

◆ ScTableValidationObj() [1/2]

ScTableValidationObj::ScTableValidationObj ( )
delete

◆ ScTableValidationObj() [2/2]

ScTableValidationObj::ScTableValidationObj ( const ScDocument rDoc,
sal_uInt32  nKey,
const formula::FormulaGrammar::Grammar  eGrammar 
)

◆ ~ScTableValidationObj()

ScTableValidationObj::~ScTableValidationObj ( )
overridevirtual

Definition at line 647 of file fmtuno.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL ScTableValidationObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ScTableValidationObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ ClearData_Impl()

void ScTableValidationObj::ClearData_Impl ( )
private

◆ CreateValidationData()

ScValidationData * ScTableValidationObj::CreateValidationData ( ScDocument rDoc,
formula::FormulaGrammar::Grammar  eGrammar 
) const

◆ getConditionOperator()

sal_Int32 SAL_CALL ScTableValidationObj::getConditionOperator ( )
overridevirtual

Definition at line 665 of file fmtuno.cxx.

References lcl_ConditionModeToOperatorNew(), and nMode.

◆ getCount()

sal_Int32 SAL_CALL ScTableValidationObj::getCount ( )
overridevirtual

Definition at line 744 of file fmtuno.cxx.

◆ getFormula1()

OUString SAL_CALL ScTableValidationObj::getFormula1 ( )
overridevirtual

Definition at line 677 of file fmtuno.cxx.

References aExpr1.

◆ getFormula2()

OUString SAL_CALL ScTableValidationObj::getFormula2 ( )
overridevirtual

Definition at line 689 of file fmtuno.cxx.

References aExpr2.

◆ getImplementationName()

virtual OUString SAL_CALL ScTableValidationObj::getImplementationName ( )
overridevirtual

◆ getOperator()

sheet::ConditionOperator SAL_CALL ScTableValidationObj::getOperator ( )
overridevirtual

Definition at line 653 of file fmtuno.cxx.

References lcl_ConditionModeToOperator(), and nMode.

◆ getPropertySetInfo()

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

Definition at line 749 of file fmtuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

◆ getPropertyValue()

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

◆ getSourcePosition()

table::CellAddress SAL_CALL ScTableValidationObj::getSourcePosition ( )
overridevirtual

Definition at line 701 of file fmtuno.cxx.

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

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScTableValidationObj::getSupportedServiceNames ( )
overridevirtual

◆ getTokens()

uno::Sequence< sheet::FormulaToken > SAL_CALL ScTableValidationObj::getTokens ( sal_Int32  nIndex)
overridevirtual

Definition at line 717 of file fmtuno.cxx.

References aTokens1, aTokens2, and nIndex.

◆ removePropertyChangeListener()

virtual void SAL_CALL ScTableValidationObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScTableValidationObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ setConditionOperator()

void SAL_CALL ScTableValidationObj::setConditionOperator ( sal_Int32  nOperator)
overridevirtual

Definition at line 671 of file fmtuno.cxx.

References ScConditionEntry::GetModeFromApi(), and nMode.

◆ setFormula1()

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

Definition at line 683 of file fmtuno.cxx.

References aExpr1.

◆ setFormula2()

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

Definition at line 695 of file fmtuno.cxx.

References aExpr2.

◆ setOperator()

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

Definition at line 659 of file fmtuno.cxx.

References lcl_ConditionOperatorToMode(), and nMode.

◆ setPropertyValue()

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

◆ setSourcePosition()

void SAL_CALL ScTableValidationObj::setSourcePosition ( const css::table::CellAddress &  aSourcePosition)
overridevirtual

Definition at line 711 of file fmtuno.cxx.

References aSrcPos, and ScAddress::Set().

◆ setTokens()

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

Definition at line 726 of file fmtuno.cxx.

References aExpr1, aExpr2, aTokens1, aTokens2, and nIndex.

◆ supportsService()

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

Member Data Documentation

◆ aErrorMessage

OUString ScTableValidationObj::aErrorMessage
private

◆ aErrorTitle

OUString ScTableValidationObj::aErrorTitle
private

◆ aExpr1

OUString ScTableValidationObj::aExpr1
private

◆ aExpr2

OUString ScTableValidationObj::aExpr2
private

◆ aInputMessage

OUString ScTableValidationObj::aInputMessage
private

◆ aInputTitle

OUString ScTableValidationObj::aInputTitle
private

◆ aPosString

OUString ScTableValidationObj::aPosString
private

Definition at line 169 of file fmtuno.hxx.

Referenced by CreateValidationData(), and setPropertyValue().

◆ aPropSet

SfxItemPropertySet ScTableValidationObj::aPropSet
private

Definition at line 158 of file fmtuno.hxx.

Referenced by getPropertySetInfo().

◆ aSrcPos

ScAddress ScTableValidationObj::aSrcPos
private

◆ aTokens1

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

Definition at line 166 of file fmtuno.hxx.

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

◆ aTokens2

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

Definition at line 167 of file fmtuno.hxx.

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

◆ bIgnoreBlank

bool ScTableValidationObj::bIgnoreBlank
private

◆ bShowError

bool ScTableValidationObj::bShowError
private

◆ bShowInput

bool ScTableValidationObj::bShowInput
private

◆ maExprNmsp1

OUString ScTableValidationObj::maExprNmsp1
private

Definition at line 162 of file fmtuno.hxx.

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

◆ maExprNmsp2

OUString ScTableValidationObj::maExprNmsp2
private

Definition at line 163 of file fmtuno.hxx.

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

◆ meGrammar1

formula::FormulaGrammar::Grammar ScTableValidationObj::meGrammar1
private

◆ meGrammar2

formula::FormulaGrammar::Grammar ScTableValidationObj::meGrammar2
private

◆ nErrorStyle

sal_uInt16 ScTableValidationObj::nErrorStyle
private

◆ nMode

ScConditionMode ScTableValidationObj::nMode
private

◆ nShowList

sal_Int16 ScTableValidationObj::nShowList
private

◆ nValMode

sal_uInt16 ScTableValidationObj::nValMode
private

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