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

#include <formulaopt.hxx>

Inheritance diagram for ScFormulaOptions:
[legend]
Collaboration diagram for ScFormulaOptions:
[legend]

Public Member Functions

 ScFormulaOptions ()
 
void SetDefaults ()
 
void SetFormulaSyntax (::formula::FormulaGrammar::Grammar eGram)
 
::formula::FormulaGrammar::Grammar GetFormulaSyntax () const
 
ScCalcConfigGetCalcConfig ()
 
const ScCalcConfigGetCalcConfig () const
 
void SetCalcConfig (const ScCalcConfig &rConfig)
 
void SetUseEnglishFuncName (bool bVal)
 
bool GetUseEnglishFuncName () const
 
void SetWriteCalcConfig (bool bVal)
 
bool GetWriteCalcConfig () const
 
void SetFormulaSepArg (const OUString &rSep)
 
const OUString & GetFormulaSepArg () const
 
void SetFormulaSepArrayRow (const OUString &rSep)
 
const OUString & GetFormulaSepArrayRow () const
 
void SetFormulaSepArrayCol (const OUString &rSep)
 
const OUString & GetFormulaSepArrayCol () const
 
void SetOOXMLRecalcOptions (ScRecalcOptions eOpt)
 
ScRecalcOptions GetOOXMLRecalcOptions () const
 
void SetODFRecalcOptions (ScRecalcOptions eOpt)
 
ScRecalcOptions GetODFRecalcOptions () const
 
void ResetFormulaSeparators ()
 
bool operator== (const ScFormulaOptions &rOpt) const
 
bool operator!= (const ScFormulaOptions &rOpt) const
 

Static Public Member Functions

static void GetDefaultFormulaSeparators (OUString &rSepArg, OUString &rSepArrayCol, OUString &rSepArrayRow)
 

Private Attributes

bool bUseEnglishFuncName
 
formula::FormulaGrammar::Grammar eFormulaGrammar
 
ScCalcConfig aCalcConfig
 
bool mbWriteCalcConfig
 
OUString aFormulaSepArg
 
OUString aFormulaSepArrayRow
 
OUString aFormulaSepArrayCol
 
ScRecalcOptions meOOXMLRecalc
 
ScRecalcOptions meODFRecalc
 

Detailed Description

Definition at line 19 of file formulaopt.hxx.

Constructor & Destructor Documentation

◆ ScFormulaOptions()

ScFormulaOptions::ScFormulaOptions ( )

Definition at line 26 of file formulaopt.cxx.

References SetDefaults().

Member Function Documentation

◆ GetCalcConfig() [1/2]

ScCalcConfig & ScFormulaOptions::GetCalcConfig ( )
inline

◆ GetCalcConfig() [2/2]

const ScCalcConfig & ScFormulaOptions::GetCalcConfig ( ) const
inline

Definition at line 43 of file formulaopt.hxx.

◆ GetDefaultFormulaSeparators()

void ScFormulaOptions::GetDefaultFormulaSeparators ( OUString &  rSepArg,
OUString &  rSepArrayCol,
OUString &  rSepArrayRow 
)
static

◆ GetFormulaSepArg()

const OUString & ScFormulaOptions::GetFormulaSepArg ( ) const
inline

◆ GetFormulaSepArrayCol()

const OUString & ScFormulaOptions::GetFormulaSepArrayCol ( ) const
inline

◆ GetFormulaSepArrayRow()

const OUString & ScFormulaOptions::GetFormulaSepArrayRow ( ) const
inline

◆ GetFormulaSyntax()

::formula::FormulaGrammar::Grammar ScFormulaOptions::GetFormulaSyntax ( ) const
inline

◆ GetODFRecalcOptions()

ScRecalcOptions ScFormulaOptions::GetODFRecalcOptions ( ) const
inline

Definition at line 65 of file formulaopt.hxx.

Referenced by ScFormulaCfg::ImplCommit(), and ScTpFormulaOptions::Reset().

◆ GetOOXMLRecalcOptions()

ScRecalcOptions ScFormulaOptions::GetOOXMLRecalcOptions ( ) const
inline

Definition at line 62 of file formulaopt.hxx.

Referenced by ScFormulaCfg::ImplCommit(), and ScTpFormulaOptions::Reset().

◆ GetUseEnglishFuncName()

bool ScFormulaOptions::GetUseEnglishFuncName ( ) const
inline

◆ GetWriteCalcConfig()

bool ScFormulaOptions::GetWriteCalcConfig ( ) const
inline

Definition at line 50 of file formulaopt.hxx.

Referenced by ScFormulaCfg::ImplCommit(), and ScModule::ModifyOptions().

◆ operator!=()

bool ScFormulaOptions::operator!= ( const ScFormulaOptions rOpt) const

Definition at line 122 of file formulaopt.cxx.

References operator==().

◆ operator==()

bool ScFormulaOptions::operator== ( const ScFormulaOptions rOpt) const

◆ ResetFormulaSeparators()

void ScFormulaOptions::ResetFormulaSeparators ( )

◆ SetCalcConfig()

void ScFormulaOptions::SetCalcConfig ( const ScCalcConfig rConfig)
inline

◆ SetDefaults()

void ScFormulaOptions::SetDefaults ( )

◆ SetFormulaSepArg()

void ScFormulaOptions::SetFormulaSepArg ( const OUString &  rSep)
inline

◆ SetFormulaSepArrayCol()

void ScFormulaOptions::SetFormulaSepArrayCol ( const OUString &  rSep)
inline

◆ SetFormulaSepArrayRow()

void ScFormulaOptions::SetFormulaSepArrayRow ( const OUString &  rSep)
inline

◆ SetFormulaSyntax()

void ScFormulaOptions::SetFormulaSyntax ( ::formula::FormulaGrammar::Grammar  eGram)
inline

◆ SetODFRecalcOptions()

void ScFormulaOptions::SetODFRecalcOptions ( ScRecalcOptions  eOpt)
inline

◆ SetOOXMLRecalcOptions()

void ScFormulaOptions::SetOOXMLRecalcOptions ( ScRecalcOptions  eOpt)
inline

◆ SetUseEnglishFuncName()

void ScFormulaOptions::SetUseEnglishFuncName ( bool  bVal)
inline

◆ SetWriteCalcConfig()

void ScFormulaOptions::SetWriteCalcConfig ( bool  bVal)
inline

Definition at line 49 of file formulaopt.hxx.

Referenced by ScTpFormulaOptions::FillItemSet().

Member Data Documentation

◆ aCalcConfig

ScCalcConfig ScFormulaOptions::aCalcConfig
private

Definition at line 24 of file formulaopt.hxx.

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

◆ aFormulaSepArg

OUString ScFormulaOptions::aFormulaSepArg
private

Definition at line 27 of file formulaopt.hxx.

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

◆ aFormulaSepArrayCol

OUString ScFormulaOptions::aFormulaSepArrayCol
private

Definition at line 29 of file formulaopt.hxx.

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

◆ aFormulaSepArrayRow

OUString ScFormulaOptions::aFormulaSepArrayRow
private

Definition at line 28 of file formulaopt.hxx.

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

◆ bUseEnglishFuncName

bool ScFormulaOptions::bUseEnglishFuncName
private

Definition at line 22 of file formulaopt.hxx.

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

◆ eFormulaGrammar

formula::FormulaGrammar::Grammar ScFormulaOptions::eFormulaGrammar
private

Definition at line 23 of file formulaopt.hxx.

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

◆ mbWriteCalcConfig

bool ScFormulaOptions::mbWriteCalcConfig
private

Definition at line 25 of file formulaopt.hxx.

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

◆ meODFRecalc

ScRecalcOptions ScFormulaOptions::meODFRecalc
private

Definition at line 32 of file formulaopt.hxx.

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

◆ meOOXMLRecalc

ScRecalcOptions ScFormulaOptions::meOOXMLRecalc
private

Definition at line 31 of file formulaopt.hxx.

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


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