LibreOffice Module sc (master)  1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ScCalcConfig Struct Reference

Configuration options for formula interpreter. More...

#include <calcconfig.hxx>

Public Types

enum  StringConversion {
typedef std::shared_ptr< o3tl::sorted_vector< OpCode > > OpCodeSet

Public Member Functions

 ScCalcConfig ()
void setOpenCLConfigToDefault ()
void reset ()
void MergeDocumentSpecific (const ScCalcConfig &r)
void SetStringRefSyntax (formula::FormulaGrammar::AddressConvention eConv)
bool operator== (const ScCalcConfig &r) const
bool operator!= (const ScCalcConfig &r) const

Static Public Member Functions

static bool isOpenCLEnabled ()
static bool isThreadingEnabled ()
static ForceCalculationType getForceCalculationType ()

Public Attributes

formula::FormulaGrammar::AddressConvention meStringRefAddressSyntax
StringConversion meStringConversion
bool mbEmptyStringAsZero: 1
bool mbHasStringRefSyntax: 1
bool mbOpenCLSubsetOnly: 1
bool mbOpenCLAutoSelect: 1
OUString maOpenCLDevice
sal_Int32 mnOpenCLMinimumFormulaGroupSize
OpCodeSet mpOpenCLSubsetOpCodes

Detailed Description

Configuration options for formula interpreter.

Definition at line 43 of file calcconfig.hxx.

Member Typedef Documentation

Definition at line 67 of file calcconfig.hxx.

Member Enumeration Documentation


=1+"1" or =1+"x" give VALUE!


=1+"1" or =1+"x" give 1


=1+"1" gives 2, but =1+"1.000" or =1+"x" give VALUE!


=1+"1.000" may be 2 or 1001 ... =1+"x" gives VALUE!

Definition at line 46 of file calcconfig.hxx.

Constructor & Destructor Documentation

ScCalcConfig::ScCalcConfig ( )

Definition at line 91 of file calcconfig.cxx.

References false, and setOpenCLConfigToDefault().

Referenced by reset().

Member Function Documentation

ForceCalculationType ScCalcConfig::getForceCalculationType ( )
bool ScCalcConfig::isOpenCLEnabled ( )
bool ScCalcConfig::isThreadingEnabled ( )
void ScCalcConfig::MergeDocumentSpecific ( const ScCalcConfig r)
bool ScCalcConfig::operator!= ( const ScCalcConfig r) const

Definition at line 182 of file calcconfig.cxx.

References operator==().

bool ScCalcConfig::operator== ( const ScCalcConfig r) const
void ScCalcConfig::reset ( )

Definition at line 148 of file calcconfig.cxx.

References ScCalcConfig().

Referenced by ScTpFormulaOptions::FillItemSet().

void ScCalcConfig::setOpenCLConfigToDefault ( )
void ScCalcConfig::SetStringRefSyntax ( formula::FormulaGrammar::AddressConvention  eConv)

Member Data Documentation

OUString ScCalcConfig::maOpenCLDevice
bool ScCalcConfig::mbEmptyStringAsZero
bool ScCalcConfig::mbHasStringRefSyntax
bool ScCalcConfig::mbOpenCLAutoSelect
bool ScCalcConfig::mbOpenCLSubsetOnly
StringConversion ScCalcConfig::meStringConversion
formula::FormulaGrammar::AddressConvention ScCalcConfig::meStringRefAddressSyntax
sal_Int32 ScCalcConfig::mnOpenCLMinimumFormulaGroupSize
OpCodeSet ScCalcConfig::mpOpenCLSubsetOpCodes

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