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

#include <docoptio.hxx>

Inheritance diagram for ScDocOptions:
[legend]

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...
 

Detailed Description

Definition at line 27 of file docoptio.hxx.

Constructor & Destructor Documentation

◆ ScDocOptions()

ScDocOptions::ScDocOptions ( )

Definition at line 46 of file docoptio.cxx.

References ResetDocOptions().

Member Function Documentation

◆ GetDate()

void ScDocOptions::GetDate ( sal_uInt16 &  rD,
sal_uInt16 &  rM,
sal_Int16 &  rY 
) const
inline

◆ GetFormulaSearchType()

utl::SearchParam::SearchType ScDocOptions::GetFormulaSearchType ( ) const
inline

◆ GetIterCount()

sal_uInt16 ScDocOptions::GetIterCount ( ) const
inline

◆ GetIterEps()

double ScDocOptions::GetIterEps ( ) const
inline

◆ GetStdPrecision()

sal_uInt16 ScDocOptions::GetStdPrecision ( ) const
inline

◆ GetTabDistance()

sal_uInt16 ScDocOptions::GetTabDistance ( ) const
inline

◆ GetYear2000()

sal_uInt16 ScDocOptions::GetYear2000 ( ) const
inline

◆ IsAutoSpell()

bool ScDocOptions::IsAutoSpell ( ) const
inline

◆ IsCalcAsShown()

bool ScDocOptions::IsCalcAsShown ( ) const
inline

◆ IsFormulaRegexEnabled()

bool ScDocOptions::IsFormulaRegexEnabled ( ) const
inline

◆ IsFormulaWildcardsEnabled()

bool ScDocOptions::IsFormulaWildcardsEnabled ( ) const
inline

◆ IsIgnoreCase()

bool ScDocOptions::IsIgnoreCase ( ) const
inline

◆ IsIter()

bool ScDocOptions::IsIter ( ) const
inline

◆ IsLookUpColRowNames()

bool ScDocOptions::IsLookUpColRowNames ( ) const
inline

◆ IsMatchWholeCell()

bool ScDocOptions::IsMatchWholeCell ( ) const
inline

◆ IsWriteCalcConfig()

bool ScDocOptions::IsWriteCalcConfig ( ) const
inline

◆ operator!=()

bool ScDocOptions::operator!= ( const ScDocOptions rOpt) const
inline

Definition at line 128 of file docoptio.hxx.

References operator==().

◆ operator==()

bool ScDocOptions::operator== ( const ScDocOptions rOpt) const
inline

◆ ResetDocOptions()

void ScDocOptions::ResetDocOptions ( )

◆ SetAutoSpell()

void ScDocOptions::SetAutoSpell ( bool  bVal)
inline

◆ SetCalcAsShown()

void ScDocOptions::SetCalcAsShown ( bool  bVal)
inline

◆ SetDate()

void ScDocOptions::SetDate ( sal_uInt16  nD,
sal_uInt16  nM,
sal_Int16  nY 
)
inline

◆ SetFormulaRegexEnabled()

void ScDocOptions::SetFormulaRegexEnabled ( bool  bVal)

◆ SetFormulaWildcardsEnabled()

void ScDocOptions::SetFormulaWildcardsEnabled ( bool  bVal)

◆ SetIgnoreCase()

void ScDocOptions::SetIgnoreCase ( bool  bVal)
inline

◆ SetIter()

void ScDocOptions::SetIter ( bool  bVal)
inline

◆ SetIterCount()

void ScDocOptions::SetIterCount ( sal_uInt16  nCount)
inline

◆ SetIterEps()

void ScDocOptions::SetIterEps ( double  fEps)
inline

◆ SetLookUpColRowNames()

void ScDocOptions::SetLookUpColRowNames ( bool  bVal)
inline

◆ SetMatchWholeCell()

void ScDocOptions::SetMatchWholeCell ( bool  bVal)
inline

Definition at line 56 of file docoptio.hxx.

Referenced by ScDocCfg::ScDocCfg(), and ScDocOptionsHelper::setPropertyValue().

◆ SetStdPrecision()

void ScDocOptions::SetStdPrecision ( sal_uInt16  n)
inline

◆ SetTabDistance()

void ScDocOptions::SetTabDistance ( sal_uInt16  nTabDist)
inline

◆ SetWriteCalcConfig()

void ScDocOptions::SetWriteCalcConfig ( bool  bVal)
inline

Definition at line 100 of file docoptio.hxx.

Referenced by ScTpFormulaOptions::LaunchCustomCalcSettings().

◆ SetYear2000()

void ScDocOptions::SetYear2000 ( sal_uInt16  nVal)
inline

Member Data Documentation

◆ bCalcAsShown

bool ScDocOptions::bCalcAsShown
private

calculate as shown (wrt precision)

Definition at line 40 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ bDoAutoSpell

bool ScDocOptions::bDoAutoSpell
private

auto-spelling

Definition at line 42 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ bFormulaRegexEnabled

bool ScDocOptions::bFormulaRegexEnabled
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().

◆ bFormulaWildcardsEnabled

bool ScDocOptions::bFormulaWildcardsEnabled
mutableprivate

wildcards in formulas enabled, only when reading settings

Definition at line 45 of file docoptio.hxx.

Referenced by operator==(), ResetDocOptions(), SetFormulaRegexEnabled(), and SetFormulaWildcardsEnabled().

◆ bIsIgnoreCase

bool ScDocOptions::bIsIgnoreCase
private

ignore case for comparisons?

Definition at line 38 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ bIsIter

bool ScDocOptions::bIsIter
private

iterations for circular refs

Definition at line 39 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ bLookUpColRowNames

bool ScDocOptions::bLookUpColRowNames
private

determine column-/row titles automagically

Definition at line 43 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ bMatchWholeCell

bool ScDocOptions::bMatchWholeCell
private

search criteria must match the whole cell

Definition at line 41 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ bWriteCalcConfig

bool ScDocOptions::bWriteCalcConfig
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().

◆ eFormulaSearchType

utl::SearchParam::SearchType ScDocOptions::eFormulaSearchType
mutableprivate

wildcards or regular expressions or normal search

Definition at line 37 of file docoptio.hxx.

Referenced by operator==(), ResetDocOptions(), SetFormulaRegexEnabled(), and SetFormulaWildcardsEnabled().

◆ fIterEps

double ScDocOptions::fIterEps
private

Definition at line 29 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ nDay

sal_uInt16 ScDocOptions::nDay
private

Null date:

Definition at line 32 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ nIterCount

sal_uInt16 ScDocOptions::nIterCount
private

number

Definition at line 30 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ nMonth

sal_uInt16 ScDocOptions::nMonth
private

Definition at line 33 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ nPrecStandardFormat

sal_uInt16 ScDocOptions::nPrecStandardFormat
private

precision for standard format

Definition at line 31 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ nTabDistance

sal_uInt16 ScDocOptions::nTabDistance
private

distance of standard tabs

Definition at line 36 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ nYear

sal_uInt16 ScDocOptions::nYear
private

Definition at line 34 of file docoptio.hxx.

Referenced by operator==(), and ResetDocOptions().

◆ nYear2000

sal_uInt16 ScDocOptions::nYear2000
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().


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