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 28 of file docoptio.hxx.

Constructor & Destructor Documentation

ScDocOptions::ScDocOptions ( )

Definition at line 50 of file docoptio.cxx.

Member Function Documentation

void ScDocOptions::GetDate ( sal_uInt16 &  rD,
sal_uInt16 &  rM,
sal_Int16 &  rY 
) const
inline
utl::SearchParam::SearchType ScDocOptions::GetFormulaSearchType ( ) const
inline
sal_uInt16 ScDocOptions::GetIterCount ( ) const
inline
double ScDocOptions::GetIterEps ( ) const
inline
sal_uInt16 ScDocOptions::GetStdPrecision ( ) const
inline
sal_uInt16 ScDocOptions::GetTabDistance ( ) const
inline
sal_uInt16 ScDocOptions::GetYear2000 ( ) const
inline
bool ScDocOptions::IsAutoSpell ( ) const
inline
bool ScDocOptions::IsCalcAsShown ( ) const
inline
bool ScDocOptions::IsFormulaRegexEnabled ( ) const
inline
bool ScDocOptions::IsFormulaWildcardsEnabled ( ) const
inline
bool ScDocOptions::IsIgnoreCase ( ) const
inline

Definition at line 58 of file docoptio.hxx.

Referenced by ScDocOptionsHelper::getPropertyValue(), and ScModule::ModifyOptions().

bool ScDocOptions::IsIter ( ) const
inline
bool ScDocOptions::IsLookUpColRowNames ( ) const
inline
bool ScDocOptions::IsMatchWholeCell ( ) const
inline
bool ScDocOptions::IsWriteCalcConfig ( ) const
inline
bool ScDocOptions::operator!= ( const ScDocOptions rOpt) const
inline

Definition at line 129 of file docoptio.hxx.

References operator==().

bool ScDocOptions::operator== ( const ScDocOptions rOpt) const
inline
void ScDocOptions::ResetDocOptions ( )
void ScDocOptions::SetAutoSpell ( bool  bVal)
inline
void ScDocOptions::SetCalcAsShown ( bool  bVal)
inline
void ScDocOptions::SetDate ( sal_uInt16  nD,
sal_uInt16  nM,
sal_Int16  nY 
)
inline
void ScDocOptions::SetFormulaRegexEnabled ( bool  bVal)
void ScDocOptions::SetFormulaWildcardsEnabled ( bool  bVal)
void ScDocOptions::SetIgnoreCase ( bool  bVal)
inline
void ScDocOptions::SetIter ( bool  bVal)
inline
void ScDocOptions::SetIterCount ( sal_uInt16  nCount)
inline
void ScDocOptions::SetIterEps ( double  fEps)
inline
void ScDocOptions::SetLookUpColRowNames ( bool  bVal)
inline
void ScDocOptions::SetMatchWholeCell ( bool  bVal)
inline

Definition at line 57 of file docoptio.hxx.

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

void ScDocOptions::SetStdPrecision ( sal_uInt16  n)
inline
void ScDocOptions::SetTabDistance ( sal_uInt16  nTabDist)
inline
void ScDocOptions::SetWriteCalcConfig ( bool  bVal)
inline

Definition at line 101 of file docoptio.hxx.

Referenced by ScTpFormulaOptions::LaunchCustomCalcSettings().

void ScDocOptions::SetYear2000 ( sal_uInt16  nVal)
inline

Member Data Documentation

bool ScDocOptions::bCalcAsShown
private

calculate as shown (wrt precision)

Definition at line 41 of file docoptio.hxx.

Referenced by operator==().

bool ScDocOptions::bDoAutoSpell
private

auto-spelling

Definition at line 43 of file docoptio.hxx.

Referenced by operator==().

bool ScDocOptions::bFormulaRegexEnabled
mutableprivate

regular expressions in formulas enabled, only when reading settings

Definition at line 45 of file docoptio.hxx.

Referenced by operator==().

bool ScDocOptions::bFormulaWildcardsEnabled
mutableprivate

wildcards in formulas enabled, only when reading settings

Definition at line 46 of file docoptio.hxx.

Referenced by operator==().

bool ScDocOptions::bIsIgnoreCase
private

ignore case for comparisons?

Definition at line 39 of file docoptio.hxx.

Referenced by operator==().

bool ScDocOptions::bIsIter
private

iterations for circular refs

Definition at line 40 of file docoptio.hxx.

Referenced by operator==().

bool ScDocOptions::bLookUpColRowNames
private

determine column-/row titles automagically

Definition at line 44 of file docoptio.hxx.

Referenced by operator==().

bool ScDocOptions::bMatchWholeCell
private

search criteria must match the whole cell

Definition at line 42 of file docoptio.hxx.

Referenced by operator==().

bool ScDocOptions::bWriteCalcConfig
private

(subset of) Calc config will be written to user's profile

Definition at line 47 of file docoptio.hxx.

Referenced by operator==().

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

wildcards or regular expressions or normal search

Definition at line 38 of file docoptio.hxx.

Referenced by operator==().

double ScDocOptions::fIterEps
private

Definition at line 30 of file docoptio.hxx.

Referenced by operator==().

sal_uInt16 ScDocOptions::nDay
private

Null date:

Definition at line 33 of file docoptio.hxx.

Referenced by operator==().

sal_uInt16 ScDocOptions::nIterCount
private

number

Definition at line 31 of file docoptio.hxx.

Referenced by operator==().

sal_uInt16 ScDocOptions::nMonth
private

Definition at line 34 of file docoptio.hxx.

Referenced by operator==().

sal_uInt16 ScDocOptions::nPrecStandardFormat
private

precision for standard format

Definition at line 32 of file docoptio.hxx.

Referenced by operator==().

sal_uInt16 ScDocOptions::nTabDistance
private

distance of standard tabs

Definition at line 37 of file docoptio.hxx.

Referenced by operator==().

sal_uInt16 ScDocOptions::nYear
private

Definition at line 35 of file docoptio.hxx.

Referenced by operator==().

sal_uInt16 ScDocOptions::nYear2000
private

earlier 19YY is assumed, 20YY otherwise (if only YY of year is given)

Definition at line 36 of file docoptio.hxx.

Referenced by operator==().


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