LibreOffice Module sc (master) 1
|
#include <docoptio.hxx>
Public Member Functions | |
ScDocOptions () | |
bool | IsLookUpColRowNames () const |
void | SetLookUpColRowNames (bool bVal) |
bool | IsAutoSpell () const |
void | SetAutoSpell (bool bVal) |
bool | IsMatchWholeCell () const |
void | SetMatchWholeCell (bool bVal) |
bool | IsIgnoreCase () const |
void | SetIgnoreCase (bool bVal) |
bool | IsIter () const |
void | SetIter (bool bVal) |
sal_uInt16 | GetIterCount () const |
void | SetIterCount (sal_uInt16 nCount) |
double | GetIterEps () const |
void | SetIterEps (double fEps) |
void | GetDate (sal_uInt16 &rD, sal_uInt16 &rM, sal_Int16 &rY) const |
void | SetDate (sal_uInt16 nD, sal_uInt16 nM, sal_Int16 nY) |
sal_uInt16 | GetTabDistance () const |
void | SetTabDistance (sal_uInt16 nTabDist) |
void | ResetDocOptions () |
bool | operator== (const ScDocOptions &rOpt) const |
bool | operator!= (const ScDocOptions &rOpt) const |
sal_uInt16 | GetStdPrecision () const |
void | SetStdPrecision (sal_uInt16 n) |
bool | IsCalcAsShown () const |
void | SetCalcAsShown (bool bVal) |
void | SetYear2000 (sal_uInt16 nVal) |
sal_uInt16 | GetYear2000 () const |
utl::SearchParam::SearchType | GetFormulaSearchType () const |
void | SetFormulaRegexEnabled (bool bVal) |
bool | IsFormulaRegexEnabled () const |
void | SetFormulaWildcardsEnabled (bool bVal) |
bool | IsFormulaWildcardsEnabled () const |
void | SetWriteCalcConfig (bool bVal) |
bool | IsWriteCalcConfig () const |
Private Attributes | |
double | fIterEps |
sal_uInt16 | nIterCount |
number More... | |
sal_uInt16 | nPrecStandardFormat |
precision for standard format More... | |
sal_uInt16 | nDay |
Null date: More... | |
sal_uInt16 | nMonth |
sal_uInt16 | nYear |
sal_uInt16 | nYear2000 |
earlier 19YY is assumed, 20YY otherwise (if only YY of year is given) More... | |
sal_uInt16 | nTabDistance |
distance of standard tabs More... | |
utl::SearchParam::SearchType | eFormulaSearchType |
wildcards or regular expressions or normal search More... | |
bool | bIsIgnoreCase |
ignore case for comparisons? More... | |
bool | bIsIter |
iterations for circular refs More... | |
bool | bCalcAsShown |
calculate as shown (wrt precision) More... | |
bool | bMatchWholeCell |
search criteria must match the whole cell More... | |
bool | bDoAutoSpell |
auto-spelling More... | |
bool | bLookUpColRowNames |
determine column-/row titles automagically More... | |
bool | bFormulaRegexEnabled |
regular expressions in formulas enabled, only when reading settings More... | |
bool | bFormulaWildcardsEnabled |
wildcards in formulas enabled, only when reading settings More... | |
bool | bWriteCalcConfig |
(subset of) Calc config will be written to user's profile More... | |
Definition at line 27 of file docoptio.hxx.
ScDocOptions::ScDocOptions | ( | ) |
Definition at line 46 of file docoptio.cxx.
References ResetDocOptions().
|
inline |
Definition at line 66 of file docoptio.hxx.
Referenced by ScPoolHelper::CreateNumberFormatter(), ScDocOptionsHelper::getPropertyValue(), ScDocCfg::ScDocCfg(), and ScPoolHelper::SetFormTableOpt().
|
inline |
Definition at line 87 of file docoptio.hxx.
References utl::SearchParam::ConvertToSearchType(), and utl::SearchParam::Unknown.
Referenced by ScInterpreter::DetectSearchType().
|
inline |
Definition at line 61 of file docoptio.hxx.
Referenced by ScDocOptionsHelper::getPropertyValue(), ScFormulaCell::Interpret(), ScFormulaCell::InterpretTail(), ScModule::ModifyOptions(), and XclCalccount::XclCalccount().
|
inline |
Definition at line 63 of file docoptio.hxx.
Referenced by ScDocOptionsHelper::getPropertyValue(), ScFormulaCell::InterpretTail(), ScModule::ModifyOptions(), and XclDelta::XclDelta().
|
inline |
Definition at line 78 of file docoptio.hxx.
Referenced by ScPoolHelper::CreateNumberFormatter(), ScColumn::GetMaxNumberStringLen(), ScDocDefaultsObj::getPropertyValue(), ScDocOptionsHelper::getPropertyValue(), ScModule::ModifyOptions(), ScDocument::RoundValueAsShown(), and ScPoolHelper::SetFormTableOpt().
|
inline |
Definition at line 70 of file docoptio.hxx.
Referenced by ScModule::CreateItemSet(), ScDocDefaultsObj::getPropertyValue(), ScDocOptionsHelper::getPropertyValue(), and ScDocument::InitDrawLayer().
|
inline |
Definition at line 85 of file docoptio.hxx.
Referenced by ScPoolHelper::CreateNumberFormatter(), ScModule::ModifyOptions(), ScPoolHelper::SetFormTableOpt(), and ScXMLExport::WriteCalculationSettings().
|
inline |
Definition at line 53 of file docoptio.hxx.
Referenced by ScTabViewShell::Construct(), ScGridWindow::DrawContent(), ScModule::Execute(), ScViewFunc::FillAuto(), ScViewFunc::FillSimple(), ScDocOptionsHelper::getPropertyValue(), ScModule::GetState(), ScModule::ModifyOptions(), ScViewData::UpdateOutlinerFlags(), and ScInputHandler::UpdateSpellSettings().
|
inline |
Definition at line 81 of file docoptio.hxx.
Referenced by ScChartArray::CreateMemChartMulti(), ScChartArray::CreateMemChartSingle(), ExcTable::FillAsHeaderBinary(), ScVbaWorkbook::getPrecisionAsDisplayed(), ScDocOptionsHelper::getPropertyValue(), ScFormulaCell::InterpretTail(), ScDocument::InvalidateTextWidth(), and ScModule::ModifyOptions().
|
inline |
Definition at line 95 of file docoptio.hxx.
References utl::SearchParam::Regexp.
Referenced by ScDocOptionsHelper::getPropertyValue(), and ScModule::ModifyOptions().
|
inline |
Definition at line 98 of file docoptio.hxx.
References utl::SearchParam::Wildcard.
Referenced by ScDocOptionsHelper::getPropertyValue(), and ScModule::ModifyOptions().
|
inline |
Definition at line 57 of file docoptio.hxx.
Referenced by ScInterpreter::Compare(), ScInterpreter::CompareMat(), ScDocOptionsHelper::getPropertyValue(), and ScModule::ModifyOptions().
|
inline |
Definition at line 59 of file docoptio.hxx.
Referenced by ScDocOptionsHelper::getPropertyValue(), ScFormulaCell::Interpret(), ScFormulaCell::MaybeInterpret(), ScModule::ModifyOptions(), and XclIteration::XclIteration().
|
inline |
Definition at line 51 of file docoptio.hxx.
Referenced by ScDocOptionsHelper::getPropertyValue(), ScCompiler::HandleColRowName(), and ScCompiler::ParseColRowName().
|
inline |
Definition at line 55 of file docoptio.hxx.
Referenced by ScDocOptionsHelper::getPropertyValue(), ScQueryEvaluator::isMatchWholeCell(), ScModule::ModifyOptions(), and ScDPCache::ValidQuery().
|
inline |
Definition at line 101 of file docoptio.hxx.
Referenced by ScTpFormulaOptions::FillItemSet(), and ScTpFormulaOptions::LaunchCustomCalcSettings().
|
inline |
Definition at line 128 of file docoptio.hxx.
References operator==().
|
inline |
Definition at line 104 of file docoptio.hxx.
References bCalcAsShown, bDoAutoSpell, bFormulaRegexEnabled, bFormulaWildcardsEnabled, bIsIgnoreCase, bIsIter, bLookUpColRowNames, bMatchWholeCell, bWriteCalcConfig, eFormulaSearchType, fIterEps, nDay, nIterCount, nMonth, nPrecStandardFormat, nTabDistance, nYear, and nYear2000.
Referenced by operator!=().
void ScDocOptions::ResetDocOptions | ( | ) |
Definition at line 51 of file docoptio.cxx.
References bCalcAsShown, bDoAutoSpell, bFormulaRegexEnabled, bFormulaWildcardsEnabled, bIsIgnoreCase, bIsIter, bLookUpColRowNames, bMatchWholeCell, bWriteCalcConfig, eFormulaSearchType, fIterEps, SvNumberFormatter::GetYear2000Default(), lcl_GetDefaultTabDist(), nDay, nIterCount, nMonth, nPrecStandardFormat, nTabDistance, nYear, nYear2000, SvNumberFormatter::UNLIMITED_PRECISION, and utl::SearchParam::Wildcard.
Referenced by ScDocOptions().
|
inline |
Definition at line 54 of file docoptio.hxx.
Referenced by ScModelObj::initializeForTiledRendering(), ScDocShell::InitOptions(), ScModule::ModifyOptions(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 82 of file docoptio.hxx.
Referenced by ImportExcel8::Precision(), ScDocCfg::ScDocCfg(), ScVbaWorkbook::setPrecisionAsDisplayed(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 68 of file docoptio.hxx.
Referenced by ImportExcel::ImportExcel(), ScDocShell::InitOptions(), ImportExcel::Rec1904(), ScDocCfg::ScDocCfg(), and ScDocOptionsHelper::setPropertyValue().
void ScDocOptions::SetFormulaRegexEnabled | ( | bool | bVal | ) |
Definition at line 73 of file docoptio.cxx.
References bFormulaRegexEnabled, bFormulaWildcardsEnabled, eFormulaSearchType, utl::SearchParam::Regexp, and utl::SearchParam::Unknown.
Referenced by ImportExcel::ImportExcel(), ScDocCfg::ScDocCfg(), and ScDocOptionsHelper::setPropertyValue().
void ScDocOptions::SetFormulaWildcardsEnabled | ( | bool | bVal | ) |
Definition at line 90 of file docoptio.cxx.
References bFormulaRegexEnabled, bFormulaWildcardsEnabled, eFormulaSearchType, utl::SearchParam::Unknown, and utl::SearchParam::Wildcard.
Referenced by ImportExcel::ImportExcel(), ScDocCfg::ScDocCfg(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 58 of file docoptio.hxx.
Referenced by ImportExcel::ImportExcel(), ScDocCfg::ScDocCfg(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 60 of file docoptio.hxx.
Referenced by ImportExcel8::Iteration(), ScDocCfg::ScDocCfg(), ScVbaApplication::setIteration(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 62 of file docoptio.hxx.
References nCount.
Referenced by ImportExcel8::Calccount(), ScDocCfg::ScDocCfg(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 64 of file docoptio.hxx.
Referenced by ImportExcel8::Delta(), ScDocCfg::ScDocCfg(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 52 of file docoptio.hxx.
Referenced by ImportExcel::ImportExcel(), ImportExcel::ReadUsesElfs(), ScDocCfg::ScDocCfg(), ScDocOptionsHelper::setPropertyValue(), TestImportCalcRTF(), TestImportDIF(), TestImportQPW(), TestImportSLK(), TestImportWKS(), and TestImportXLS().
|
inline |
Definition at line 56 of file docoptio.hxx.
Referenced by ScDocCfg::ScDocCfg(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 79 of file docoptio.hxx.
References n.
Referenced by ScDocShell::InitOptions(), ScDocCfg::ScDocCfg(), ScDocDefaultsObj::setPropertyValue(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 71 of file docoptio.hxx.
Referenced by ScModule::ModifyOptions(), ScDocCfg::ScDocCfg(), ScDocDefaultsObj::setPropertyValue(), and ScDocOptionsHelper::setPropertyValue().
|
inline |
Definition at line 100 of file docoptio.hxx.
Referenced by ScTpFormulaOptions::LaunchCustomCalcSettings().
|
inline |
Definition at line 84 of file docoptio.hxx.
Referenced by ScXMLCalculationSettingsContext::endFastElement(), ScDocShell::Execute(), and ScDocShell::InitOptions().
|
private |
calculate as shown (wrt precision)
Definition at line 40 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
auto-spelling
Definition at line 42 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
mutableprivate |
regular expressions in formulas enabled, only when reading settings
Definition at line 44 of file docoptio.hxx.
Referenced by operator==(), ResetDocOptions(), SetFormulaRegexEnabled(), and SetFormulaWildcardsEnabled().
|
mutableprivate |
wildcards in formulas enabled, only when reading settings
Definition at line 45 of file docoptio.hxx.
Referenced by operator==(), ResetDocOptions(), SetFormulaRegexEnabled(), and SetFormulaWildcardsEnabled().
|
private |
ignore case for comparisons?
Definition at line 38 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
iterations for circular refs
Definition at line 39 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
determine column-/row titles automagically
Definition at line 43 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
search criteria must match the whole cell
Definition at line 41 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
(subset of) Calc config will be written to user's profile
Definition at line 46 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
mutableprivate |
wildcards or regular expressions or normal search
Definition at line 37 of file docoptio.hxx.
Referenced by operator==(), ResetDocOptions(), SetFormulaRegexEnabled(), and SetFormulaWildcardsEnabled().
|
private |
Definition at line 29 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
Null date:
Definition at line 32 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
number
Definition at line 30 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
Definition at line 33 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
precision for standard format
Definition at line 31 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
distance of standard tabs
Definition at line 36 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
Definition at line 34 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().
|
private |
earlier 19YY is assumed, 20YY otherwise (if only YY of year is given)
Definition at line 35 of file docoptio.hxx.
Referenced by operator==(), and ResetDocOptions().