LibreOffice Module sw (master) 1
|
#include <memory>
#include <vector>
#include <i18nlangtag/lang.h>
#include <basic/sbxvar.hxx>
#include <unotools/syslocale.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/solar.h>
#include <tools/long.hxx>
#include <o3tl/safeint.hxx>
#include "swdllapi.h"
Go to the source code of this file.
Classes | |
class | SwSbxValue |
struct | SwHash |
struct | SwCalcExp |
class | SwHashTable< T > |
T should be a subclass of SwHash. More... | |
class | SwCalc |
Macros | |
#define | TBLSZ 47 |
Typedefs | |
typedef double(* | pfCalc) (double) |
Enumerations | |
enum | SwCalcOper { CALC_NAME , CALC_NUMBER , CALC_ENDCALC , CALC_PLUS ='+' , CALC_MINUS ='-' , CALC_MUL ='*' , CALC_DIV ='/' , CALC_PRINT =';' , CALC_ASSIGN ='=' , CALC_LP ='(' , CALC_RP =')' , CALC_PHD ='' , CALC_POW ='^' , CALC_NOT =256 , CALC_AND =257 , CALC_OR =258 , CALC_XOR =259 , CALC_EQ =260 , CALC_NEQ =261 , CALC_LEQ =262 , CALC_GEQ =263 , CALC_LES =264 , CALC_GRE =265 , CALC_SUM =266 , CALC_MEAN =267 , CALC_SQRT =268 , CALC_MIN =269 , CALC_MIN_IN =270 , CALC_MAX =271 , CALC_MAX_IN =272 , CALC_SIN =273 , CALC_COS =274 , CALC_TAN =275 , CALC_ASIN =276 , CALC_ACOS =278 , CALC_ATAN =279 , CALC_TDIF =280 , CALC_ROUND =281 , CALC_DATE =282 , CALC_MONTH =283 , CALC_DAY =284 , CALC_PRODUCT =285 , CALC_AVERAGE =286 , CALC_COUNT =287 , CALC_SIGN =288 , CALC_ABS =289 , CALC_INT =290 } |
enum class | SwCalcError { NONE =0 , NaN , Syntax , DivByZero , FaultyBrackets , OverflowInPower , Overflow } |
Functions | |
CalcOp * | FindOperator (const OUString &rSearch) |
Variables | |
const sal_Unicode | cListDelim = '|' |
const char | sCalc_Add [] |
const char | sCalc_Sub [] |
const char | sCalc_Mul [] |
const char | sCalc_Div [] |
const char | sCalc_Phd [] |
const char | sCalc_Sqrt [] |
const char | sCalc_Pow [] |
const char | sCalc_Or [] |
const char | sCalc_Xor [] |
const char | sCalc_And [] |
const char | sCalc_Not [] |
const char | sCalc_Eq [] |
const char | sCalc_Neq [] |
const char | sCalc_Leq [] |
const char | sCalc_Geq [] |
const char | sCalc_L [] |
const char | sCalc_G [] |
const char | sCalc_Sum [] |
const char | sCalc_Mean [] |
const char | sCalc_Average [] |
const char | sCalc_Product [] |
const char | sCalc_Count [] |
const char | sCalc_Min [] |
const char | sCalc_Max [] |
const char | sCalc_Sin [] |
const char | sCalc_Cos [] |
const char | sCalc_Tan [] |
const char | sCalc_Asin [] |
const char | sCalc_Acos [] |
const char | sCalc_Atan [] |
const char | sCalc_Round [] |
const char | sCalc_Date [] |
const char | sCalc_Sign [] |
const char | sCalc_Abs [] |
const char | sCalc_Int [] |
|
strong |
enum SwCalcOper |
CalcOp * FindOperator | ( | const OUString & | rSearch | ) |
Definition at line 185 of file calc.cxx.
References aOpTable, CALC_NAME, CalcOp::eOp, OperatorCompare(), CalcOp::pUName, and SAL_N_ELEMENTS.
Referenced by SwEditShell::Calculate(), and SwCalc::GetToken().
const sal_Unicode cListDelim = '|' |
Definition at line 42 of file calc.hxx.
Referenced by SwFEShell::GetAutoSum(), SwCalc::GetToken(), and SwTableFormula::MakeFormula_().
|
extern |
Definition at line 75 of file calc.cxx.
Referenced by SwFEShell::GetAutoSum().