LibreOffice Module sc (master)
1
|
#include <formulaopt.hxx>
Private Types | |
typedef std::map< OUString, sal_uInt16 > | PropsToIds |
Private Member Functions | |
void | UpdateFromProperties (const css::uno::Sequence< OUString > &rNames) |
virtual void | ImplCommit () override |
Static Private Member Functions | |
static css::uno::Sequence< OUString > | GetPropertyNames () |
static ScFormulaCfg::PropsToIds | GetPropNamesToId () |
Additional Inherited Members | |
![]() | |
static void | GetDefaultFormulaSeparators (OUString &rSepArg, OUString &rSepArrayCol, OUString &rSepArrayRow) |
![]() | |
ConfigItem (const OUString &rSubTree, ConfigItemMode nMode=ConfigItemMode::NONE) | |
void | SetModified () |
void | ClearModified () |
css::uno::Sequence< css::uno::Any > | GetProperties (const css::uno::Sequence< OUString > &rNames) |
css::uno::Sequence< sal_Bool > | GetReadOnlyStates (const css::uno::Sequence< OUString > &rNames) |
bool | PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues) |
bool | EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false) |
void | DisableNotification () |
css::uno::Sequence< OUString > | GetNodeNames (const OUString &rNode) |
css::uno::Sequence< OUString > | GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat) |
bool | ClearNodeSet (const OUString &rNode) |
bool | ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements) |
bool | SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
bool | ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues) |
bool | AddNode (const OUString &rNode, const OUString &rNewNode) |
Definition at line 100 of file formulaopt.hxx.
|
private |
Definition at line 102 of file formulaopt.hxx.
ScFormulaCfg::ScFormulaCfg | ( | ) |
Definition at line 213 of file formulaopt.cxx.
References utl::ConfigItem::EnableNotification(), GetPropertyNames(), and UpdateFromProperties().
|
staticprivate |
Definition at line 167 of file formulaopt.cxx.
Referenced by GetPropNamesToId(), ImplCommit(), and ScFormulaCfg().
|
staticprivate |
Definition at line 186 of file formulaopt.cxx.
References aPropNames, GetPropertyNames(), i, SAL_N_ELEMENTS, SCFORMULAOPT_EMPTY_OUSTRING_AS_ZERO, SCFORMULAOPT_ENGLISH_FUNCNAME, SCFORMULAOPT_GRAMMAR, SCFORMULAOPT_ODF_RECALC, SCFORMULAOPT_OOXML_RECALC, SCFORMULAOPT_OPENCL_AUTOSELECT, SCFORMULAOPT_OPENCL_DEVICE, SCFORMULAOPT_OPENCL_MIN_SIZE, SCFORMULAOPT_OPENCL_SUBSET_ONLY, SCFORMULAOPT_OPENCL_SUBSET_OPS, SCFORMULAOPT_SEP_ARG, SCFORMULAOPT_SEP_ARRAY_COL, SCFORMULAOPT_SEP_ARRAY_ROW, SCFORMULAOPT_STRING_CONVERSION, and SCFORMULAOPT_STRING_REF_SYNTAX.
Referenced by UpdateFromProperties().
|
overrideprivatevirtual |
Implements utl::ConfigItem.
Definition at line 461 of file formulaopt.cxx.
References Any, ScFormulaOptions::GetCalcConfig(), ScFormulaOptions::GetFormulaSepArg(), ScFormulaOptions::GetFormulaSepArrayCol(), ScFormulaOptions::GetFormulaSepArrayRow(), ScFormulaOptions::GetFormulaSyntax(), ScFormulaOptions::GetODFRecalcOptions(), ScFormulaOptions::GetOOXMLRecalcOptions(), utl::ConfigItem::GetProperties(), GetPropertyNames(), ScFormulaOptions::GetUseEnglishFuncName(), ScFormulaOptions::GetWriteCalcConfig(), ScCalcConfig::ILLEGAL, ScCalcConfig::LOCALE, ScCalcConfig::maOpenCLDevice, ScCalcConfig::mbEmptyStringAsZero, ScCalcConfig::mbOpenCLAutoSelect, ScCalcConfig::mbOpenCLSubsetOnly, ScCalcConfig::mnOpenCLMinimumFormulaGroupSize, utl::ConfigItem::PutProperties(), pValues, RECALC_ALWAYS, RECALC_ASK, RECALC_NEVER, SCFORMULAOPT_EMPTY_OUSTRING_AS_ZERO, SCFORMULAOPT_ENGLISH_FUNCNAME, SCFORMULAOPT_GRAMMAR, SCFORMULAOPT_ODF_RECALC, SCFORMULAOPT_OOXML_RECALC, SCFORMULAOPT_OPENCL_AUTOSELECT, SCFORMULAOPT_OPENCL_DEVICE, SCFORMULAOPT_OPENCL_MIN_SIZE, SCFORMULAOPT_OPENCL_SUBSET_ONLY, SCFORMULAOPT_OPENCL_SUBSET_OPS, SCFORMULAOPT_SEP_ARG, SCFORMULAOPT_SEP_ARRAY_COL, SCFORMULAOPT_SEP_ARRAY_ROW, SCFORMULAOPT_STRING_CONVERSION, SCFORMULAOPT_STRING_REF_SYNTAX, ScOpCodeSetToSymbolicString(), ScCalcConfig::UNAMBIGUOUS, void(), and ScCalcConfig::ZERO.
|
overridevirtual |
Implements utl::ConfigItem.
Definition at line 647 of file formulaopt.cxx.
References UpdateFromProperties().
void ScFormulaCfg::SetOptions | ( | const ScFormulaOptions & | rNew | ) |
Definition at line 641 of file formulaopt.cxx.
References utl::ConfigItem::SetModified().
|
private |
Definition at line 221 of file formulaopt.cxx.
References Any, formula::FormulaGrammar::CONV_A1_XL_A1, formula::FormulaGrammar::CONV_OOO, formula::FormulaGrammar::CONV_UNSPECIFIED, formula::FormulaGrammar::CONV_XL_A1, formula::FormulaGrammar::CONV_XL_R1C1, ScFormulaOptions::GetCalcConfig(), ScFormulaOptions::GetFormulaSyntax(), utl::ConfigItem::GetProperties(), GetPropNamesToId(), formula::FormulaGrammar::GRAM_NATIVE, formula::FormulaGrammar::GRAM_NATIVE_XL_A1, formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1, ScCalcConfig::ILLEGAL, ScCalcConfig::LOCALE, ScCalcConfig::maOpenCLDevice, ScCalcConfig::mbEmptyStringAsZero, ScCalcConfig::mbOpenCLAutoSelect, ScCalcConfig::mbOpenCLSubsetOnly, ScCalcConfig::meStringConversion, ScCalcConfig::meStringRefAddressSyntax, ScCalcConfig::mnOpenCLMinimumFormulaGroupSize, ScCalcConfig::mpOpenCLSubsetOpCodes, pValues, RECALC_ALWAYS, RECALC_ASK, RECALC_NEVER, SAL_WARN, SCFORMULAOPT_EMPTY_OUSTRING_AS_ZERO, SCFORMULAOPT_ENGLISH_FUNCNAME, SCFORMULAOPT_GRAMMAR, SCFORMULAOPT_ODF_RECALC, SCFORMULAOPT_OOXML_RECALC, SCFORMULAOPT_OPENCL_AUTOSELECT, SCFORMULAOPT_OPENCL_DEVICE, SCFORMULAOPT_OPENCL_MIN_SIZE, SCFORMULAOPT_OPENCL_SUBSET_ONLY, SCFORMULAOPT_OPENCL_SUBSET_OPS, SCFORMULAOPT_SEP_ARG, SCFORMULAOPT_SEP_ARRAY_COL, SCFORMULAOPT_SEP_ARRAY_ROW, SCFORMULAOPT_STRING_CONVERSION, SCFORMULAOPT_STRING_REF_SYNTAX, ScOpCodeSetToSymbolicString(), ScStringToOpCodeSet(), ScFormulaOptions::SetFormulaSepArg(), ScFormulaOptions::SetFormulaSepArrayCol(), ScFormulaOptions::SetFormulaSepArrayRow(), ScFormulaOptions::SetFormulaSyntax(), ScFormulaOptions::SetODFRecalcOptions(), ScFormulaOptions::SetOOXMLRecalcOptions(), ScFormulaOptions::SetUseEnglishFuncName(), ScCalcConfig::UNAMBIGUOUS, and ScCalcConfig::ZERO.
Referenced by Notify(), and ScFormulaCfg().