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 20 of file formulaopt.hxx.

Constructor & Destructor Documentation

ScFormulaOptions::ScFormulaOptions ( )

Definition at line 26 of file formulaopt.cxx.

Member Function Documentation

ScCalcConfig& ScFormulaOptions::GetCalcConfig ( )
inline
const ScCalcConfig& ScFormulaOptions::GetCalcConfig ( ) const
inline

Definition at line 44 of file formulaopt.hxx.

void ScFormulaOptions::GetDefaultFormulaSeparators ( OUString &  rSepArg,
OUString &  rSepArrayCol,
OUString &  rSepArrayRow 
)
static
const OUString& ScFormulaOptions::GetFormulaSepArg ( ) const
inline
const OUString& ScFormulaOptions::GetFormulaSepArrayCol ( ) const
inline
const OUString& ScFormulaOptions::GetFormulaSepArrayRow ( ) const
inline
::formula::FormulaGrammar::Grammar ScFormulaOptions::GetFormulaSyntax ( ) const
inline
ScRecalcOptions ScFormulaOptions::GetODFRecalcOptions ( ) const
inline

Definition at line 66 of file formulaopt.hxx.

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

ScRecalcOptions ScFormulaOptions::GetOOXMLRecalcOptions ( ) const
inline

Definition at line 63 of file formulaopt.hxx.

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

bool ScFormulaOptions::GetUseEnglishFuncName ( ) const
inline
bool ScFormulaOptions::GetWriteCalcConfig ( ) const
inline

Definition at line 51 of file formulaopt.hxx.

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

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

Definition at line 122 of file formulaopt.cxx.

References utl::operator==().

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

Definition at line 45 of file formulaopt.cxx.

Referenced by ScDocShell::CheckConfigOptions().

void ScFormulaOptions::SetCalcConfig ( const ScCalcConfig rConfig)
inline
void ScFormulaOptions::SetDefaults ( )

Definition at line 31 of file formulaopt.cxx.

References formula::FormulaGrammar::GRAM_NATIVE, and RECALC_ASK.

void ScFormulaOptions::SetFormulaSepArg ( const OUString &  rSep)
inline
void ScFormulaOptions::SetFormulaSepArrayCol ( const OUString &  rSep)
inline
void ScFormulaOptions::SetFormulaSepArrayRow ( const OUString &  rSep)
inline
void ScFormulaOptions::SetFormulaSyntax ( ::formula::FormulaGrammar::Grammar  eGram)
inline
void ScFormulaOptions::SetODFRecalcOptions ( ScRecalcOptions  eOpt)
inline
void ScFormulaOptions::SetOOXMLRecalcOptions ( ScRecalcOptions  eOpt)
inline
void ScFormulaOptions::SetUseEnglishFuncName ( bool  bVal)
inline
void ScFormulaOptions::SetWriteCalcConfig ( bool  bVal)
inline

Definition at line 50 of file formulaopt.hxx.

Referenced by ScTpFormulaOptions::FillItemSet().

Member Data Documentation

ScCalcConfig ScFormulaOptions::aCalcConfig
private

Definition at line 25 of file formulaopt.hxx.

Referenced by operator==().

OUString ScFormulaOptions::aFormulaSepArg
private

Definition at line 28 of file formulaopt.hxx.

Referenced by operator==().

OUString ScFormulaOptions::aFormulaSepArrayCol
private

Definition at line 30 of file formulaopt.hxx.

Referenced by operator==().

OUString ScFormulaOptions::aFormulaSepArrayRow
private

Definition at line 29 of file formulaopt.hxx.

Referenced by operator==().

bool ScFormulaOptions::bUseEnglishFuncName
private

Definition at line 23 of file formulaopt.hxx.

Referenced by operator==().

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

Definition at line 24 of file formulaopt.hxx.

Referenced by operator==().

bool ScFormulaOptions::mbWriteCalcConfig
private

Definition at line 26 of file formulaopt.hxx.

Referenced by operator==().

ScRecalcOptions ScFormulaOptions::meODFRecalc
private

Definition at line 33 of file formulaopt.hxx.

Referenced by operator==().

ScRecalcOptions ScFormulaOptions::meOOXMLRecalc
private

Definition at line 32 of file formulaopt.hxx.

Referenced by operator==().


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