LibreOffice Module sc (master) 1
|
#include <fmtuno.hxx>
Public Member Functions | |
ScTableValidationObj ()=delete | |
ScTableValidationObj (const ScDocument &rDoc, sal_uInt32 nKey, const formula::FormulaGrammar::Grammar eGrammar) | |
virtual | ~ScTableValidationObj () override |
ScValidationData * | CreateValidationData (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 |
Definition at line 151 of file fmtuno.hxx.
|
delete |
ScTableValidationObj::ScTableValidationObj | ( | const ScDocument & | rDoc, |
sal_uInt32 | nKey, | ||
const formula::FormulaGrammar::Grammar | eGrammar | ||
) |
Definition at line 543 of file fmtuno.cxx.
References aErrorMessage, aErrorTitle, aExpr1, aExpr2, aInputMessage, aInputTitle, aSrcPos, bIgnoreBlank, bShowError, bShowInput, ClearData_Impl(), ScDocument::GetValidationEntry(), ScDocument::IsInExternalReferenceMarking(), meGrammar1, meGrammar2, nErrorStyle, nMode, nShowList, nValMode, pData, and SC_VALID_ANY.
|
overridevirtual |
Definition at line 647 of file fmtuno.cxx.
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 626 of file fmtuno.cxx.
References aErrorMessage, aErrorTitle, aExpr1, aExpr2, aInputMessage, aInputTitle, aSrcPos, bIgnoreBlank, bShowError, bShowInput, maExprNmsp1, maExprNmsp2, meGrammar1, meGrammar2, nErrorStyle, nMode, NONE, nShowList, nValMode, SC_VALERR_STOP, SC_VALID_ANY, and ScAddress::Set().
Referenced by ScTableValidationObj().
ScValidationData * ScTableValidationObj::CreateValidationData | ( | ScDocument & | rDoc, |
formula::FormulaGrammar::Grammar | eGrammar | ||
) | const |
Definition at line 582 of file fmtuno.cxx.
References aErrorMessage, aErrorTitle, aExpr1, aExpr2, aInputMessage, aInputTitle, aPosString, aSrcPos, aTokens1, aTokens2, bIgnoreBlank, bShowError, bShowInput, ScTokenConversion::ConvertToTokenArray(), maExprNmsp1, maExprNmsp2, meGrammar1, meGrammar2, nErrorStyle, nMode, nShowList, nValMode, ScValidationData::ResetError(), ScValidationData::ResetInput(), ScValidationData::SetError(), ScConditionEntry::SetFormula1(), ScConditionEntry::SetFormula2(), ScConditionEntry::SetIgnoreBlank(), ScValidationData::SetInput(), ScValidationData::SetListType(), and ScConditionEntry::SetSrcString().
|
overridevirtual |
Definition at line 665 of file fmtuno.cxx.
References lcl_ConditionModeToOperatorNew(), and nMode.
|
overridevirtual |
Definition at line 744 of file fmtuno.cxx.
|
overridevirtual |
Definition at line 677 of file fmtuno.cxx.
References aExpr1.
|
overridevirtual |
Definition at line 689 of file fmtuno.cxx.
References aExpr2.
|
overridevirtual |
|
overridevirtual |
Definition at line 653 of file fmtuno.cxx.
References lcl_ConditionModeToOperator(), and nMode.
|
overridevirtual |
Definition at line 749 of file fmtuno.cxx.
References aPropSet, and SfxItemPropertySet::getPropertyMap().
|
overridevirtual |
Definition at line 866 of file fmtuno.cxx.
References aErrorMessage, aErrorTitle, aInputMessage, aInputTitle, bIgnoreBlank, bShowError, bShowInput, eType, nErrorStyle, nShowList, nValMode, SC_UNONAME_ERRALSTY, SC_UNONAME_ERRMESS, SC_UNONAME_ERRTITLE, SC_UNONAME_IGNOREBL, SC_UNONAME_INPMESS, SC_UNONAME_INPTITLE, SC_UNONAME_SHOWERR, SC_UNONAME_SHOWINP, SC_UNONAME_SHOWLIST, SC_UNONAME_TYPE, SC_VALERR_INFO, SC_VALERR_MACRO, SC_VALERR_STOP, SC_VALERR_WARNING, SC_VALID_ANY, SC_VALID_CUSTOM, SC_VALID_DATE, SC_VALID_DECIMAL, SC_VALID_LIST, SC_VALID_TEXTLEN, SC_VALID_TIME, and SC_VALID_WHOLE.
|
overridevirtual |
Definition at line 701 of file fmtuno.cxx.
References aSrcPos, ScAddress::Col(), ScAddress::Row(), and ScAddress::Tab().
|
overridevirtual |
|
overridevirtual |
Definition at line 717 of file fmtuno.cxx.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 671 of file fmtuno.cxx.
References ScConditionEntry::GetModeFromApi(), and nMode.
|
overridevirtual |
Definition at line 683 of file fmtuno.cxx.
References aExpr1.
|
overridevirtual |
Definition at line 695 of file fmtuno.cxx.
References aExpr2.
|
overridevirtual |
Definition at line 659 of file fmtuno.cxx.
References lcl_ConditionOperatorToMode(), and nMode.
|
overridevirtual |
Definition at line 757 of file fmtuno.cxx.
References aErrorMessage, aErrorTitle, aInputMessage, aInputTitle, aPosString, bIgnoreBlank, bShowError, bShowInput, eType, ScUnoHelpFunctions::GetBoolFromAny(), ScUnoHelpFunctions::GetEnumFromAny(), maExprNmsp1, maExprNmsp2, meGrammar1, meGrammar2, nErrorStyle, nShowList, nValMode, SC_UNONAME_ERRALSTY, SC_UNONAME_ERRMESS, SC_UNONAME_ERRTITLE, SC_UNONAME_FORMULANMSP1, SC_UNONAME_FORMULANMSP2, SC_UNONAME_GRAMMAR1, SC_UNONAME_GRAMMAR2, SC_UNONAME_IGNOREBL, SC_UNONAME_INPMESS, SC_UNONAME_INPTITLE, SC_UNONAME_SHOWERR, SC_UNONAME_SHOWINP, SC_UNONAME_SHOWLIST, SC_UNONAME_SOURCESTR, SC_UNONAME_TYPE, SC_VALERR_INFO, SC_VALERR_MACRO, SC_VALERR_STOP, SC_VALERR_WARNING, SC_VALID_ANY, SC_VALID_CUSTOM, SC_VALID_DATE, SC_VALID_DECIMAL, SC_VALID_LIST, SC_VALID_TEXTLEN, SC_VALID_TIME, and SC_VALID_WHOLE.
|
overridevirtual |
Definition at line 711 of file fmtuno.cxx.
References aSrcPos, and ScAddress::Set().
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 179 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 178 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 160 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getFormula1(), ScTableValidationObj(), setFormula1(), and setTokens().
|
private |
Definition at line 161 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getFormula2(), ScTableValidationObj(), setFormula2(), and setTokens().
|
private |
Definition at line 175 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 174 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 169 of file fmtuno.hxx.
Referenced by CreateValidationData(), and setPropertyValue().
|
private |
Definition at line 158 of file fmtuno.hxx.
Referenced by getPropertySetInfo().
|
private |
Definition at line 168 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getSourcePosition(), ScTableValidationObj(), and setSourcePosition().
|
private |
Definition at line 166 of file fmtuno.hxx.
Referenced by CreateValidationData(), getTokens(), and setTokens().
|
private |
Definition at line 167 of file fmtuno.hxx.
Referenced by CreateValidationData(), getTokens(), and setTokens().
|
private |
Definition at line 171 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 176 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 173 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 162 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), and setPropertyValue().
|
private |
Definition at line 163 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), and setPropertyValue().
|
private |
Definition at line 164 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 165 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 177 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 159 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getConditionOperator(), getOperator(), ScTableValidationObj(), setConditionOperator(), and setOperator().
|
private |
Definition at line 172 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().
|
private |
Definition at line 170 of file fmtuno.hxx.
Referenced by ClearData_Impl(), CreateValidationData(), getPropertyValue(), ScTableValidationObj(), and setPropertyValue().