|
LibreOffice Module sw (master) 1
|
#include <config_features.h>#include <config_fuzzers.h>#include <calc.hxx>#include <cfloat>#include <climits>#include <memory>#include <comphelper/processfactory.hxx>#include <comphelper/string.hxx>#include <cstdlib>#include <dbmgr.hxx>#include <docfld.hxx>#include <docstat.hxx>#include <doc.hxx>#include <IDocumentFieldsAccess.hxx>#include <IDocumentStatistics.hxx>#include <editeng/langitem.hxx>#include <expfld.hxx>#include <hintids.hxx>#include <o3tl/temporary.hxx>#include <osl/diagnose.h>#include <rtl/math.hxx>#include <shellres.hxx>#include <svl/numformat.hxx>#include <svl/languageoptions.hxx>#include <swmodule.hxx>#include <swtypes.hxx>#include <unotools/charclass.hxx>#include <unotools/localedatawrapper.hxx>#include <unotools/useroptions.hxx>#include <usrfld.hxx>#include <utility>#include <viewsh.hxx>#include <com/sun/star/i18n/KParseTokens.hpp>#include <com/sun/star/i18n/KParseType.hpp>Go to the source code of this file.
Classes | |
| struct | CalcOp |
Functions | |
| static int | OperatorCompare (const void *pFirst, const void *pSecond) |
| CalcOp * | FindOperator (const OUString &rSrch) |
| static double | lcl_ConvertToDateValue (SwDoc &rDoc, sal_Int32 nDate) |
Variables | |
| const char | sCalc_Add [] = "add" |
| const char | sCalc_Sub [] = "sub" |
| const char | sCalc_Mul [] = "mul" |
| const char | sCalc_Div [] = "div" |
| const char | sCalc_Phd [] = "phd" |
| const char | sCalc_Sqrt [] = "sqrt" |
| const char | sCalc_Pow [] = "pow" |
| const char | sCalc_Or [] = "or" |
| const char | sCalc_Xor [] = "xor" |
| const char | sCalc_And [] = "and" |
| const char | sCalc_Not [] = "not" |
| const char | sCalc_Eq [] = "eq" |
| const char | sCalc_Neq [] = "neq" |
| const char | sCalc_Leq [] = "leq" |
| const char | sCalc_Geq [] = "geq" |
| const char | sCalc_L [] = "l" |
| const char | sCalc_G [] = "g" |
| const char | sCalc_Sum [] = "sum" |
| const char | sCalc_Mean [] = "mean" |
| const char | sCalc_Min [] = "min" |
| const char | sCalc_Max [] = "max" |
| const char | sCalc_Sin [] = "sin" |
| const char | sCalc_Cos [] = "cos" |
| const char | sCalc_Tan [] = "tan" |
| const char | sCalc_Asin [] = "asin" |
| const char | sCalc_Acos [] = "acos" |
| const char | sCalc_Atan [] = "atan" |
| const char | sCalc_Round [] = "round" |
| const char | sCalc_Date [] = "date" |
| const char | sCalc_Product [] = "product" |
| const char | sCalc_Average [] = "average" |
| const char | sCalc_Count [] = "count" |
| const char | sCalc_Sign [] = "sign" |
| const char | sCalc_Abs [] = "abs" |
| const char | sCalc_Int [] = "int" |
| CalcOp const | aOpTable [] |
| double const | nRoundVal [] |
| const sal_Int32 | coStartFlags |
| const sal_Int32 | coContFlags |
| CalcOp * FindOperator | ( | const OUString & | rSrch | ) |
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().
|
static |
Definition at line 207 of file calc.cxx.
References SvNumberFormatter::GetNullDate(), and SwDoc::GetNumberFormatter().
Referenced by SwCalc::Term().
|
static |
Definition at line 160 of file calc.cxx.
References CALC_NAME, CalcOp::eOp, pName, CalcOp::pName, and CalcOp::pUName.
Referenced by FindOperator().
| CalcOp const aOpTable[] |
Definition at line 104 of file calc.cxx.
Referenced by FindOperator().
| const sal_Int32 coContFlags |
Definition at line 155 of file calc.cxx.
Referenced by SwCalc::GetToken(), and SwCalc::IsValidVarName().
| const sal_Int32 coStartFlags |
Definition at line 149 of file calc.cxx.
Referenced by SwCalc::GetToken(), and SwCalc::IsValidVarName().
| double const nRoundVal[] |
Definition at line 142 of file calc.cxx.
Referenced by SwCalc::Term().
| const char sCalc_Sum[] = "sum" |
Definition at line 75 of file calc.cxx.
Referenced by SwFEShell::GetAutoSum().