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 <o3tl/string_view.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/linkmgr.hxx>
#include <sfx2/objsh.hxx>
#include <svl/numformat.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 <stlpool.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 (std::u16string_view 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

◆ SCdEpsilon

#define SCdEpsilon   1.0E-7

Definition at line 57 of file interpr2.cxx.

◆ UTF8_TH_0

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

Definition at line 3370 of file interpr2.cxx.

◆ UTF8_TH_1

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

Definition at line 3371 of file interpr2.cxx.

◆ UTF8_TH_10

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

Definition at line 3380 of file interpr2.cxx.

◆ UTF8_TH_11

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

Definition at line 3381 of file interpr2.cxx.

◆ UTF8_TH_1E2

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

Definition at line 3383 of file interpr2.cxx.

◆ UTF8_TH_1E3

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

Definition at line 3384 of file interpr2.cxx.

◆ UTF8_TH_1E4

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

Definition at line 3385 of file interpr2.cxx.

◆ UTF8_TH_1E5

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

Definition at line 3386 of file interpr2.cxx.

◆ UTF8_TH_1E6

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

Definition at line 3387 of file interpr2.cxx.

◆ UTF8_TH_2

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

Definition at line 3372 of file interpr2.cxx.

◆ UTF8_TH_20

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

Definition at line 3382 of file interpr2.cxx.

◆ UTF8_TH_3

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

Definition at line 3373 of file interpr2.cxx.

◆ UTF8_TH_4

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

Definition at line 3374 of file interpr2.cxx.

◆ UTF8_TH_5

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

Definition at line 3375 of file interpr2.cxx.

◆ UTF8_TH_6

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

Definition at line 3376 of file interpr2.cxx.

◆ UTF8_TH_7

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

Definition at line 3377 of file interpr2.cxx.

◆ UTF8_TH_8

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

Definition at line 3378 of file interpr2.cxx.

◆ UTF8_TH_9

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

Definition at line 3379 of file interpr2.cxx.

◆ UTF8_TH_BAHT

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

Definition at line 3389 of file interpr2.cxx.

◆ UTF8_TH_DOT0

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

Definition at line 3388 of file interpr2.cxx.

◆ UTF8_TH_MINUS

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

Definition at line 3391 of file interpr2.cxx.

◆ UTF8_TH_SATANG

#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 3390 of file interpr2.cxx.

Function Documentation

◆ lcl_GetArabicValue()

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

Definition at line 3109 of file interpr2.cxx.

Referenced by ScInterpreter::ScArabic().

◆ lcl_GetDdeLink()

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 2703 of file interpr2.cxx.

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

Referenced by ScInterpreter::ScDde().

◆ lclConvertMoney()

static bool lclConvertMoney ( std::u16string_view  aSearchUnit,
double &  rfRate,
int rnDec 
)
static