LibreOffice Module sc (master)  1
Macros | Functions
interpr2.cxx File Reference
#include <memory>
#include <interpre.hxx>
#include <comphelper/string.hxx>
#include <o3tl/float_int_conversion.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/objsh.hxx>
#include <svl/zforlist.hxx>
#include <sal/macros.h>
#include <osl/diagnose.h>
#include <sc.hrc>
#include <ddelink.hxx>
#include <scmatrix.hxx>
#include <formulacell.hxx>
#include <document.hxx>
#include <dociter.hxx>
#include <unitconv.hxx>
#include <hints.hxx>
#include <dpobject.hxx>
#include <tokenarray.hxx>
#include <globalnames.hxx>
#include <stlsheet.hxx>
#include <dpcache.hxx>
#include <com/sun/star/sheet/DataPilotFieldFilter.hpp>
#include <string.h>
Include dependency graph for interpr2.cxx:

Go to the source code of this file.

Macros

#define SCdEpsilon   1.0E-7
 
#define UTF8_TH_0   "\340\270\250\340\270\271\340\270\231\340\270\242\340\271\214"
 
#define UTF8_TH_1   "\340\270\253\340\270\231\340\270\266\340\271\210\340\270\207"
 
#define UTF8_TH_2   "\340\270\252\340\270\255\340\270\207"
 
#define UTF8_TH_3   "\340\270\252\340\270\262\340\270\241"
 
#define UTF8_TH_4   "\340\270\252\340\270\265\340\271\210"
 
#define UTF8_TH_5   "\340\270\253\340\271\211\340\270\262"
 
#define UTF8_TH_6   "\340\270\253\340\270\201"
 
#define UTF8_TH_7   "\340\271\200\340\270\210\340\271\207\340\270\224"
 
#define UTF8_TH_8   "\340\271\201\340\270\233\340\270\224"
 
#define UTF8_TH_9   "\340\271\200\340\270\201\340\271\211\340\270\262"
 
#define UTF8_TH_10   "\340\270\252\340\270\264\340\270\232"
 
#define UTF8_TH_11   "\340\271\200\340\270\255\340\271\207\340\270\224"
 
#define UTF8_TH_20   "\340\270\242\340\270\265\340\271\210"
 
#define UTF8_TH_1E2   "\340\270\243\340\271\211\340\270\255\340\270\242"
 
#define UTF8_TH_1E3   "\340\270\236\340\270\261\340\270\231"
 
#define UTF8_TH_1E4   "\340\270\253\340\270\241\340\270\267\340\271\210\340\270\231"
 
#define UTF8_TH_1E5   "\340\271\201\340\270\252\340\270\231"
 
#define UTF8_TH_1E6   "\340\270\245\340\271\211\340\270\262\340\270\231"
 
#define UTF8_TH_DOT0   "\340\270\226\340\271\211\340\270\247\340\270\231"
 
#define UTF8_TH_BAHT   "\340\270\232\340\270\262\340\270\227"
 
#define UTF8_TH_SATANG   "\340\270\252\340\270\225\340\270\262\340\270\207\340\270\204\340\271\214"
 
#define UTF8_TH_MINUS   "\340\270\245\340\270\232"
 

Functions

static ScDdeLinklcl_GetDdeLink (const sfx2::LinkManager *pLinkMgr, std::u16string_view rA, std::u16string_view rT, std::u16string_view rI, sal_uInt8 nM)
 
static bool lcl_GetArabicValue (sal_Unicode cChar, sal_uInt16 &rnValue, bool &rbIsDec)
 
static bool lclConvertMoney (const OUString &aSearchUnit, double &rfRate, int &rnDec)
 Resources at the website of the European Commission: http://ec.europa.eu/economy_finance/euro/adoption/conversion/ http://ec.europa.eu/economy_finance/euro/countries/. More...
 

Macro Definition Documentation

#define SCdEpsilon   1.0E-7

Definition at line 54 of file interpr2.cxx.

Referenced by ScInterpreter::RateIteration(), and ScInterpreter::ScIRR().

#define UTF8_TH_0   "\340\270\250\340\270\271\340\270\231\340\270\242\340\271\214"

Definition at line 3373 of file interpr2.cxx.

Referenced by ScInterpreter::ScBahtText().

#define UTF8_TH_1   "\340\270\253\340\270\231\340\270\266\340\271\210\340\270\207"

Definition at line 3374 of file interpr2.cxx.

#define UTF8_TH_10   "\340\270\252\340\270\264\340\270\232"

Definition at line 3383 of file interpr2.cxx.

#define UTF8_TH_11   "\340\271\200\340\270\255\340\271\207\340\270\224"

Definition at line 3384 of file interpr2.cxx.

#define UTF8_TH_1E2   "\340\270\243\340\271\211\340\270\255\340\270\242"

Definition at line 3386 of file interpr2.cxx.

#define UTF8_TH_1E3   "\340\270\236\340\270\261\340\270\231"

Definition at line 3387 of file interpr2.cxx.

#define UTF8_TH_1E4   "\340\270\253\340\270\241\340\270\267\340\271\210\340\270\231"

Definition at line 3388 of file interpr2.cxx.

#define UTF8_TH_1E5   "\340\271\201\340\270\252\340\270\231"

Definition at line 3389 of file interpr2.cxx.

#define UTF8_TH_1E6   "\340\270\245\340\271\211\340\270\262\340\270\231"

Definition at line 3390 of file interpr2.cxx.

Referenced by ScInterpreter::ScBahtText().

#define UTF8_TH_2   "\340\270\252\340\270\255\340\270\207"

Definition at line 3375 of file interpr2.cxx.

#define UTF8_TH_20   "\340\270\242\340\270\265\340\271\210"

Definition at line 3385 of file interpr2.cxx.

#define UTF8_TH_3   "\340\270\252\340\270\262\340\270\241"

Definition at line 3376 of file interpr2.cxx.

#define UTF8_TH_4   "\340\270\252\340\270\265\340\271\210"

Definition at line 3377 of file interpr2.cxx.

#define UTF8_TH_5   "\340\270\253\340\271\211\340\270\262"

Definition at line 3378 of file interpr2.cxx.

#define UTF8_TH_6   "\340\270\253\340\270\201"

Definition at line 3379 of file interpr2.cxx.

#define UTF8_TH_7   "\340\271\200\340\270\210\340\271\207\340\270\224"

Definition at line 3380 of file interpr2.cxx.

#define UTF8_TH_8   "\340\271\201\340\270\233\340\270\224"

Definition at line 3381 of file interpr2.cxx.

#define UTF8_TH_9   "\340\271\200\340\270\201\340\271\211\340\270\262"

Definition at line 3382 of file interpr2.cxx.

#define UTF8_TH_BAHT   "\340\270\232\340\270\262\340\270\227"

Definition at line 3392 of file interpr2.cxx.

Referenced by ScInterpreter::ScBahtText().

#define UTF8_TH_DOT0   "\340\270\226\340\271\211\340\270\247\340\270\231"

Definition at line 3391 of file interpr2.cxx.

Referenced by ScInterpreter::ScBahtText().

#define UTF8_TH_MINUS   "\340\270\245\340\270\232"

Definition at line 3394 of file interpr2.cxx.

Referenced by ScInterpreter::ScBahtText().

#define UTF8_TH_SATANG   "\340\270\252\340\270\225\340\270\262\340\270\207\340\270\204\340\271\214"

Definition at line 3393 of file interpr2.cxx.

Referenced by ScInterpreter::ScBahtText().

Function Documentation

static bool lcl_GetArabicValue ( sal_Unicode  cChar,
sal_uInt16 &  rnValue,
bool &  rbIsDec 
)
static

Definition at line 3112 of file interpr2.cxx.

Referenced by ScInterpreter::ScArabic().

static ScDdeLink* lcl_GetDdeLink ( const sfx2::LinkManager pLinkMgr,
std::u16string_view  rA,
std::u16string_view  rT,
std::u16string_view  rI,
sal_uInt8  nM 
)
static

Definition at line 2702 of file interpr2.cxx.

References sfx2::LinkManager::GetLinks(), i, nCount, and pLink.

Referenced by ScInterpreter::ScDde().

static bool lclConvertMoney ( const OUString &  aSearchUnit,
double &  rfRate,
int rnDec 
)
static

Resources at the website of the European Commission: http://ec.europa.eu/economy_finance/euro/adoption/conversion/ http://ec.europa.eu/economy_finance/euro/countries/.

Definition at line 3273 of file interpr2.cxx.

References i.

Referenced by ScInterpreter::ScEuroConvert().